https://github.com/nafizkamal11/APIAutomation-using-RestAssured-Postman-on-DailyFinance
This project demonstrates API automation testing for the Daily Finance web application. The project includes creating a Postman collection for core features, automating the collection using Rest Assured, and following the best practices of POM (Page Object Model) architecture.
https://github.com/nafizkamal11/APIAutomation-using-RestAssured-Postman-on-DailyFinance
Last synced: about 1 month ago
JSON representation
This project demonstrates API automation testing for the Daily Finance web application. The project includes creating a Postman collection for core features, automating the collection using Rest Assured, and following the best practices of POM (Page Object Model) architecture.
- Host: GitHub
- URL: https://github.com/nafizkamal11/APIAutomation-using-RestAssured-Postman-on-DailyFinance
- Owner: nafizkamal11
- Created: 2025-01-17T17:36:00.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-01-17T17:56:42.000Z (4 months ago)
- Last Synced: 2025-04-05T12:11:58.425Z (about 1 month ago)
- Language: Java
- Homepage:
- Size: 72.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# API Automation (Rest Assured)- Daily Finance
## Project Description
This project demonstrates API automation testing for the **Daily Finance** web application. The project includes creating a Postman collection for core features, automating the collection using **Rest Assured**, and following the best practices of POM (Page Object Model) architecture.
## Features Tested
The following features were tested and automated:
1. **User Management**:
- Register a new user
- Login as admin
- Get the user list
- Search for a user by user ID
- Edit user information (e.g., first name, phone number)
- Login as a regular user
2. **Item Management**:
- Get the item list
- Add a new item
- Edit an item name
- Delete an item from the item list## Prerequisites
- **Java 11 or higher**
- **Gradle** (build tool)
- **Postman** (for initial API collection creation)
- **Allure CLI** (for generating detailed test reports)## Setup Instructions
1. Clone the repository:
```bash
git clone https://github.com/zfnkml/APIAutomation-DailyFinance-Postman-RestAssured.git
```
2. **Navigate to the Project Directory**:
```bash
cd APIAutomation-DailyFinance-Postman-RestAssured
```
3. **Build the Project**:
```bash
gradle build
```
4. **Run the Automated Tests**:
```bash
gradle test
```
5. **Generate Allure Report**:
```bash
allure serve build/allure-results
```
6. Import the Postman collection to Postman:## Postman Collection
The Postman collection used for testing can be accessed here:
- [Postman Collection Documentation](https://documenter.getpostman.com/view/17817250/2sAYQZJYRY)
## Test Cases
Detailed test cases are documented in the following link:
- [Test Case Documentation](https://docs.google.com/spreadsheets/d/1xpN2TTMZc2MjYNM9h_v80sKn7TegN6Bl/edit?usp=sharing&ouid=107301444027344847556&rtpof=true&sd=true)
## Allure Report
Below is a screenshot of the Allure report generated during test execution:


## Acknowledgments
- Special thanks to the creators of Rest Assured and Allure for their excellent tools.
- Inspired by the Daily Finance API testing requirements.