On 14/11/2008, Steve Kapinos <[EMAIL PROTECTED]> wrote:
> I have an existing expression...
>
>  ${__BeanShell(org.apache.jmeter.threads.JMeterContextService.getNumberOf
>  Threads()==1)}
>
>  I want to replace '1' with a computed value containing a property.
>
>  __P(p_vcsthreadcount,1) is the property I want to base the expression
>  off of..
>
>  Is this valid?
>
>  ${__BeanShell(org.apache.jmeter.threads.JMeterContextService.getNumberOf
>  Threads()==(1+${__P(p_vcsthreadcount,1)}))}
>

Yes, though the ",1" is redundant as __P(var) defaults to 1.

>
>  The documentation says variables can not be nested, but does not mention
>  functions explicitly that I could find.
>
>  ---------------------------------------------------------------------
>  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