Coder Social home page Coder Social logo

prongbang / postman-runner Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 245 KB

Run multiple Postman collections with a single command.

License: MIT License

Rust 99.75% Makefile 0.25%
newman postman newman-multiple-collections postman-runner report-summary-generator

postman-runner's Introduction

postman-runner

Run multiple Postman collections with a single command.

"Buy Me A Coffee"

preview.png

Run

  • Run multiple commands
postman-runner --config config.yml
  • Run single command
postman-runner --config config.yml --name collection-1

Configuration

  • config.yml by default
report:
  name: Weather Report
  filename: reporter/weather-report.html
  reporter: html
logger: true
commands:
  - name: collection-1
    command: newman run xxxx -e xxxx
  - name: collection-2
    skipped: true
    command: newman run xxxx -e xxxx

** The name is unique, and there are no duplicates.

** The skipped: true flag indicates that the test collection is skipped.

Reporter options by collection

  • newman
brew install newman
  • newman-reporter-html (html)
npm install -g newman-reporter-html
  • newman-reporter-htmlextra (htmlextra)
npm install -g newman-reporter-htmlextra

Report HTML

➜  automate-api git:(master) ✗ 
├── config.yml
└── reporter
    ├── get-weather-1.html
    ├── get-weather-2.html
    ├── get-weather-3.html
    └── weather-report.html

Install

Install with Homebrew

brew update
brew tap prongbang/homebrew-formulae
brew install postman-runner

or

Install with Rust

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

With Cargo Install

cargo install postman-runner --git https://github.com/prongbang/postman-runner.git

With Cargo Build

cargo build --release

postman-runner's People

Contributors

prongbang avatar

Stargazers

 avatar Junlapong L. avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.