Html report is not generated with the new version 3.9.X
See original GitHub issueHtml 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: –>
- Newman Version: 3.9.X
- OS details (type, version, and architecture): Windows
- Are you using Newman as a library, or via the CLI? as a library
- 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.
- Expected behaviour: create report
- 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:
- Created 6 years ago
- Comments:17 (2 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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
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?