This project is a scalable API Automation Framework developed using Java, Rest Assured, TestNG, Maven, Apache POI, Extent Reports, and Log4j2. The framework supports CRUD operations, data-driven testing, reporting, logging, and API validation.
- Java 21
- Rest Assured
- TestNG
- Maven
- Apache POI
- Log4j2
- Extent Reports
- Jackson Databind
- JSON
- REST API CRUD Operations
- Data Driven Testing using Excel
- TestNG Data Providers
- Extent HTML Reporting
- Log4j2 Logging
- Properties File Configuration
- POJO Based Request Payloads
- API Response Validation
- Maven Build Support
- TestNG Suite Execution
src/test/java
├── api_Endpoints │ ├── Routes.java │ ├── UserEndPoints.java │ ├── api_payload │ ├── User.java │ ├── api_test │ ├── UserTests.java │ ├── DataDrivenTests.java │ ├── api_utilities │ ├── ExcelUtility.java │ ├── DataProviders.java │ ├── ExtentReportManager.java │ ├── ExtentListener.java │ └── Log.java
src/test/resources
├── log4j2.xml ├── routes.properties
testData
└── Rest_API_Data.xlsx
- Create User
- Get User
- Update User
- Delete User
- Read test data from Excel
- Execute tests using TestNG DataProvider
- Extent HTML Report Generation
- Test Execution Summary
- Console Logging
- File Logging using Log4j2
Run all tests:
mvn clean test
Run TestNG Suite:
testng.xml
Extent Reports are generated under:
Reports/
Execution logs are generated under:
logs/
Abdul Azeez Shaik
QA Automation Engineer
Java | Selenium | Rest Assured | TestNG | Maven