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

courrier

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

courrier

Postman runner that can run requests in parallel

  • 2.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
Maintainers
1
Weekly downloads
 
Created
Source

Courrier

Postman/Newman runner that runs requests in parallel.

Circle CI NPM version

Usage

const courrier = require('courrier');

const options = {
    envJson: {
        id:'7a04c166-1f65-509b-0d3d-7463182e17c9',
        name:'CellStore',
        values: [{
            key: 'endpoint',
            value: Config['28'].projectEndpoint,
            type:'text',
            enabled: true
        }],
        timestamp: new Date().getTime()
    },
    iterationCount: 1,
    delay: 1,
    responseHandler: 'TestResponseHandler',
    requestTimeout: 300000
};
courrier.execute(JSON.parse(fs.readFileSync('/path/to/postman/collection.json', 'utf-8')), options)
    .then(() => console.log('All tests passed'))
    .catch(() => console.log('Some tests failed'))
;

Keywords

FAQs

Package last updated on 01 Mar 2017

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