Submit and vote on feature ideas.

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.

XML Assertor in Virtualize

Hi , I am using xml assertor(incoming Request-->Payload-->Xml assertor) to validate incoming request parameters. but, when xml assertor returns false for a field or fails, the flow is proceeding ahead and sending response. Is this the expected behavior??

(I have used assertor before all the tools.) PFA

Comments

  • williammccusker
    williammccusker Posts: 642 ✭✭✭

    Hi rashmi,

    Yes I believe that the xml assertor does not stop the traffic flow. To help me understand it sounds like you have a case where you to send a respond only if the payload matches some assertions?

    Have you look at the "Responder Correlation" tab? This allows you to set up conditions for when a responder will match to a message. In your case you probably want to look at "Request Body" to see if you can use that instead of an xml assertor.

    Hope this helps!