Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/prantika71/dmoney_api_testing

A practice project for API testing using the DMoney Transaction API. Comprehensive test cases were created in Postman to validate various API functionalities. Newman was used to execute these collections and generate detailed reports for efficient and automated testing.
https://github.com/prantika71/dmoney_api_testing

api-testing newman newman-reporter-htmlextra nodejs postman

Last synced: about 2 months ago
JSON representation

A practice project for API testing using the DMoney Transaction API. Comprehensive test cases were created in Postman to validate various API functionalities. Newman was used to execute these collections and generate detailed reports for efficient and automated testing.

Awesome Lists containing this project

README

        

# Dmoney - Transactional System
**Dmoney** is a practice initiative for API testing, utilizing the DMoney Transaction API as a demonstration platform. To validate various API functionality aspects, a comprehensive set of test cases was developed using Postman. Newman has been employed to execute the Postman collections and generate detailed reports to ensure efficient and automated reporting.

---

## 🚀 Test Scenarios

- Admin creates an Agent, 2 random Customers, and a Merchant.
- Admin email: [email protected] / Pass: 1234
- Deposit some money from the SYSTEM account to the Agent.
- System account: SYSTEM (range 10 TK to 10,000 TK)
- Agent deposits money to one of the Customers.
- Hint: fromAc: Agent, toAc: Customer
- Check the Agent's balance.
- Then, send money from one Customer to another Customer.
- Hint: fromAc: Customer, toAc: Customer
- Withdraw any amount from a Customer to the Agent (range 10 TK to 10,000 TK).
- Hint: fromAc: Customer, toAc: Agent
- Check the Customer's balance and transaction statement by trnxId.
- Make a payment from the second Customer to the Merchant.
- Hint: fromAc: Customer, toAc: Merchant
- The second Customer checks both balance and transaction statement.
- The Merchant checks his balance.

---

## 🛠️ Tools

- Postman
- Newman
- Nodejs

---

# Postman Documentation:
https://documenter.getpostman.com/view/35021614/2sAYBXDBjD

# Dmoney_API_TEST_CASE:
https://docs.google.com/spreadsheets/u/1/d/1exjz9p9Y_QhtDo_ywce04vdBxVqYsjnv/edit?usp=drive_web&ouid=105885749439177793646&rtpof=true

# Bug_Report:
https://docs.google.com/spreadsheets/d/15tgOiVe5UiL28fUhztIXCsrl6fL-uAFa/edit?gid=1814657299#gid=1814657299

# Newman Report:
![image](https://github.com/user-attachments/assets/daca9d38-df9f-4aaf-add7-4588d0a378fa)
![image](https://github.com/user-attachments/assets/bbd4fb83-aa79-4d19-84a4-2c215140cfd8)