Instructions
Use the following API endpoint for practice:
Endpoint: http://www.sqamanual.com/api/PracticeApi
Follow the sequence below to interact logically using different HTTP protocols:
- GET all entities – Verify the status code and response.
- POST an entity.
- Use GET {id} to check if the newly added item is available.
- PUT to modify a record.
- Use GET {id} again to confirm the modification.
- DELETE an item.
- Use GET {id} to verify the deletion.
Advanced Challenges
- Try deleting records until the total drops below 10. Check the status code and error messages.
- Attempt to add more than 30 records. Validate the status code and error messages.
- POST the same record multiple times.
- DELETE the same record multiple times.
Keep a close watch on the status code and error messages. Try these challenges using tools like Bruno, or automate them with RestSharp and RestAssured frameworks.
Refer to Swagger for additional details. If you encounter any issues, reach out via the Contact Us page.