Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 27239 invoked from network); 4 Mar 2011 12:08:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Mar 2011 12:08:12 -0000 Received: (qmail 64435 invoked by uid 500); 4 Mar 2011 12:08:12 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 64388 invoked by uid 500); 4 Mar 2011 12:08:11 -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 64379 invoked by uid 99); 4 Mar 2011 12:08:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Mar 2011 12:08:11 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sebbaz@gmail.com designates 209.85.212.44 as permitted sender) Received: from [209.85.212.44] (HELO mail-vw0-f44.google.com) (209.85.212.44) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Mar 2011 12:08:05 +0000 Received: by vws6 with SMTP id 6so2178901vws.31 for ; Fri, 04 Mar 2011 04:07:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=JqHXZONWntixkzivOQ5/CCB76lF8q9Q5VWJ/gHCbm+0=; b=F+FfuE1N/d16DLYLlErylWUWKa7NZmLyothlM78kHQhGTxuiBUcMQE8ns9GQTSH93d LJg9e9TRFfnbE+dy6Y6fDYUjwzSAbzE7EoERDgVUuiPtoU5oGmuGVyD4iNL7/UQ6Jen9 qhMaFvEpvdY3/YXR4fLNJiKEr04klfDggA/jA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=ZMBtYdvqAkve90OxXb2VQQRm1jVAMruaLNiVNbHgqj515MSW1Vg5onn8CWsRLyVuJO p6aBo5VZ4SF+anv00SQ4bJfLg9qZ/lv3Op82U865P/MmiggN2E2Kb8iR736gukRMoorZ FMWiOdr9PEitRtGwO3pEZNvZJatNjzFiECFYs= MIME-Version: 1.0 Received: by 10.220.183.67 with SMTP id cf3mr136570vcb.177.1299240464737; Fri, 04 Mar 2011 04:07:44 -0800 (PST) Received: by 10.220.198.132 with HTTP; Fri, 4 Mar 2011 04:07:44 -0800 (PST) In-Reply-To: References: Date: Fri, 4 Mar 2011 12:07:44 +0000 Message-ID: Subject: Re: JMeter test duration From: sebb To: JMeter Users List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On 3 March 2011 23:13, Brian Devaney wrote: > I have a number of JMeter tests set to run with different numbers of user= s. > Once one test finishes, another should start. =A0I am running into a prob= lem > where the ant task calling the JMeter test gets stuck waiting for the tes= t > to finish. =A0Is there some setting in ant or in JMeter where I can speci= fy > the absolute time limit for the test to run and have it forcibly shut dow= n > if it hits that limit? =A0I am using the Duration setting in the main thr= ead > group to control how long the test should run, but I am running into case= s > where it gets ignored. I doubt that it is ignored, however the duration timer performs an orderly shutdown, which means that a thread only shuts down when it finishes its current sample. Check the log for details. You could try running a concurrent separate thread group with a Test Action [1] set to Stop Now / All threads Add a Constant Timer child for the required delay. [1] http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Te= st_Action --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org