Environment variables passing for multiple folder is not working

Shailendra Varshney
Wed, 02 Dec 2020 01:21:46 +0000
Help Hub

in the below newman command, I have multiple folders and environment variables. So whenever I am passing environment variables, its passing only to first folder in collection, rest all folders are running with default values-not with the the env variable which I passed through run.

newman run Collection/SpecificAPI_Collection.json --folder Addons_Get --folder AdjustmentHistory -d TestData/SpecificAPI_TestData.json --env-var msisdn=123456 --reporters htmlextra,cli --reporter-htmlextra-export Results/Report_bld268_0112_1912.html

7 posts - 4 participants