We are creating a JSON request by reading the values from an excel file. Now we want to check the request message created in CA Devtest. So is there a way to check the request message created.
Thanks and Regards
String REQ = lisa_vse_request.getBodyText();testExec.setStateValue("REQ",REQ);
The above lines of code will give you Request coming to VSM in a property "REQ".
You can easily do this by scriptable data protocol once you are in VSM .Add scriptable data protocol at listen step and write above code to extract incoming request . It will be stored in property as stated above in "REQ"
Also, the request body is available in a property "lisa.vse.http.current.transaction.body". You can see this property in VS-->Inspection view in Portal or in Properties tab when you run VSM in ITR in the Workstation.
Retrieving data ...