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

Newman - command-line option to suppress test success details from output #190

Open
jhardin-aptos opened this issue Feb 19, 2019 · 4 comments

Comments

@jhardin-aptos
Copy link

We're developing data-driven test collections that perform a lot of validations using requests generated from sets of data retrieved from the database. The Newman output from a test run is becoming ... rather unwieldy.

It would be really nice if there was a way to tell Newman to not report the details of successful tests, just failed ones.

That would collapse this verbose clutter down to one row in the output:

image

Note: the very specific test names are due to the Newman HTML output collapsing test results for multiple executions of the same request with different parameters. See issue #189.

Newman 4.3.1, HTML output
WIN10 CLI

@codenirvana codenirvana self-assigned this Feb 19, 2019
@DannyDainton
Copy link
Collaborator

@jhardin-aptos Would using a different reporter, that doesn't aggregate the executions help in the short term?

https://www.npmjs.com/package/newman-reporter-htmlextra

@jhardin-aptos
Copy link
Author

Hm. Potentially.

I also didn't think to take a look at the HTML template options to see if there's a way to create a template that doesn't include the test successes.

Thanks for the suggestion, I will take a look at both possibilities.

@DannyDainton
Copy link
Collaborator

@jhardin-aptos Just to let you know I've included options in the htmlextra reporter that will show you only the failed requests and also filtering around the test section. Not sure if this will help with your problem.

@jimc404
Copy link

jimc404 commented Feb 26, 2020

@codenirvana I'm working on this

@codenirvana codenirvana transferred this issue from postmanlabs/newman May 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants