Xml json request type in Virtualize
Hi i am new to Virtualise , how to handle request type as either xml or json using one message responder in Parasoft Virtualise . what should i set so that message responder can recognise request type as xml or json both kind of request types in single responder
Comments
-
Hi,
Normally different responders are used for the different message types. It would help to understand your use case a bit more. Is the responder always the same? For example if the request is xml or json would the response always be json?0 -
Hi the responder has to send json response if request type is json or xml response if request type is xml , was trying to find out if its possible to have both request type in one responder in parasost Virtualize
0 -
Hi,
You should use two different responders. You have to configure the response you want, in the format you want per responder. There is no response type that can be serialized to either json or xml.0