newman-reporter-json-sum
v1.0.8
Published
A custom Newman Reporter that just reports a summary of the results, rather than the whole structure + Response Status Info | request name Method (which can break JSON.stringify)
Downloads
3
Maintainers
Readme
JSON Summ Newman Reporter
newman-reporter-json-summary + Response Info ADD + Method | Request Name
This outputs:
Collection.Info.Name
Collection.Info.Id
Run.Stats.Requests.*
Run.Stats.Assertions.*
Run.Stats.testScripts.*
Run.Timings.*
Run.Failures[n].Parent.Name
Run.Failures[n].Parent.Id
Run.Failures[n].Source.Name
Run.Failures[n].Source.Id
Run.Failures[n].Error.Message
Run.Failures[n].Error.Test
Run.Excutions[n].Response.status
Run.Excutions[n].Response.code
Run.Excutions[n].Response.header[n].*
Run.Excutions[n].Response.responseTime
Run.Excutions[n].Response.responseSize
Run.Excutions[n].Item.name
Run.Excutions[n].Request.method
Installation:
npm install -g newman-reporter-json-sum
Usage:
newman run collection -r json-sum output
Based on the https://www.npmjs.com/package/newman-reporter-json-summore package, but added more info.