Showing posts with label Newman reporting. Show all posts
Showing posts with label Newman reporting. Show all posts

Monday, August 19, 2019

API Automation using Newman - Part II

HTML Report via Newman

In previous post we have seen how to setup Newman and execute the collections via Newman in command line.

Newman also supports reporting. Let's see how html report can be generated post collection execution.

HTML reporter is an external reporter which needs to be installed first. Here is the command to install HTML reporter.

npm install -g newman-reporter-html

Usage

newman run {path-to-collection} -r cli,html

This way you will be able to generate html reports post collection execution.

Featured Post

API Automation using Newman - Part II

HTML Report via Newman In previous post we have seen how to setup Newman and execute the collections via Newman in command line. Ne...