newman-reporter-json-summore
v1.0.3
Published
A custom Newman Reporter that just reports a summary of the results, rather than the whole structure + Response Status Info (which can break JSON.stringify)
Downloads
13
Readme
JSON Summore Newman Reporter
newman-reporter-json-summary + Response Info ADD
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
Usage:
newman run collection -r json-summore --reporter-jsonsummore-export output
Based on the https://www.npmjs.com/package/newman-reporter-json-summary package, but slimmed down further.