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 CLI reporter better organization on parallel collection runs #1868

Open
aditki opened this issue Jan 25, 2019 · 4 comments
Open

Newman CLI reporter better organization on parallel collection runs #1868

aditki opened this issue Jan 25, 2019 · 4 comments

Comments

@aditki
Copy link

aditki commented Jan 25, 2019

  1. Newman Version (can be found via newman -v): 4.1.0
  2. OS details (type, version, and architecture): Mojave OS
  3. Are you using Newman as a library, or via the CLI? Library
  4. Did you encounter this recently, or has this bug always been there: Started using newman library recently
  5. Expected behaviour: CLI logs to be organized rather than mixed up when run with multiple collections in parallel
  6. Command / script used to run Newman:
  7. Sample collection, and auxiliary files (minus the sensitive details):
  8. Screenshots (if applicable):
@shamasis
Copy link
Member

Can you elaborate on how you’re doing parallel collection runs?

@aditki
Copy link
Author

aditki commented Jan 26, 2019

Newman.run in Async.parallel

@shamasis
Copy link
Member

Oh. Okay. I see what you’re trying to do. So, the only way I can see this work is output CLI reporter separately and then print it at the end of run. Because of the fact that two Newman instances have no awareness of each other, they report to the console in a confusing manner.

As of now, I see no way Newman can internally handle it unless it’s captured from outside and printed at the end - that’s not a useful thing to do.

I’m open to suggestions.

@duddu
Copy link

duddu commented Jul 18, 2019

If you are still interested, please have a look at this PR which may be relevant: postmanlabs/postman-runtime#867

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