dmoney-api-testing-newman

#Automated dmoney API testing with Postman and generated report by Newman

This is the Postman Documentation link: https://documenter.getpostman.com/view/14844920/UzBsGPRz

Prerequisite

  1. Install VS Code
  2. Install Node js

Steps

  1. Download repository from github

  2. Open downloaded folder through VS Code

  3. Click open terminal and run a command to install newman package

npm i newman

image

Note that, package.json will modify automatically once newman is installed

image

  1. Next, run this command in the terminal same as above command:

npx newman run .\collection\dmoneyCollection.json

image

HTML report generate using Newman

  1. Install following package by this command:

npm i newman-reporter-htmlextra

  1. Now hit this command:

npm test

  1. Next, you will see a html report named report.html will be generate in Reports folder, since the Reports folder will be there.

image

  1. Now reveal the folder and open the html file and you will see the result in a html report

image

GitHub

View Github