So just use preprocessor beanshell sampler inside your http sampler and then insert the desired value into the http sampler.
-----Original Message----- From: Bob [mailto:[email protected]] Sent: Monday, May 11, 2015 2:37 PM To: JMeter Users List Subject: Re: What is alternative function of __P() and __property() for variables? Erez, I'm using it inside HTTP Sampler. On 11/05/15 16:24, Erez Naim wrote: > 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:[email protected]] > 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: [email protected] > For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
