Skip to content

A workaround to have multiple simple workflows in a postman collection

Notifications You must be signed in to change notification settings

anuragashok/postman-multiple-workflows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

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