A Newman reporter that dumps to stdout the raw http messages involved in the newman run execution
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
npm i -g newman
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)
newman run -e <path/to/environment.json> <path/to/collection.json> -r msgs
The resultant http messages exchanges will be shown in console
You can use the flag --reporter-msgs-native to use the OS native line break instead of the default CRLF (\r\n)
Execute tests by running
npm test