jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Smits.Dolf" <dolf.sm...@siemens.com>
Subject RE: Help With If Controller
Date Tue, 06 Jan 2004 20:21:55 GMT
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:shawn.elliott@gotocme.com]
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: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message