Skip to content

anuragashok/postman-multiple-workflows

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

Postman Multiple Workflows

A workaround to have multiple simple workflows in a postman collection

You need to pass in a global variable "workflow". The value should be a json list of the names of the requests to be called in order of execution desired.

Usage

Postman Run in Postman

1.	Set a global variable named workflow.
2.	Run the collection.

Newman :

newman run <collection.json> --global-var "workflow=<json list of request names>"

#Example
newman run Postman_Multiple_Workflows_Sample.postman_collection.json --global-var "workflow=[\"Create Employee\",\"Update Employee\"]"

Note : Do not remove the initial dummy init request.

Please create an issue if you find any issues running the collection.

About

A workaround to have multiple simple workflows in a postman collection

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published