Thank you!

Shawn

-----Original Message-----
From: Smits.Dolf [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 06, 2004 12:22 PM
To: 'JMeter Users List'
Subject: RE: Help With If Controller

Hi Shawn,

I had the same fight some time ago.
I still dont completely understand the implementation, but can give you
a
hint.
${str_CURRENTSTATUS} is not recognized to be string

rewrite it to
        "${str_CURRENTSTATUS}"=="Open" 
will help

Success, 

Dolf Smits

-----Original Message-----
From: Shawn Elliott [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 06, 2004 20:57
To: 'JMeter Users List'
Subject: 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
 
 

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

Reply via email to