This project performs automated API testing on the DMoney financial application. It utilizes Postman for test script creation and Newman for command-line execution, generating comprehensive HTML reports to visualize test results.
- Postman: API Request creation and manual testing.
- Newman: CLI tool to run Postman collections.
- Newman-Reporter-Htmlextra: Generates detailed, interactive HTML reports.
- Node.js: Runtime environment for executing the scripts.
├── postman/collections # Contains the exported Postman Collection & Environment JSONs
├── report # Stores the generated HTML reports
├── report.js # Script to run tests and generate reports
├── .gitignore # Files to ignore (node_modules, env, etc.)
├── LICENSE # License file
└── README.md # Project documentation
- Node.js: Ensure Node.js is installed. Download here.
- Clone the Repo:
git clone [https://github.com/mashtuara-m/Dmoney-API-Test-Suite-With-PostMan.git](https://github.com/mashtuara-m/Dmoney-API-Test-Suite-With-PostMan.git)
- Install Dependencies: Open your terminal in the project folder and run:
npm install
This script runs the collection and automatically saves the results in the report folder.
node report.js
Note: Ensure your report.js file points to the correct JSON path inside the postman/collections folder.
If you only want to see the output in the console:
npx newman run ./postman/collections/collection.json -e ./postman/collections/env.json
(Replace collection.json and env.json with your actual filenames found inside the postman/collections folder)
Click the links below to view the detailed project documentation.
| Document | Description | Link |
|---|---|---|
| API Documentation | Detailed API endpoints and usage | View API Documentation |
| Test Cases | Standard test scenarios (Excel/Sheet) | View Test Cases |
| Bug Report | List of bugs found during testing | View Bug Report |
Salman Srabon 📧 Email: salmansrabon@gmail.com
Role: QA Engineer / Reviewer