I have created a virtual service using Swagger 2.0 and deployed it. I want to test the service. Can someone help me how to do that?
You can see the request body in VSI Transaction-->Request Data-->Attributes tab. The key--> recorded_raw_request will provide the request payload.
Documentation on Transactions Tab is available at Transactions Tab for Stateless Transactions - DevTest Solutions - 10.3 - CA Technologies Documentation
Create a test case in DevTest Workstation with a REST step and configure the URL Info as below:
. Method: GET/POST/DELETE/... call
. Protocol: http or https based on how your VS is deployed.
. Hostname: VSE host
. Port: Port the VS is deployed running. VSM-->Listen step should provide this information.
. Basepath: VSAM--Listen step-->Basepath should provide this information.
For few methods, you will have the request payload and this need to be configured in Content Tab. Copy the VSI Transaction-->Request Data-->Attributes tab-->key--> recorded_raw_request and paste it in Content tab.
Please refer the REST step documentation at REST Step - DevTest Solutions - 10.3 - CA Technologies Documentation
Thank you so much Prema Gadde..!
It worked for me
Retrieving data ...