Skip to content

MirzaAyon/dmoney-restAPI-testing-and-report-with-postman-and-newman

Repository files navigation

Testcase scenarios

  1. Admin creates an agent and random 2 customers
  2. Deposit some money from SYSTEM account to the agent
  3. Agent deposit to any of 1 customer
  4. The customer checks balance
  5. Then withdraw any amount from the agent
  6. And send money to the other customer
  7. Then the customer will check statement
  8. For each transaction, assert expected balance

How to run this project

1st system with dmoney API collection link

  • open cmd on your system

  • Newman Install command - npm install -g newman

  • HTML extra install command - npm install -g newman-reporter-html

  • Run command - newman run https://api.postman.com/collections/21363025-8c83f80e-c26f-4750-b82a-8ce0cb5fd59e?access_key=PMAT-01GQQPF4S2N721X7JYR0A63V7H&fbclid=IwAR3nVgzONwmTn5Esj_1brhCh4NQKgD4bg9LGd1hyo4mCQdH_J3JRWIGIkbk

  • Run command for report - newman run https://api.postman.com/collections/21363025-8c83f80e-c26f-4750-b82a-8ce0cb5fd59e?access_key=PMAT-01GQQPF4S2N721X7JYR0A63V7H&fbclid=IwAR3nVgzONwmTn5Esj_1brhCh4NQKgD4bg9LGd1hyo4mCQdH_J3JRWIGIkbk -r cli,htmlextra

2nd system with dmoney API json file

  • open cmd on your system
  • Newman Install command - npm install -g newman
  • HTML extra install command - npm install -g newman-reporter-html
  • Run command - newman run Dmoney-Transaction-API-Validation.postman_collection.json

Technology used:

  • Postman
  • Newman

Dmoney API collection accordingly testcases

Test Cases on dmoney restAPI:

testcase

Documentation:

documentation

Newman report screenshot:

updated report

updated report2

Issue report on dmoney restAPI

issue report

Releases

No releases published

Packages

No packages published