Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 #188

Open
filipeamaral opened this issue Aug 8, 2018 · 2 comments
Labels
bug Something isn't working product/newman

Comments

@filipeamaral
Copy link

  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.

@shamasis
Copy link
Member

shamasis commented Aug 8, 2018

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!

@filipeamaral
Copy link
Author

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 filipeamaral changed the title First request reports, in the HTML exported report, one more Pass Count and one more Total passed tests, for each pm.sendRequest that is executed within collection or folder Pre-request Scripts 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 Feb 1, 2019
@codenirvana codenirvana transferred this issue from postmanlabs/newman May 25, 2020
@DannyDainton DannyDainton added bug Something isn't working product/newman labels Jul 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working product/newman
Projects
None yet
Development

No branches or pull requests

3 participants