Thank you Vaibhav.
There was an issue with the swagger file.
I have imported it and virtualized the service. But now i get a new error. The file has only post method in it.
When I test the service using postman, it gives the two different responses.
My scenario is
I'm using the url in the format
http://localhost:8000/rest/example.When I hit the service using postman with post method, irrespective of the input given, for the first hit it gives 404 not found response and the next hit, it gives the 200 ok response which is
My expected output is : I should get my response as 200 only when I pass the raw recorded request in the body in postman. Else, it should give 404.
Note: I have checked don't use matching script in the transactions tab
Original Message:
Sent: 07-01-2020 12:18 PM
From: Vaibhav Jain
Subject: Swagger import error
Hi Vamsi,
Are you able to get the list of operations from the swagger in workstation? If not, then some issue with the .json file.
Refer to below screenshot
------------------------------
Regards,
Vaibhav Jain
Capgemini
Original Message:
Sent: 06-30-2020 03:37 PM
From: Vamsi Mudireddy
Subject: Swagger import error
Hi
I get the below error while trying to import Swagger 2.0 file, to create aservice image.