- This project focuses on testing the Dmoney REST API to validate its functionality, identify potential issues, and provide improvement recommendations. The testing
covers the creation, management, and processing of transactions across various user roles, including Admin, System User, Agent, Customers, and Merchant.
- Postman
- Newman
- Nodejs
- VSCode
Created test cases for the following scenarios:
- Admin creates an Agent, 2 Customers, and a Merchant.
- System deposits money to the Agent.
- Agent deposits money to a Customer.
- Check Agent's balance.
- Send money between Customers.
- Customer withdraws money to the Agent.
- Check Customer's balance and transaction statement.
- Customer makes a payment to a Merchant.
- Check balances and transaction statements for Customers,
- The Merchant checks his balance.
The test cases are: Click Here to see the Test Cases
- Created a Postman collection for all the scenarios.
- Added negative test cases for validation and error handling.
- Collection Click Here to see the Postman Collection
- Endpoints Used:
- Generated a report of all test cases using Newman.
- Included summary screenshots of the execution.
View the Newman report screenshots below:

Postman documentation for the test cases and endpoints is available:
Click here to view Postman Documentation.
Reported Bug or Improvements in a Google Sheet, with details such as:
- Issue Type (Bug/Improvement)
- Issue Title
- Description and Steps to Reproduce
- Actual vs Expected Results
- Priority and Severity
- Attachments with screenshots
To see the bug report: Click here to view Bug Report.
This project is designed to test the Dmoney REST API using JavaScript. It utilizes Node.js to run the test scripts and I provide a step-by-step guide for anyone to clone and run the project on their machine.
Ensure you have the following installed on your machine:
-
Clone the Repository
Open your terminal and run:
git clone https://github.com/faisalkabir1/Dmoney-REST-API-Test.git -
Navigate to the Project Directory
Change your working directory to the cloned repository:
cd Dmoney-REST-API-Test -
Install Dependencies
Install the required dependencies using npm:
npm install
Run the Report.js script using Node.js in the terminal:
npx newman run "copy & paste published collection link without inverted comma"
Then
node Report.js
The script will run tests against the Dmoney REST API and display the results in the terminal.
For any questions or issues, feel free to open an issue in the repository or contact me via - [email protected]