This is a practice API testing with the help of demo DMoney API. I have generated some test scenarios with the help of Postman and a report using Newman.
- Admin creates an agent and random 2 customers
- Deposit some money from the SYSTEM account to the agent. System account (range 10tk to 10000tk)
- Agent deposit to any of 1 customer
- Check agent balance
- Then withdraw any amount by the customer from the agent (range 10tk to 10000tk)
- Then the customer checks the balance
- Then send money to the other customer
- Then from another customer payment to this merchant: 01686606905
- Then the second customer will check both the balance and statement
- Then the merchant will check his own balance
- Clone This project
- Then run the following command
npm i
npm run report.js
- Postman
- Newman