This project was created as part of my learning journey from Pavan’s RestAssured tutorial series.
It demonstrates how to build a robust, modular API Automation Framework using Java, TestNG, and RestAssured, following professional QA best practices.
The goal was to understand end-to-end API automation — from test design and data-driven testing to execution and reporting.
| Category | Tools / Technologies |
|---|---|
| Language | Java 11+ |
| Test Framework | TestNG |
| API Library | RestAssured |
| Build Tool | Maven |
| Reporting | Allure Reports |
| Logging | Log4j |
| IDE | IntelliJ IDEA / Eclipse |
| Path / Folder | Description |
|---|---|
src/main/java/ |
Framework utilities, base classes, helper methods |
src/test/java/ |
API test classes and test logic |
testData/ |
Test data files (JSON, Excel, CSV, etc.) |
logs/ |
Log files generated during test execution |
reports/ |
Allure or HTML test reports |
test-output/ |
Default TestNG output directory |
pom.xml |
Maven configuration file with project dependencies |
testng.xml |
TestNG suite configuration file |
README.md |
Project documentation file |
🧠 Learning Outcomes
Through this project, I learned: Setting up an API testing framework from scratch. Building clean, reusable code structures. Managing API request/response validations. Using TestNG annotations and suites. Implementing Allure Reports for professional output. Integrating logs with Log4j for better debugging.