Project Link
API Tests
Project Description
The Urban Grocers project was dedicated to thoroughly evaluating the API functionalities of the Urban Grocers backend. This project involved several stages, including analyzing the API's apiDoc and Swagger documentation, creating a detailed checklist based on the application's requirements and API documentation, preparing and executing tests using Postman, and reporting any identified issues through Jira.
.png)
Testing Process
- Analyze the apiDoc and Swagger of Urban Grocers API
- Familiarize with all API endpoints.
- Understand the parameters, data types, and return values.
- Note the HTTP methods (GET, POST, PUT, DELETE, etc.).
- Identify inconsistencies or errors in the documentation.
- Writing a checklist Based on Urban Grocers’ Requirements and API Documentation
- Verify each API endpoint works as described.
- Test with valid and invalid data inputs.
- Check appropriate status codes are returned.
- Validate error handling.
- Assess API's performance, response time, and security.
- Prepare and Execute Tests Through Postman
- Set up a Postman environment with the necessary variables.
- Import the Swagger file to Postman for a ready set of tests.
- Execute tests for each endpoint with various scenarios.
- Use assertions to validate response structure, status codes, and response times.
- Save the tests for regression and automation purposes.
- Writing a Bug Report in Jira
- Write a concise, descriptive title.
- Provide a detailed description, reproduction steps, and expected versus actual outcomes.
- Attach relevant evidence like screenshots, logs, or error messages.
- Label the bug, assign it to the right team, and indicate its severity.
A Server Link and access to the Jira Bug Report can be provided upon request.