1.0.2 • Published 1 year ago

newman-reporter-json-response v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

newman-reporter-json-response

JSON Reporter which cuts out a bunch of unnecessary items in the Newman JSON report and also provides JSON response body for responses with Content-Type as application/json. This can help get around issues with JSON.stringify running out of memory.

This reporter is based on newman-reporter-json-light. It is further slimmed down and provides JSON response body instead of byte array streams.

The report object contains the following items:

collection.id \
collection.name  \
collection.events[*].** \
collection.variables[*].** \
collection.itemCount \
environment.**

run.stats.** 

run.executions.** \
run.executions[*].id \
run.executions[*].request.** \

run.executions[*].response.** \
run.executions[*].response.code \
run.executions[*].response.status \
run.executions[*].response.body \
run.executions[*].response.headers \

run.executions[*].assertions.** \
run.executions[*].assertions[*].name \
run.executions[*].assertions[*].skipped \
run.executions[*].assertions[*].failed \
run.executions[*].assertions[*].errorMessage

Options

OptionValueOptional
--reporter-json-response-export<path/to/generate/json/report>Yes

By default the report gets generated in newman/ folder under the current working directory

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago