Unanswered question

I want to pass variable in Neoload script when running neoloadcmd non gui mode

I want to pass variable in Neoload script when running neoloadcmd non gui mode I am using -variables test_env=qa-env.com and I am using it in script ${test_env} also I have defined test_env variable as a constant string but in the test it is passed as null

Saurabh T.
Saurabh T.

Saurabh T.

Level
0
5 / 100
points

Answers

Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

The -variables option should do the trick but make sure that this constant variable test_env already exists in your projet. This "-variable" option overrides variable content but it does not create them.