npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

parallelrunner

v1.0.11

Published

To Run Postman Collection parallelly

Downloads

15

Readme

Parallelrunner

Parallelrunner is a simple command line tool which executes the postman collection parallelly. The process is very simple. Just download the collections and the respective environment in the below-given folder format and call the parallelrunner application. Parallelrunner will execute all the collections parallelly in the desired folder and generates custom HTML report parallel to your collections.

New Features!

  • The execution time is very fast as it runs all the collections parallelly
  • Can able to run the collections based on some simple priority
  • Custom HTML report will be generated in parallel to collections location

Tech

Parallelrunner uses a number of open source projects to work properly:

  • node.js - Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine
  • newman - the cli companion for postman

Installation

To run parallelrunner, ensure that you have NodeJS >= v8.5.0 The easiest way to install parallelrunner is using NPM. If you have NodeJS installed, it is most likely that you have NPM installed as well.

$ npm install parallelrunner -g

Execution

$ parallelrunner -p <path to postman collection folder>
  • -p <path>, --path <path> Specify the folderpath. Example:-
$ parallelrunner -p /home/dir/collections

Usage

Simple Case
  • Create a folder in your system wherever you want
  • Download Collections from postman and place it in the newly created folder Example : peoplemgmtCollections.json
  • Download Environment from the postman and place it in the newly created folder parallel to the downloaded collections.
  • Append Env to last of the environment json file Example: peoplemgmtCollectionsEnv.json
  • Download Global Environment from the postman and place it in the newly created folder parallel to the downloaded collections. < optional >
  • Append GlobalEnv to last of the global environment json file Example: peoplemgmtCollectionsGlobalEnv.json
  • Then call the parallelrunner, it will execute the collections with its respective environment
  • The final report will be generated and placed inside the reports folder, which will be created parallelly to the collections at runtime.

simple folder structure

One Environment with multiple collections
  • Create a folder in your system wherever you want
  • Download Environment form the postman and place it in the newly created folder
  • Append Env to last of the environment json file Example: peoplemgmtCollectionsEnv.json
  • Create a sub-folder inside the newly created folder
  • Download all the collections from the postman and place it in newly created sub-folder
  • Then call the parallelrunner, it will execute all the collections in the sub-folder with the single environment.
  • The final report will be generated and placed inside the reports folder, which will be created parallelly to the collections at runtime.

Multiple collections folder structure 1

Priority based execution
  • Create a folder in your system wherever you want
  • Download Collections from postman and place it in the newly created folder Example : peoplemgmtCollections.json
  • Download Environment from the postman and place it in the newly created folder parallel to the downloaded collections.
  • Append Env to last of the environment json file Example: peoplemgmtCollectionsEnv.json
  • Download Global Environment from the postman and place it in the newly created folder parallel to the downloaded collections. < optional >
  • Append GlobalEnv to last of the global environment json file Example: peoplemgmtCollectionsGlobalEnv.json
  • Create a sub-folder inside the newly created folder
  • Download all the collections from the postman and place it in newly created sub-folder
  • Then call the parallelrunner, the parallelrunner first execute the collections defined in the parent-folder and based on the result formed at runtime, the collections in the sub-folder get executed.
  • The final report will be generated and placed inside the reports folder, which will be created parallelly to the collections at runtime.

Priority based folder structure

License

ISC