This repository contains automated tests for reqres.in API using RestAssured in Java, with TestNG for test management and validation using JsonPath, XMLPath, and GSON.
- Tools and Technologies
- Getting Started
- Project Structure
- Running the Tests
- Contributing
- Acknowledgments
- IntelliJ IDEA - Integrated Development Environment
- Java - Programming Language
- TestNG - Testing Framework
- RestAssured - Java library for API Automation
- JsonPath - JSON parsing and validation
- XMLPath - XML parsing and validation
- GSON - JSON parsing library
- Clone the repository to your local machine:
git clone https://github.com/yourusername/reqres-api-automation.git
-
Open the project in IntelliJ IDEA.
-
Install the necessary dependencies using Maven.
-
Run the tests using TestNG.
The project structure is organized as follows:
src/test/java
: Contains the test cases using TestNG.pom.xml
: Maven configuration file for managing project dependencies.
-
Open the project in IntelliJ IDEA.
-
Navigate to the
src/test/java
directory. -
Run the desired test cases using TestNG.
If you would like to contribute to this project, please follow the standard GitHub flow:
1.Fork the repository.
2.Create a new branch for your feature or fix.
3.Make your changes and submit a pull request.
Special thanks to the contributors of the libraries and tools used in this project.
Feel free to reach out if you have any questions or suggestions!