https://github.com/bozito1716/reqres-api-testing-postman
This project tests REST API endpoints using Postman, validating user creation, login, update, and deletion. It ensures correct status codes, response formats, response time, and data consistency, checking both successful and unsuccessful scenarios with proper error handling and attribute validation.
https://github.com/bozito1716/reqres-api-testing-postman
javascript postman postman-environment postman-test postman-testing rest-api restapi
Last synced: 2 months ago
JSON representation
This project tests REST API endpoints using Postman, validating user creation, login, update, and deletion. It ensures correct status codes, response formats, response time, and data consistency, checking both successful and unsuccessful scenarios with proper error handling and attribute validation.
- Host: GitHub
- URL: https://github.com/bozito1716/reqres-api-testing-postman
- Owner: bozito1716
- Created: 2025-03-11T04:10:00.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2025-03-19T04:17:29.000Z (2 months ago)
- Last Synced: 2025-03-19T05:23:57.272Z (2 months ago)
- Topics: javascript, postman, postman-environment, postman-test, postman-testing, rest-api, restapi
- Homepage: https://reqres.in/
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# REST API Testing with Postman
This project is a collection of Postman tests designed to validate various REST API endpoints, including user creation, login, update, deletion, and more. The tests ensure the correctness of the API’s functionality, handling both successful and unsuccessful requests.
## Project Overview
The tests cover the following aspects of API endpoints:
- **Status codes**: Verifying that the correct HTTP status codes are returned.
- **Response formats**: Ensuring the response is in JSON format and matches the expected structure.
- **Response time**: Checking that the response time is within an acceptable range.
- **Data consistency**: Ensuring that the data returned matches the expected output.The project includes testing for various operations such as:
- **POST Create a User**: Creating a new user and verifying the response.
- **GET Single User**: Retrieving a single user by ID and checking the response.
- **PUT Update User**: Updating an existing user and validating the updated data.
- **DELETE User**: Deleting a user and confirming successful deletion.
- **POST Register User**: Verifying successful and unsuccessful registration scenarios.
- **POST Login**: Testing the login functionality with both valid and invalid credentials.
- **GET Delayed Response**: Ensuring the API handles delayed responses properly.## Installation
1. Clone this repository to your local machine:
```bash
git clone https://github.com/your-username/repository-name.git- **Contributing**
Feel free to open issues, fork the repository, and create pull requests. Contributions are welcome!- **License**
this project is open-source and available under the MIT License.