jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From touyang <touy...@kingsisle.com>
Subject IF controller, while controller always evaluates to false
Date Fri, 04 Jan 2008 16:15:09 GMT

I've found some threads stating the same problem back in 2004, I reckon it
should be fixed by now.

JMeter 2.3  is what I use, Windows XP, Java version 6 update 3.

I can NOT make the IF controller and while controller evaluate to true, even
when I just put the bare word true in there.  I tried:

true
'true'
"true"
'$(myVar)' == '45'               // where $myVar is indeed 45 of course.

I see in the log file when I wrap the log function around it: 
${__log('${myVar}' == '45')

I got an assertion inside the IF controller as a child.  The assertions
never alerts, but when I put it outside of IF controller, it screams every
time.

HELP!



2008/01/04 10:08:57 INFO  - jmeter.engine.StandardJMeterEngine: Starting 1
threads for group TigerThread. Ramp up = 1. 
2008/01/04 10:08:57 INFO  - jmeter.engine.StandardJMeterEngine: Thread will
stop on error 
2008/01/04 10:08:57 INFO  - jmeter.threads.JMeterThread:
jmeterthread.startearlier=true (see jmeter.properties) 
2008/01/04 10:08:57 INFO  - jmeter.threads.JMeterThread: Running
PostProcessors in forward order 
2008/01/04 10:08:57 INFO  - jmeter.threads.JMeterThread: Thread TigerThread
1-1 started 
2008/01/04 10:08:57 INFO  - jmeter.functions.LogFunction: TigerThread 1-1
'45' == '45' 
2008/01/04 10:08:57 INFO  - jmeter.threads.JMeterThread: Thread TigerThread
1-1 is done 
2008/01/04 10:08:57 INFO  - jmeter.engine.StandardJMeterEngine: Ending
thread TigerThread 1-1 
2008/01/04 10:08:57 INFO  - jmeter.engine.StandardJMeterEngine: Stopping
test 
2008/01/04 10:08:57 INFO  - jmeter.engine.StandardJMeterEngine: Notifying
test listeners of end of test 
2008/01/04 10:08:57 INFO  - jmeter.gui.util.JMeterMenuBar:
setRunning(false,local) 
2008/01/04 10:08:57 INFO  - jmeter.engine.StandardJMeterEngine: Test has
ended 




Help??
-- 
View this message in context: http://www.nabble.com/IF-controller%2C-while-controller-always-evaluates-to-false-tp14619705p14619705.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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