how to configure json response in Virtulaise for x-www-form-urlencoded request from SOAtest
Hi i have x-www-form-urlencoded request setup in parasoft soatest , wanted to understand how to develop json response in parasoft virtualise since expected response type for the request is json.This will be a unique integration as request and response types are different in the same call. The request is ‘x-www-form-urlencoded’ format , whereas the response is ‘json’ format.
Comments
-
In Virtualize, you would configure a JSON message responder which enables you to configure the JSON response message on the "Response" tab. On the "Responder Correlation" tab, you won't be able to correlate on the "Request Body" since the incoming request can't be parsed as JSON. Instead, you could correlate using the "URL Path" and "HTTP Methods" options instead. On the responder's "Options" tab under "Request Handling", you'll also probably want to un-select "Convert incoming request to XML before applying responder correlation"
0 -
Thanks Benken for the help it worked
0