newman-reporter-html icon indicating copy to clipboard operation
newman-reporter-html copied to clipboard

First request reports, in the exported HTML, one more Pass Count and one more Total passed tests, for each pm.sendRequest that is executed within collection or folder Pre-request Scripts

Open filipeamaral opened this issue 6 years ago • 2 comments

  1. Newman Version (can be found via newman -v): 4.0.1

  2. OS details (type, version, and architecture): Mac OS X, 10.13.6, x86_64/i386

  3. Are you using Newman as a library, or via the CLI? Node library

  4. Did you encounter this recently, or has this bug always been there: At least since 3.9.4

  5. Expected behaviour: The request report should only report an assertion count (Pass Count) based on iterations (one in the example provided). Total passed tests becomes also wrong due to the erroneous assertion count.

  6. Command / script used to run Newman: newman.run

  7. Sample collection, and auxiliary files (minus the sensitive details): Archive.zip

  8. Screenshots (if applicable): Collection's HTML report can be found in archive, which highlights the described problem.

filipeamaral avatar Aug 08 '18 15:08 filipeamaral

Yeah. We need to update the Newman HTML reporter to better handle sent requests. We’ve moved the reporter to its own repo in Newman v4 and would take them up there soon(ish). Any help there would also be great!

shamasis avatar Aug 08 '18 19:08 shamasis

I could help. Just send me an e-mail.

Also, I've discovered a new bug related with the HTML reporter. Should I open an issue on https://github.com/postmanlabs/newman-reporter-html/issues or still here?

filipeamaral avatar Aug 09 '18 11:08 filipeamaral