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

  • 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!

Sign In or Register to comment.