Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/touhid-96/api-automation-testing-of-dmoney-rest-api-newman
This repository contains API testing for the Dmoney APIs. The testing includes comprehensive test cases and assertions to ensure the APIs are functioning as expected. A Newman report has been generated for the API test results, and a bug report has been created to document any issues found during testing.
https://github.com/touhid-96/api-automation-testing-of-dmoney-rest-api-newman
api-testing bugreport newman postman
Last synced: 17 days ago
JSON representation
This repository contains API testing for the Dmoney APIs. The testing includes comprehensive test cases and assertions to ensure the APIs are functioning as expected. A Newman report has been generated for the API test results, and a bug report has been created to document any issues found during testing.
- Host: GitHub
- URL: https://github.com/touhid-96/api-automation-testing-of-dmoney-rest-api-newman
- Owner: touhid-96
- Created: 2024-03-31T10:01:40.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-04-13T17:07:32.000Z (10 months ago)
- Last Synced: 2024-11-10T18:49:26.085Z (3 months ago)
- Topics: api-testing, bugreport, newman, postman
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# API-Automation-Testing-of-DMoney-API
## Technology and Tool Used
- Postman
- Newman## Scenario
1. Admin creates an agent and random 2 customers. Admin email: [email protected]/ Pass: 1234
2. Deposit some money from SYSTEM account to the agent. System account: SYSTEM (range 10 tk to 10000 tk)
3. Agent deposit to any of 1 customer
4. Check agent balance
5. Then withdraw any amount by the customer from the agent (range 10 tk to 10000 tk)
6. Then the customer checks balance
7. Then send money to the other customer
8. Then from the another customer payment to this merchant: 01712121212
9. Then the second customer will check both balance and statement
10. Then the merchant will check his own balance## How to run this project
- clone this project
- hit the following command:
1. `npm init -y`
2. `npm i newman`
3. `npm i newman-reporter-htmlextra`
4. `npm i`
5. `npm test`## Prerequisite
- Node.js must be installed## API Documentation
https://documenter.getpostman.com/view/32159205/2sA35G52qV## Test Case
https://docs.google.com/spreadsheets/d/1Ur-Xil7NBmVHBf1PiQE9weY8ShV_R0-NBo7UuwXAQGI/edit?usp=drive_link## Issue report
https://docs.google.com/spreadsheets/d/1cIrecIi7kHHbld4l9WrvSLbQB_MHNwP5-5h3sXNiQrE/edit?usp=drive_link## Output
![newman_report](https://github.com/touhid-96/API-Automation-Testing-of-DMoney-API/assets/29010371/0ba694cf-d8bb-4952-bdc0-f0fdc57e24f0)