Skip to content

This is a fork of https://github.com/ervirendersingh/newman-reporter-allure. It adds headers, cookies, etc. to the results along with better data formatting

Notifications You must be signed in to change notification settings

dvargas46/newman-reporter-allure

 
 

Repository files navigation

This is a fork of https://github.com/ervirendersingh/newman-reporter-allure

newman-reporter-allure

A newman reporter for generating nice and clean report using Allure-js framework

Installation

# global install
$ npm install -g @danvargas46/newman-reporter-allure

# local project install
$ npm install @danvargas46/newman-reporter-allure

Added Functionality

This fork includes more information in the results, such as the request and response headers, cookies, etc. Additionally, cleaned up the formatting a bit when displaying JSON entities.

Usage

To generate Allure results, specify allure in Newman's -r or --reporters option.

$ newman run <Collection> -e <Environment> -r allure
$ newman run <Collection> -e <Environment> -r allure --reporter-allure-export <allure-results-out-dir>

Generating and Serving Allure report

Allure results will be generated under folder "allure-results" in the root location. Use allure-commandline to serve the report locally.

$ allure serve

Generate the static report web-application folder using allure-commandline

$ allure generate --clean

Report will be generated under folder "allure-report" in the root location.

Screenshot1

Screenshot2

Screenshot3

Screenshot4

About

This is a fork of https://github.com/ervirendersingh/newman-reporter-allure. It adds headers, cookies, etc. to the results along with better data formatting

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%