Report htmlextra + log

Hi all
Is there any way that when executing newman by command line it generates the html report and also shows the log?

C:\MyUser\Desktop>newman run myCollection.json --folder “TestCase 1” -r htmlextra --bail folder


Thanks and regards.


Hey @pablovok,

What do you mean by the log?

If you mean the CLI reporter output, you could just add that to the Newman command.

For example:

newman run myCollection.json -r htmlextra,cli

If you mean the console.log() messages in the reporter, you could use the --reporter-htmlextra-logs flag. This will show those message in the final report.

1 Like

This is what I needed: newman run myCollection.json -r htmlextra,cli
Perfect!!! Thanks!!!

1 Like