Skip to content

Repository files navigation

🧪 RestAssured API Testing Framework

Java
TestNG
Maven
RestAssured
Allure Reports


📖 Overview

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.


🧰 Tech Stack

Category Tools / Technologies
Language Java 11+
Test Framework TestNG
API Library RestAssured
Build Tool Maven
Reporting Allure Reports
Logging Log4j
IDE IntelliJ IDEA / Eclipse

🧩 Project Structure

📁 Project Structure

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.

About

API testing framework using RestAssured, TestNG, and Java, with modular structure for endpoint validation, logging, and reporting.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages