newman: v3.6.0 no longer has `summary.run.executions.response.body`
- Newman Version (can be found via
newman -v
): 3.6.0
- OS details (type, version, and architecture): macOS 10.12.5 / node.js v6.10.2
- Are you using Newman as a library, or via the CLI? Library
- Did you encounter this recently, or has this bug always been there: since 3.6.0
- Expected behaviour:
Until the latest release (up to 3.5.*) the
summary.run.executions
objects would include response
with a property body
. This was the response body as string. Since the Update to 3.6.0 the body
property (summary.run.executions[0].response.body
) is undefined. There seems to be no way to access the response body now?
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 15 (11 by maintainers)
As an improvement (also a workaround) can we have the handlebars-helpers library included as part of newman html reporter. This will give access to a lot more helpers in creating custom templates.
@deyhle A fix for this bug has been added in #1080, and will be rolled out with the next Newman release. We’ll update this thread accordingly 😄
Thanks for reporting this!
@deyhle we’re a little swamped on some work on postman runtime (https://github.com/postmanlabs/postman-runtime/pull/266 in case you’re curious), but we’ll try to push out a fix early next week.
In the meantime, feel free to downgrade to v3.5.2 if this bug is a show-stopper for you 😦
@deyhle The
v3.6.0
equivalent issummary.run.executions[0].response.text()
.For more details, please see http://www.postmanlabs.com/postman-collection/Response.html