Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 99190 invoked from network); 7 Jan 2008 19:52:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Jan 2008 19:52:45 -0000 Received: (qmail 28205 invoked by uid 500); 7 Jan 2008 19:52:32 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 28135 invoked by uid 500); 7 Jan 2008 19:52:32 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "JMeter Users List" Reply-To: "JMeter Users List" Delivered-To: mailing list jmeter-user@jakarta.apache.org Received: (qmail 28124 invoked by uid 99); 7 Jan 2008 19:52:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jan 2008 11:52:32 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jan 2008 19:52:20 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1JBy16-00047X-DK for jmeter-user@jakarta.apache.org; Mon, 07 Jan 2008 11:52:12 -0800 Message-ID: <14674438.post@talk.nabble.com> Date: Mon, 7 Jan 2008 11:52:12 -0800 (PST) From: touyang To: jmeter-user@jakarta.apache.org Subject: Re: IF controller, while controller always evaluates to false In-Reply-To: <25aac9fc0801041632o6e96c0c8w2c40e6d8569108f3@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: touyang@kingsisle.com References: <14619705.post@talk.nabble.com> <25aac9fc0801041632o6e96c0c8w2c40e6d8569108f3@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Thanks! That's it! I didn't have an sampler in the IF Controller. sebb-2-2 wrote: > > The If controller requires valid Javascript. > > Controllers only process their children if there is at least one > sampler as a child. > > On 04/01/2008, touyang wrote: >> >> 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 >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > > > -- View this message in context: http://www.nabble.com/IF-controller%2C-while-controller-always-evaluates-to-false-tp14619705p14674438.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