Closed mustaphadem closed 1 year ago
Hey @mustaphadem: 👋 - Thanks for helping to make the reporter better by raising this ticket. I will take a look as soon as I can and get back to you. Cheers, Danny.
Hey @mustaphadem
Does it show the output if you use --reporter-htmlextra-displayProgressBar
?
By default, the reporter doesn't output anything, i did add in a progress bar but this didn't render well when used with other reporters. I ended up putting it behind an option flag in an earlier version https://github.com/DannyDainton/newman-reporter-htmlextra/blob/main/CHANGELOG.md#1225---2022-01-27
Hi @DannyDainton,
Thank you for the prompt response, I really appreciate it! Yes, when I use the displayProgressBar flag, it shows the progress bar. So not seeing the regular newman outputs during a run with -r htmlextra is the expected behavior then? If yes, I will be closing this ticket.
Thank you so much.
To see the Newman output or the requests, you'll need to add the cli
reporter (e.g. -r htmlextra,cli) to the command.
If you're just using Newman without any reporters, it will display the cli
output by default.
that makes so much sense, thank you! Closing.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Is There An Existing Issue
What Are You Seeing
Looks like this issue was closed: https://github.com/DannyDainton/newman-reporter-htmlextra/issues/374#issue-1180904460
I believe it is the same problem. I will additionally say that this is happening on macOS with M2 chip and I see the same behavior when run on github actions (Ubuntu - 22.04.2 -LTS). Not sure if that is the culprit but have already tried all suggested steps (global uninstall, install etc.).
When a newman run is triggered with -r htmlextra, the command seems to be stuck, there's no sign of progress.
It generated the html report but there is no output on the console. Tried with --verbose to see if that would make any difference, no luck.
The command I use is:
newman run postman/collections/api-smoke.json -e postman/environments/qa.json -r htmlextra
Steps To Reproduce The Issue
1) Run newman with the hmtlextra flag e.g.
newman run postman/collections/api-smoke.json -e postman/environments/qa.json -r htmlextra
2) There is no sign of progress, no output on terminal.Full Newman Command Or Node Script
HTMLEXTRA Version
1.22.11
Newman Version
5.3.2
Additional Context
No response