This professional-grade API Test Automation Framework is built to test the Swagger Petstore API, demonstrating industry-standard practices in REST API testing using REST Assured, TestNG, and robust reporting/logging integrations. The framework is modular, data-driven, and ready for CI/CD integration.
This framework follows a layered architecture that includes:
config.properties
file to store settings like
baseURL
, browser
, and credentials.
[TestNG Suite (testng.xml)] ↓ [Test Layer (Test Classes)] ↓ [Base Layer (BaseTest.java)] ↓ [Config Layer] ├── config.properties └── ConfigReader.java ↓ [Driver Manager] └── DriverManager.java ↓ [Page Object Layer] └── Page classes (LoginPage, HomePage, etc.) ↓ [Utilities Layer] ├── ExcelUtils ├── WaitUtils └── ScreenshotUtils ↓ [Reporting Layer] ├── ExtentReports └── Log4j ↓ [CI/CD Integration] ├── Jenkins └── GitHub Actions
When we run build in jenkins then jenkins at the end build status and
bulid report automatically sending to respective team member gmail.
In gmail content build details and downloadable extent report.
This framework is designed to automate the petstore swagger.io website api testing using RestAssured.
If you like my efforts please motivate & help me to hire me as Software Test Engineer
GitHub: Sagar-bankar
Thank you for taking the time to explore my automation framework
portfolio.
I hope it provides a clear insight into my skills, experience, and
approach to professional test automation.
Feel free to connect with me or share your feedback. Let's build better software together!