jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob <b.mel...@gmail.com>
Subject Re: What is alternative function of __P() and __property() for variables?
Date Mon, 11 May 2015 11:36:02 GMT
Thanks sebb. It would be useful to have function similar to __P() or 
__property() for variables.

On 11/05/15 15:47, sebb wrote:
> On 11 May 2015 at 11:26, Bob <b.meliev@gmail.com> wrote:
>> Hi,
>>
>> What is alternative function of __P() and __property() for variables in
>> JMeter? How I can define the condition: if Var1 is empty use default value
>> or another variable? Thanks!
> There is no such function currently.
>
> __P() was added in order to allow access to properties.
> As an option, a default was provided.
>
> If there is sufficient demand for this, I guess __V() could be
> extended to provide the same functionality for variables.
>
> In the meantime, one could use a scripting element (or Beanshell
> function) to do the work.
>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
>> For additional commands, e-mail: user-help@jmeter.apache.org
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>


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


Mime
View raw message