Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to read two folder with Newman

Tags:

I have the following line with Newman (works correctly), but I am looking to execute two folders at the same petition. First will be executed Login_full and then another (It is not essential)

newman run Example.postman_collection.json --folder "Login_full"  "" -e Environment1.json

How could I read two folders?

Regards

like image 646
pepe Avatar asked Sep 26 '18 13:09

pepe


1 Answers

Newman v4.1.0 comes with the ability to run multiple folders, like so:

newman run Example.postman_collection.json --folder "Login_full" --folder "another" -e Environment1.json

For a complete list of changes, check the Newman changelog: https://github.com/postmanlabs/newman/blob/develop/CHANGELOG.yaml

like image 104
Kunal Nagpal Avatar answered Oct 11 '22 13:10

Kunal Nagpal