Session-5 Tosca API Testing
Session-5 Tosca API Testing
Test Site’s:
https://reqres.in/
https://petstore.swagger.io/
Mainly used Request Operation’s:
HTTP Status Codes in the REST API
200 OK. The 200 OK status code indicates the request succeeded. ...
303 See Other. The 303 See Other status code indicates that you are being
redirected to another resource via the "Location" response header. ...
400 Bad request.
404 Resource not found.
500 Internal server error.
Execution:
1. Select any option URI/ File/ Through creating the Folder manually & create
message for the Request.
2. Now click on Run for the Each Request & Verify the Status codes.
3. Post that imports to the Test Cases
4. Now Create action modes for the status code’s & Add buffer to the ID.
5. Create Execution folder & execute all the operations at a time.