/Dmoney-API-Testing

This repository is present the practise work of API testing with POSTMAN tools. Also using NEWMAN to create the reports.

Primary LanguageHTML

DMoney API Testing

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.

Test Case Scenarios Covered

  1. Admin creates an agent and random 2 customers
  2. Deposit some money from the SYSTEM account to the agent. System account (range 10tk to 10000tk)
  3. Agent deposit to any of 1 customer
  4. Check agent balance
  5. Then withdraw any amount by the customer from the agent (range 10tk to 10000tk)
  6. Then the customer checks the balance
  7. Then send money to the other customer
  8. Then from another customer payment to this merchant: 01686606905
  9. Then the second customer will check both the balance and statement
  10. Then the merchant will check his own balance

How to run this project

  • Clone This project
  • Then run the following command
  npm i
  npm run report.js

Tools Used

  • Postman
  • Newman

Dmoney API Testing Test Case:

https://docs.google.com/spreadsheets/d/1TlqU_8-HCT_h76P69iPLE_aJhjsKX7g9/edit?usp=sharing&ouid=105413695096846736430&rtpof=true&sd=true

Bug And Improvement Report:

https://docs.google.com/spreadsheets/d/1GpIxce69jw1vQdlDSwo0Bdi1SlfEMjH0/edit?usp=sharing&ouid=105413695096846736430&rtpof=true&sd=true

Postman documentation:

https://documenter.getpostman.com/view/23351657/2s8ZDbX1VA

Screenshot of Newman Report

Newman Report