lundi 4 novembre 2019

How to change Postman environment in pre-request script?

I'm having several collections of REST queries and tests in postman, and for each collection I've created a set of environment variables. I wish to make sure the right environment is selected before running the tests. Is there a way to automatically switch between environments in pre-request script section?

Aucun commentaire:

Enregistrer un commentaire