I’m executing newman from an Azure Devops build . Command is as shown below and works.
As you can see i’m dynamically changing environment variables using --env-var
newman run “(PostManCollectionFileName)" -e "(PostManEnvironmentFileName)” -k --insecure --reporters cli,junit --reporter-junit-export Results\junitReport.xml --verbose --disable-unicode --env-var “TestStreetName=(TestStreetName)" --env-var "webAppUrl=(webAppUrl)” --env-var “TestStreetNumber=$(TestStreetNumber)”
I would like to change collection variables not just environment variables. The reason for that is that environment variables are too broad. I don’t see a way to do set collection variables in the command line right now. Any ideas or help would be very welcome.