Hi All,

I ve been tryintg to get the javaScript() to work with jmeter for a 
specfic scenario that i am testing. I havent been succesfull and there 
fore seeking ur help.

This is the java script that i wrote ;

${__javaScript(${flightNumber}==10 ? ${i} += 1; : ${i} ,flightDate )}

I have the javaScript as a user parameter , with
name : date
value : ${__javaScript(${flightNumber}==10 ? ${i} += 1; : ${i} ,flightDate 
)}

However i cant get it value ${i} to increment.

Another option that i tried was to increment the value using a 
_counter(FALSE,flightDate)  with in an if controller that checks if 
flightnumber = 10.
However the variable flight date goes null outside the scope of the if 
controller.

Can any one help ? I am stuck with this and any help is appreciated.

regards,
Lenin Basheer



DISCLAIMER: 

"The information in this e-mail and any attachment is intended only for 
the person to whom it is addressed and may contain confidential and/or 
privileged material. If you have received this e-mail in error, kindly 
contact the sender and destroy all copies of the original communication. 
IBS makes no warranty, express or implied, nor guarantees the accuracy, 
adequacy or completeness of the information contained in this email or any 
attachment and is not liable for any errors, defects, omissions, viruses 
or for resultant loss or damage, if any, direct or indirect."




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to