You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by "Smits.Dolf" <do...@siemens.com> on 2004/01/10 19:13:23 UTC

defining a varibale in a variable?

Hi All,

I try to have a sort of multi-layer variable.
I mean something like ' password=${userpassword_${countNumber}} '

this should be interpreted as follows:
if countNumber equals 8, and userpassword_8 equals "secret"
i want the value of the vaiable userpassword_8 substituted
so ${countNumber} needs to be interpreted first, and then the new variable
userpassword_8.

so it should be translated to ' password=secret '

It doesn't work like this.
Is there a solution/workaround possible to get this ( i tried the javascript
function, but it either not works, or throws al kind of exceptions)

Thansk for any hints/help

Dolf Smits

Dolf Smits
Consultant Meta Directory Solutions

Siemens Nederland N.V.
ICS SBD MDS

Bezoekadres
Prinses Beatrixlaan 26
Den Haag

Correspondentieadres
Postbus 16068
NL-2500 BB  Den Haag

070 333 3654
070 333 2801
06 55844837
Dolf.Smits@siemens.com
www.siemens.nl



Deze e-mail is uitsluitend bedoeld voor kennisneming door de
geadresseerde(n), en mag niet aan anderen worden doorgestuurd of op andere
wijze ter kennis worden gebracht. Indien u niet de geadresseerde bent,
verzoek ik u om de afzender te waarschuwen en de e-mail direct te
verwijderen/vernietigen. De afzender wijst elke aansprakelijkheid voor (de
inhoud van) deze e-mail af.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org