Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

newman-reporter-reportportal

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

newman-reporter-reportportal

Reportportal reporter for newman

  • 0.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
increased by66.67%
Maintainers
1
Weekly downloads
 
Created
Source

newman-reporter-reportportal

Newman runtime reporter for EPAM report portal which provides information about collection run.

Install

The installation should be global if newman is installed globally, otherwise - local. (replace -g from the command below with -S for a local installation)

$ npm install -g newman-reporter-reportportal

Usage

There are two ways to enable this reporter - with command line or programmatically.

With CLI

To enable this reporter you have to specify reportportal in Newman's -r or --reporters option.

$ newman run https://postman-echo.com/status/200 -r reportportal
Programmatically
const newman = require('newman');

newman.run({
    collection: './collections/newman-test_collection.json',
    reporters: 'reportportal',
    reporter: {
        reportportal: {
            debug: true,
            endpoint: 'http://your-instance.com:8080/api/v1',
            token: '00000000-0000-0000-0000-000000000000',
            launch: 'LAUNCH_NAME',
            project: 'PROJECT_NAME'
        }
    }
}, function (err) {
    if (err) {
        throw err;
    }
    console.log('collection run complete!');
});
Options

Both CLI and programmatic runs support following options:

ParameterDescription
tokenUser's Report Portal toke from which you want to send requests. It can be found on the profile page of this user.
endpointURL of your server. For example 'https://server:8080/api/v1'.
launchName of launch at creation.
projectThe name of the project in which the launches will be created.
debugDetermines whether newman's run should be logged in details.

Licensed under the Apache License v2.0

Keywords

FAQs

Package last updated on 29 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc