This repository contains a Postman collection created for practicing API testing using the Simple Grocery Store API, as introduced in a Udemy course. The collection includes a set of automated tests designed to validate various API endpoints related to products, carts, and orders.
The Postman collection includes:
- JavaScript-based test scripts
- Assertions for verifying response status codes, payloads, and headers
- Functional tests for key endpoints
- Negative test cases to validate error handling
- Reusable variables and structured test organization
This project is created as part of hands-on practice from a Udemy course, focused on strengthening API testing skills.
It aims to provide:
- A clear and organized test suite
- Practical examples of writing Postman tests
- A foundation for understanding real-world API testing workflows
- Simple_Grocery_Store_API_Tests.json โ Postman collection containing all test requests and scripts
- Postman
- Internet access (API hosted online)
- Download or clone this repository
- Import the JSON file into Postman
- Set any required environment variables (if used)
- Run the test suite using Postmanโs Collection Runner or Newman