You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Shawn Elliott <sh...@gotocme.com> on 2004/01/06 20:57:02 UTC

Help With If Controller

Looking at the IfController.java it seems as though the following would
be valid If statements.
 
${count}<10
 \"a\".equals(\"a\")" 
2>100
 false==true
 
 
I can not get any of these to work.
 
${str_CURRENTSTATUS}=="Open" 
 
gives the following exception
2004/01/06 11:46:34 ERROR - jmeter.control.IfController: "Bypass" is not
defined
. ReferenceError: "Bypass" is not defined. (<cmd>; line 1)
 
 
${str_CURRENTSTATUS}.equals(\"Open\")
 
gives the following exception
2004/01/06 11:53:51 ERROR - jmeter.control.IfController: illegal
character Synta
xError: illegal character (<cmd>; line 1)
 
 
Any ideas why?
 
-Shawn