This project demonstrates API testing using Postman for an Ecommerce application.
The project covers:
- Authentication handling
- Bearer token usage
- Dynamic token extraction
- API validation
- Environment variables
- GET and POST requests
- Postman
- REST API
- JSON
- Bearer Token Authentication
POST /auth/login
Features:
- User authentication
- Token extraction from response
- Environment variable storage
GET /auth/me
Features:
- Bearer token authorization
- User profile validation
GET /products
Features:
- Product retrieval
- Dynamic product ID extraction
- Response validation
- Status code validation
- Token validation
- Response body validation
- Dynamic data extraction
- Import Collection JSON
- Import Environment JSON
- Select environment
- Run APIs sequentially
Mithilesh Gupta