This sort of thing is not legal in JMeter's functions.  It's usually
acceptable to use a function as a *parameter value* to another function,
but it is not supported to use the output of one function as the *name*
of another function, to then be evaluated.

-Mike

On Mon, 2005-07-11 at 10:24 +0200, Darko Jovisic wrote:
> I'm also having the same problem when iterating foreach. I have more
> regexs and i want to iterate through all of them at the same time so I
> use:
> 
> ${status_g${__counter(FALSE,C)}}
> 
> and I get:
> 
> status=${FALSE,C)}}
> 
> Cheers,
> Darko 
> 
> -----Original Message-----
> From: Grigoryan, Lilit [mailto:[EMAIL PROTECTED] 
> Sent: Monday, July 11, 2005 9:29 AM
> To: [email protected]
> Subject: function within variable
> 
> Hi,
> 
>  
> 
> I am trying to insert a number into a variable by using the following
> expression ${componentID${__counter(false,counter)}}, but I am getting
> ${false,counter)}} instead of ${componentID1}. 
> 
> Please, advise.
> 
>  
> 
> Thanks,
> 
> Lilit
> 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to