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

sealights-newman-wrapper

Package Overview
Dependencies
Maintainers
0
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sealights-newman-wrapper

Sealights agent for Newman

  • 2.0.106
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
decreased by-90.91%
Maintainers
0
Weekly downloads
 
Created
Source

Sealights Newman wrapper

This is the Sealights newman agent.

Install

npm install sealights-newman-wrapper

Usage

Execute this package using npx and pass sl and newman arguments

npx sealights-newman-wrapper --sl-token ... -c ./collection.json

or use it in script.

Example:

const { slNewman, ConfigProvider } = require('sealights-newman-wrapper');

const config = new ConfigProvider({
    tokenfile: "sltoken.txt",
    buildSessionIdFile: "buildSessionId",
    testStage: "newman",
});

slNewman.run(config, {
    collection: './collection.json',
    environment: require('./local.environment.json'),
});

Passing parameters to reporter via CLI

From the command line add sealights parameters with '--sl-' prefix

npx sealights-newman-wrapper ... --sl-tokenfile <path/to/token-file>  --sl-buildsessionidfile <path/to/buildSessionId-file> --sl-testStage e2e

Passing parameters to plugin via config file

Create a file sl.conf and fill it with config in JSON format

{
  tokenFile: <path/to/token-file>,
  buildSessionIdFile: <path/to/buildSessionId-file>,
  testStage: e2e,
}

Supported parameters

  • token - Sealights token
  • tokenFile - Path to file contains the Sealights token
  • buildSessionId - Sealights build session id
  • buildSessionIdFile - Path to file contains the Sealights build session id
  • testStage - Test stage current tests are relates to
  • labId - Pre-defined Sealights lab-id (optional)
  • proxy - Proxy server (optional)

Author

Sealights

FAQs

Package last updated on 02 Dec 2024

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