1.0.1 • Published 3 years ago

newman-reporter-cli-response v1.0.1

Weekly downloads
3
License
ISC
Repository
-
Last release
3 years ago

Newman CLI Response Reporter

Just Console.log Result

This outputs:

Result Headers ResponseBody


Usage:

newman run collection -r cli-response

Example:

---------------------------------------------------------------
Result :
---------------------------------------------------------------
Status :  OK
Code :  200
responseTime :  232
responseSize :  2367734

---------------------------------------------------------------
Response Headers :
---------------------------------------------------------------
Cache-Control  :  private
Expires  :  Thu, 01 Jan 1970 00:00:00 GMT
X-Content-Type-Options  :  nosniff
X-XSS-Protection  :  1; mode=block
Strict-Transport-Security  :  max-age=31536000 ; includeSubDomains
X-Content-Security-Policy  :  script-src 'self'
Access-Control-Allow-Origin  :  *
Content-Type  :  application/json;charset=UTF-8
Transfer-Encoding  :  chunked
Date  :  Fri, 11 Dec 2020 07:43:50 GMT
Keep-Alive  :  timeout=60
Connection  :  keep-alive

---------------------------------------------------------------
ResponseBody : 
---------------------------------------------------------------
{"list_cnt":0,"total_cnt":0,"list":[]}
---------------------------------------------------------------

Based on the https://www.npmjs.com/package/newman-reporter-json-summary package, but slimmed down further.

1.0.1

3 years ago

1.0.0

3 years ago