5

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

pepe
  • 335
  • 2
  • 11

1 Answers1

5

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

Kunal Nagpal
  • 776
  • 2
  • 7
  • 14