jeudi 5 novembre 2020

How to pass the Azure DevOps variables into Postman tests?

I have a Postman collection exported as json and integrated into Azure DevOps pipelines. It currently uses a URL variable from the Postman environment exported as json.

I need to set the URL variable in Azure DevOps and use it in my Postman tests.

I have set the variable in the Command Line task for running tests (see the screenshot).

Question 1. I'm not sure if this is the correct place to set this variable.

Question 2. How do I pass the Azure variable into the Postman tests?

Here's my screenshot

Aucun commentaire:

Enregistrer un commentaire