Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Virtualize: Multiple Responder stub: Configure failover

dgoedh
dgoedh Posts: 63

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

  • williammccusker
    williammccusker Posts: 672 ✭✭✭

    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!

  • dgoedh
    dgoedh Posts: 63

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