Skip to content

Newman reporter to dump raw HTTP messages to stdout

Notifications You must be signed in to change notification settings

sebadiaz-arg/newman-reporter-msgs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Newman reporter msgs

A Newman reporter that dumps to stdout the raw http messages involved in the newman run execution

Hack

Install nvm and node

curl -sL https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh -o install_nvm.sh
sh install_nvm.sh
source ~/.profile
nvm install -lts

Install globally newman

npm i -g newman

Pack from sources and deploy

Clone this repository locally (git clone https://github.com/sebadiaz-arg/newman-reporter-msgs), go inside its folder and run these commands:

npm pack    (to make a .tgz tarball file)
npm i -g newman-reporter-msgs-<version>.tgz    (to install it in your system)

Execute newman with this reporter (called "msgs")

newman run -e <path/to/environment.json> <path/to/collection.json> -r msgs

The resultant http messages exchanges will be shown in console

Options

You can use the flag --reporter-msgs-native to use the OS native line break instead of the default CRLF (\r\n)

Testing

Execute tests by running

npm test

About

Newman reporter to dump raw HTTP messages to stdout

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published