Here, we will start exploring how to test an API using the Swagger UI.
The tests we can run are:
- Happy Path Testing, checking the Positive Scenarios
- Negative Testing, reviewing the Invalid Inputs & Error Handling
- Boundary & Edge Case Testing, checking how the API handles the extreme limits of allowed input ranges
- Authentication & Authorization Testing
- Contract and schema validation
Because this is a Swagger UI doc, we can perform manual testing using only the "Try it out" feature in Swagger UI. No external tools needed! Live HTTP requests can be executed directly from your browser.