Virtualize: Multiple Responder stub: Configure failover

dgoedhdgoedh Posts: 36

Hi,

Currently I am involved in creating a static stub using Multiple Responders in Parasoft Virtualize.
I wonder how I can configure a failover mechanism for sending a dedicated response message when the correlation settings do not match (e.g. a 404 fault). It is just like sending the default message in SOAPUI, when search criteria are not met.

Thanks a lot and stay safe.

Regards,

Daniel

Comments

  • williammccuskerwilliammccusker Posts: 445 ✭✭✭

    Hi,

    You can accomplish this by having what we often call a "catch all" responder at the end of your pva. The way correlation and matching works is that responders are checked in order. If none match they will go all the way to the end. If the last responder has no correlations configure it will always match and return a response.

    I attached a simple example.

    Another comment that mentions catch all
    https://forums.parasoft.com/discussion/comment/12809#Comment_12809

    Hope this helps!

  • dgoedhdgoedh Posts: 36

    Thanks a lot William. I will try that configuration. Regards, Daniel

Sign In or Register to comment.