How to use the postman-runtime.Runner function in postman-runtime

To help you get started, we’ve selected a few postman-runtime examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github postmanlabs / newman / lib / request / index.js View on Github external
module.exports = function (options, callback) {
    var runner = new runtime.Runner(),
        userRequest,
        collection;

    options = _.defaults(options, {
        method: 'get',
        url: undefined,
        timeout: undefined,
        ignoreRedirects: false
    });

    userRequest = {
        method: options.method,
        url: options.url,
        header: options.header
    };

postman-runtime

Underlying library of executing Postman Collections

Apache-2.0
Latest version published 1 month ago

Package Health Score

80 / 100
Full package analysis

Popular postman-runtime functions