Collections parallel execution

What is the simplest way to execute different collections in parallel with newman? On local machine. Right now we do it on Jenkins but I want to try on my computer before push.

I have different collection under different folders(but the same root folder) and I’m run them with this command in .bat script for /r %%f in (./*) do newman run %%f -e Environment.json --bail
but it’s ‘single thread’.
So , how to run all those collections in parallel? I want to cut execution time.

This script in the Newman repo runs parallel collections using async: https://github.com/postmanlabs/newman/blob/develop/examples/parallel-collection-runs.js

And here’s an article about load testing with more words about that: https://medium.com/better-practices/dont-get-techcrunched-performance-testing-for-your-http-apis-3196e40f6b70#7e8e