Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/himu143/api-automation-on-dmoney-by-axios
https://github.com/himu143/api-automation-on-dmoney-by-axios
axios javascript javascript-library mocha-chai mocha-reporter testcases visual-studio-code
Last synced: 15 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/himu143/api-automation-on-dmoney-by-axios
- Owner: Himu143
- Created: 2023-04-04T06:34:29.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-04T10:35:26.000Z (almost 2 years ago)
- Last Synced: 2024-11-13T02:35:06.891Z (3 months ago)
- Topics: axios, javascript, javascript-library, mocha-chai, mocha-reporter, testcases, visual-studio-code
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# API-Automation-On-Dmoney-By-Axios
## Project scenario:
1. Call login API
2. Create a new customer and an agent
3. Search by the customer phone number
4. Deposit 5000 tk to the Agent from system
5. Deposit 2000 tk by agent to customer
6. Check balance of customer
7. Check statement by trnxId
8. Withdraw 1000 tk by customer and assert expected balance
9. Send 500 tk to another customer and assert expected balance
10. Check customer statement
## Technology and Tools used:
- Java Script
- Visual Studio Code
- Mochawesome
- Axios
- JS Faker Library## How to run this project:
- Clone this project
- Open with VS code
- Hit the following command:
- npx mocha --timeout=30000 .\test\*.test.js
- For generate Mochawesome Report :
- npm test file .\test\*.test.js
## Test Cases:
- https://docs.google.com/spreadsheets/d/1z_YRpaBWZZ0RfGorGzfLSb2ToxBJe3mEZ47jQ7PEjgA/edit?usp=sharing## Mochawesome Report:
![image](https://user-images.githubusercontent.com/78273243/229709919-0bffc13a-f9ab-4029-af44-4aed1631ab84.png)## Video Output:
https://user-images.githubusercontent.com/78273243/229710196-a46a3c62-f52c-4b27-a438-5672096c5060.mp4