jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erez Naim" <e...@theneura.com>
Subject RE: What is alternative function of __P() and __property() for variables?
Date Mon, 11 May 2015 11:24:58 GMT
Where do u want to use ? while loop? If you want to use it in while loop you can use this condition:


${__javaScript("${var}"  !=  null)}

Use afterwards beanshell processor which will get into the sampler and put a variable into
it by using beanshell functions like "vars.put" and "vars.get".

Good luck! 

--Erez--

-----Original Message-----
From: Bob [mailto:b.meliev@gmail.com] 
Sent: Monday, May 11, 2015 1:26 PM
To: JMeter Users List
Subject: What is alternative function of __P() and __property() for variables?

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!

---------------------------------------------------------------------
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