Hi Jose, Thanks for the reply, that was not quiet exactly what I was looking for as I need the result to be a variable containing the string but from reading more of the documentation the Variable function from Jmeter 2.2+ does exactly what I need.
http://jakarta.apache.org/jmeter/usermanual/functions.html#__V Example: If I have a counter C and the following variables Order_1 Order_2 Order_3 Can I pass ${Order_${C}} into a beanshell sampler? It seems to pass in Order_${C} So the function I use is: ${__V(Order_${C})} Eddie Eddie O'Sullivan (Embedded image Application Performance moved to file: Group pic17554.gif) QAD Ireland Ltd. [email protected] Hamilton House Tel: +353 61 National Technological 213616 Park http://www.qad.com/ Limerick, Ireland This e-mail may contain QAD proprietary information and should be treated as confidential. From: Jose Pablo Sarco <[email protected]> To: JMeter Users List <[email protected]> Date: 10/08/2009 03:05 PM Subject: Re: Variable containing a variable Hi, You can try with functions: http://jakarta.apache.org/jmeter/usermanual/functions.html#__evalVar or http://jakarta.apache.org/jmeter/usermanual/functions.html#__eval Best regards, Jose On Thu, Oct 8, 2009 at 8:25 AM, Eddie O'Sullivan <[email protected]> wrote: > Hi all, > > Is it possible for a JMeter variable to contain a variable. > > Example: > If I have a counter C and the following variables Order_1 Order_2 > Order_3 > > Can I pass ${Order_${C}} into a beanshell sampler? It seems to pass in > Order_${C} > > Thanks in advance, > Eddie > > > > Eddie O'Sullivan (Embedded image > Application Performance moved to file: > Group pic18593.gif) > > > QAD Ireland Ltd. [email protected] > Hamilton House Tel: +353 61 > National Technological 213616 > Park http://www.qad.com/ > Limerick, Ireland > > > > This e-mail may contain > QAD proprietary > information and should > be treated as > confidential. > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

