This project demonstrates API testing using Rest Assured with Java. It includes automated test scripts to validate REST APIs and showcases best practices for structuring and running API tests.
- API testing using Rest Assured
- Test framework integration (JUnit/TestNG)
- Easy-to-read and maintainable code structure
- Example test cases for CRUD operations
- Serialization & Deserialization examples for handling JSON and POJOs
- Usage of RequestSpecification and ResponseSpecification for reusable request setups
- Java (JDK 8+)
- Rest Assured
- Maven for dependency management
- TestNG (or JUnit, depending on setup)
- IDE: IntelliJ IDEA / Eclipse
-
Clone the repository
git clone https://github.com/sharisroy/Rest_Assured.git cd Rest_Assured
-
Install dependencies
mvn clean install
-
Run tests
mvn test
Contributions are welcome! Feel free to fork the repo and submit a pull request.
This project is licensed under the MIT License.
Author: Haris Chandra Roy