You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

newman-reporter-json-response

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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 memo

1.0.2
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

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

FAQs

Package last updated on 08 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.