Reputation: 47
I am defining some new variables in NeoLoad as in this screenshot:
I will be defining at least 10 variables like this, so the question is if it is possible to reference an existing variable in the host field? Imagine it like ${db_host} but that does not work.
Upvotes: 1
Views: 436
Reputation: 45
This option is not possible with neoload, but you can insert a JavaScript element in your test to do that
Upvotes: 0
Reputation: 11
No you can't. but if you use javascript, you can manipulate the variables easily. Example : var ENV = context.variableManager.getValue("ENV"); var IDPART_REQ1 = context.variableManager.getValue(ENV + "-JDD-REQ1.IDPART");
Upvotes: 1