AndreiZernov / postman_lightning_talk

Lightning talk about Postman

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Postman Lightning Talk

Install Postman CLI tool Newman

Install Globally

In case of you want to use only cli. Newman is a command-line collection runner for Postman. newman

Newman CLI tool can be installed with brew

brew install newman 

or with npm

npm i -g newman 

Install Locally

npm install

For more advanced/user-friendly reports. We will install html reporter. It will help us to generate customized reports in HTML format. newman-reporter-htmlextra

Run

Run Postman CLI tool with Newman

It this script we execute newman by specifying the collection to run, reporters to use and the environment to set.

For dev, staging and prod

npm run newmanDev
npm run newmanStaging
npm run newmanProd

Run Newman from JS file

npm run postman

Run Newman for stress/performance testing

npm run performance

About

Lightning talk about Postman


Languages

Language:JavaScript 100.0%