/postman-runner

CLI productivity dev tool to run postman collections interactively

Primary LanguageJavaScriptMIT LicenseMIT

Postman Runner

npm npm

CLI productivity dev tool to run postman collections interactively

The image ☝️ made by my Terminalizer. Check the Demo in a web player


Table of Contents

Features

Based on newman from Postman

  • Fuzzy searching for collections, environments, and requests
  • Selects multiple requests to execute
  • Executes the selected requests again by pressing enter
  • Executes pre-request scripts
  • Executes tests scripts
  • Allows you to edit body and querystring in your preferred editor on runtime
  • Syntax highlighting

Installation

npm install postman-runner -g

Usage

postman

When you run the tool for the first time you will be asked to update its configuration file to specify the path where you store your postman collections (*.postman_collection.json) and environments (*.postman_environment.json) files in.

FAQ

How to edit in vscode

The tool opens the default editor that is specified by the environment variable $EDITOR. First make sure you have the code command installed, check launching-from-the-command-line for more details. To change the default editor add the following line into your .bash_profile for bash or .zshrc if you use zsh

export EDITOR="code -w"

How to edit in nano

The tool opens the default editor that is specified by the environment variable $EDITOR. To change the default editor add the following line into your .bash_profile for bash or .zshrc if you use zsh

export EDITOR="nano"

License

This project is under the MIT license.