Skip to content

This project is focused on testing and automating the RESTful API endpoints of the Daily Finance web application. The automation is implemented using Rest Assured in Java, following the Page Object Model (POM) architecture.

Notifications You must be signed in to change notification settings

faisalkabir1/API-Automation-by-REST-Assured-TestNg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API-Automation-by-REST-Assured-TestNg

📌 Project Overview

This project is focused on testing and automating the RESTful API endpoints of the Daily Finance web application.

The automation is implemented using Rest Assured in Java, following the Page Object Model (POM) architecture. This ensures separation of concerns and enhances maintainability and scalability of the test framework.


✅ Features Covered in Postman Collection

Using browser Developer Tools → Network tab, the following API interactions were captured and added to the Postman collection: Link here

  1. User Registration
  2. Admin Login
  3. Fetch User List
  4. Search User by ID
  5. Edit User Info (e.g., first name, phone number)
  6. User Login
  7. Fetch Item List
  8. Add Item
  9. Edit Item Name
  10. Delete Item

🧪 Test Reports

All tests are integrated with Allure Reporting.

📸 Allure Report Screenshot: image image


🔗 Important Links


The captured APIs were automated using Rest Assured in Java. The project includes:

  • Positive and negative test cases for each API endpoint
  • Request/response validation
  • Status code and payload assertions
  • Data-driven approach where applicable
  • Utility methods and reusable components

🛠 Technologies Used

  • Java
  • Rest Assured
  • TestNG / JUnit
  • Maven
  • Allure Reports
  • Postman
  • Git & GitHub

▶️ How to Run This Project

🛠 Requirements

  • Java 8+
  • Gradle
  • Git
  • Allure CLI
  • Internet access

🧪 Steps to Run

# 1. Clone the repository
git clone https://github.com/your-username/daily-finance-api-automation.git
cd daily-finance-api-automation

# 2. Build the project and run tests with specific suite
gradle clean test -PsuiteName="suite.xml"

# 3. Generate Allure report
allure generate allure-results --clean -o allure-report

# 4. Serve Allure report in browser
allure serve allure-results

👨‍💻 Author

Faisal Kabir

About

This project is focused on testing and automating the RESTful API endpoints of the Daily Finance web application. The automation is implemented using Rest Assured in Java, following the Page Object Model (POM) architecture.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages