Hi, I am creating a VS, Its REST API post method, it has to generate a JSON Response.
I created VSM using RR pair, Now I need to send dynamic JSON response, the nodes in the JSON are dynamic.
I created the JSON using JSR groovy script, and assigned to a property using testExec.setStateObject("JSONRSP", NEWJSONFROMSCRIPT).
How can I pull the JSONRSP in the vsi response?
I selected the Response type as JSON in the VSI response and in text mode editor will giving {{{JSONRSP}}} it throws invalid property.
I am not able to generate dynamic JSON response. Is there a solution how to call the dynamic JSON?