2.0.108 • Published 5 months ago

sealights-newman-wrapper v2.0.108

Weekly downloads
-
License
ISC
Repository
github
Last release
5 months ago

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

2.0.108

5 months ago

2.0.106

8 months ago

2.0.97

8 months ago

2.0.92

10 months ago

2.0.77

1 year ago

2.0.78

1 year ago

2.0.87

11 months ago

2.0.76

1 year ago

2.0.74

1 year ago

2.0.82

1 year ago

2.0.72

1 year ago

2.0.83

1 year ago

2.0.91

11 months ago

2.0.60

1 year ago

2.0.44

1 year ago

2.0.41

1 year ago

2.0.40

1 year ago

2.0.39

2 years ago

2.0.31

2 years ago

2.0.29

2 years ago

2.0.28

2 years ago

2.0.23

2 years ago