Skip to content

mashtura-m/Dmoney-API-Test-Suite-With-PostMan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

162 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API-Test-Suite-With-PostMan

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.

🛠️ Technology Stack

  • 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.

📂 Project Structure

├── 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

🚀 Prerequisites

  1. Node.js: Ensure Node.js is installed. Download here.
  2. 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)
  1. Install Dependencies: Open your terminal in the project folder and run:
npm install

🏃‍♂️ How to Run the Tests

Option 1: Generate HTML Report (Recommended)

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.

Option 2: Run via Terminal (Standard Newman)

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)


📑 Test Documentation

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

📊 Sample Report

report

👥 Contributors & Reviewers

Salman Srabon 📧 Email: salmansrabon@gmail.com

Role: QA Engineer / Reviewer


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages