This project is a Test Automation Framework built using Java + Rest Assured + TestNG + Allure Reporting.
It validates REST APIs with proper status code checks, JSON schema validation, and data verification.
The framework is designed to be:
- Modular (separation of
steps,utils,tests) - Readable (custom logger + Allure reporting)
- Maintainable (easy to extend with new APIs)
- Java 11+
- Maven
- Rest Assured
- TestNG
- Allure Reports
- SLF4J Logging
- JSON Simple
Click above to see detailed Allure test reports with interactive charts and test analysis
src/test/java/com/arunreddy/restassured/
│
├── tests/ # Test classes (organized by feature)
├── steps/ # API steps (request building & sending)
├── utils/ # Utilities (validators, loggers, payloads, tokens)
└── resources/ # JSON schemas, test data- Clone the repo
git clone https://github.com/arunramasayam/restassured-api-automation.git
cd restassured-api-automation- Install dependencies
mvn clean install- Run Tests
mvn test- Run Only REST API Tests
mvn test -DsuiteXmlFile=testng-rest.xml- Run only SOAP API Tests
mvn test -DsuiteXmlFile=testng-soap.xml- Generate Allure report after test execution:
mvn allure:serve- Or save report in /target/site/allure-maven-plugin using:
mvn allure:report- Setup → Generate auth token, build request payload
- Execution → Send API request (POST/GET/DELETE etc.)
- Validation →
- Validate status code
- Validate JSON schema
- Validate response body data
- Teardown → Delete test data (if required)
Arun Ramasayam
QA Automation Engineer | Rest Assured | TestNG | Java