question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Html report is not generated with the new version 3.9.X

See original GitHub issue

Html report is not generated with the new version 3.9.X Since I’ve update to the new version, the report in html is not generated. Whith the version 3.8.3 it works fine.

Version and environment information: –>

  1. Newman Version: 3.9.X
  2. OS details (type, version, and architecture): Windows
  3. Are you using Newman as a library, or via the CLI? as a library
  4. Did you encounter this recently, or has this bug always been there: recently, since I’ve install the new version of newman 3.9.X. With the version 3.8.3 it works fine.
  5. Expected behaviour: create report
  6. Command / script used to run Newman:
#!/bin/bash
ENVIRONMENT=$1
TEST=$2
FILE=$3
newman run collections/${FILE} --disable-unicode --color --insecure -x -e environments/${ENVIRONMENT}.json --timeout-request 80000 --reporters cli,html,json,junit --reporter-json-export output/report-${ENVIRONMENT}-${TEST}.json --reporter-junit-export output/report-${ENVIRONMENT}-${TEST}.xml --reporter-html-export output/report-${ENVIRONMENT}-${TEST}.html
cat output/report-${ENVIRONMENT}-${TEST}.html |grep Assertions | sed -e 's/<[^>]*>/ /g' | awk '{print $1" " ($2-$3)*100 / $2 "%  "$2" "$3 }'

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:17 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
DannyDaintoncommented, Apr 25, 2019

Awesome, glad it solved the problem.

There is also a section on the Newman README that references then need to install this reporter separately. This doesn’t, however, mention that you would need to do this for V4. That’s something that can be updated.

https://github.com/postmanlabs/newman#html-reporter

Just as a personal promotion thing and it’s obviously your choice - There is another version of the HTML reporter that I maintain, which has a few additional features in there. 😄

https://github.com/DannyDainton/newman-reporter-htmlextra

1reaction
DannyDaintoncommented, Apr 25, 2019

Did you also install the html reporter globally with V4 of Newman?

npm i -g newman-reporter-html

The html reporter was separated out into its own project in V4 so you would also need to install this in order to use that reporter.

Would you be able to try that please and see if that works?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Summary HTML Report not generated when path is specified ...
However, when I specify the path using classpath: , only the individual feature HTML reports are generated and not the summary report.
Read more >
pytest-html - PyPI
pytest plugin for generating HTML reports. ... Newer version available (3.2.0) ... pytest --html=report.html --css=highcontrast.css ...
Read more >
Built-in Exceptions — Python 3.11.1 documentation
This can be used to test an exception handler or to report an error condition ... The built-in exception classes can be subclassed...
Read more >
Cisco Prime Infrastructure 3.9 User Guide - Manage Reports ...
To create, schedule, and run a new report: ... You cannot change or update generated reports for all sub domains at the same...
Read more >
Deprecations by version - GitLab Docs
As of GitLab 16.0, these report artifacts will no longer be generated. ... The new default image as of GitLab 15.0 will be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found