Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spenceclark/newman-reporter-json-summary
A Newman JSON Reporter that strips the results down to a minimum
https://github.com/spenceclark/newman-reporter-json-summary
json newman postman
Last synced: 2 days ago
JSON representation
A Newman JSON Reporter that strips the results down to a minimum
- Host: GitHub
- URL: https://github.com/spenceclark/newman-reporter-json-summary
- Owner: spenceclark
- Created: 2018-11-28T13:55:58.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T06:35:55.000Z (almost 2 years ago)
- Last Synced: 2024-09-28T06:24:56.218Z (5 days ago)
- Topics: json, newman, postman
- Language: JavaScript
- Homepage:
- Size: 104 KB
- Stars: 8
- Watchers: 2
- Forks: 7
- Open Issues: 8
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# JSON Summary Newman Reporter
This generates a very cut down version of the standard JSON reporter output.
It is needed where large test packs which generate 1000's of tests results can blow the limits of JSON.StringifyThis outputs:
- `Collection.Info.Name`
- `Collection.Info.Id`
- `Run.Stats.Requests.*`
- `Run.Stats.Assertions.*`
- `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`---
Usage:
> newman run *collection* -r **json-summary** --**reporter-summary-json-export** *output**Note: If reporter-json-summary-export parameter is not supplied, the output is written to a "newman" sub-folder and the file will contain the timestamp in its name*
---
Schema of the output JSON:
https://raw.githubusercontent.com/spenceclark/newman-reporter-json-summary/master/schema.json---
Based on the https://www.npmjs.com/package/newman-reporter-json-light package, but slimmed down further.