- Admin creates an agent and random 2 customers
- Deposit some money from SYSTEM account to the agent
- Agent deposit to any of 1 customer
- The customer checks balance
- Then withdraw any amount from the agent
- And send money to the other customer
- Then the customer will check statement
- For each transaction, assert expected balance
-
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
- 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
- Postman
- Newman
- Google sheet link - https://docs.google.com/spreadsheets/d/1dtrxukVS4UYx_oB2X2h_5MA4gupsdP0OuGUDpjMPcnk/edit?fbclid=IwAR2-50R-0kCOtOWx1ES3ol9evxN7W4n2x2WcxWTojX8DvMnsj2nNvlR5OZI#gid=1948463617