This project is a mini API automation framework developed using Java, Rest Assured, Maven, and TestNG.
The project demonstrates automated testing of REST APIs using the main HTTP methods:
- GET
- POST
- PUT
- PATCH
- DELETE
- Java
- Rest Assured
- TestNG
- Maven
- Git & GitHub
- IntelliJ IDEA
| HTTP Method | Test Scenario | Purpose |
|---|---|---|
| GET | Get User | Retrieve user details |
| POST | Create User | Create a new user |
| PUT | Update User | Perform a complete update |
| PATCH | Update User Partially | Update selected fields |
| DELETE | Delete User | Delete an existing user |
The tests validate:
- HTTP status codes
- Response body fields
- API responses
- Request payloads
- Successful CRUD operations
RestAssured-API-Automation-MiniProject
β
βββ src
β βββ main
β β βββ java
β β
β βββ test
β βββ java
β βββ tests
β βββ UserTest.java
β
βββ pom.xml
βββ .gitignore