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.

how to create delete message responder in Virtualise using url parameters as coreleations

sidhu
sidhu Posts: 36

how to create delete message responder in Virtualise using url parameters as co-releation has response body and empty request

Answers

  • benken_parasoft
    benken_parasoft Posts: 1,282 ✭✭✭

    Create a Message Responder then click the "Responder Correlation" tab. Under "HTTP Methods" you can click a box to match on "DELETE". This will work for empty request body. If you need a different Message Responder that matches on "DELETE" (or any other verb) with a non-empty body then you can you can use the "Request Body" section for that as well.

  • williammccusker
    williammccusker Posts: 672 ✭✭✭

    Hi,

    Also the "Responder Correlation" tab is where you can find options for setting correlations based on URL query parameters.

  • sidhu
    sidhu Posts: 36

    Hi Benken how do i co-relate in message responder since it has empty request body and I have to use url parameters as co-relation to uniquely identify request

  • williammccusker
    williammccusker Posts: 672 ✭✭✭

    Hi,

    As mentioned, in the "Responder Correlation" tab there is a section called "URL Parameters" that can be used to input the parameter name, and value to correlate to.