Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 44221 invoked from network); 17 Aug 2005 12:50:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Aug 2005 12:50:41 -0000 Received: (qmail 52532 invoked by uid 500); 17 Aug 2005 12:50:39 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 52510 invoked by uid 500); 17 Aug 2005 12:50:39 -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 52496 invoked by uid 99); 17 Aug 2005 12:50:38 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Aug 2005 05:50:38 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [64.208.25.103] (HELO smtp1.phx.gblx.net) (64.208.25.103) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Aug 2005 05:50:59 -0700 Received: (from daemon@localhost) by smtp1.phx.gblx.net (8.11.2/8.11.2) id j7HCobs24565 for ; Wed, 17 Aug 2005 05:50:37 -0700 (MST) Received: from UNKNOWN(209.130.177.141), claiming to be "[10.60.93.60]" via SMTP by smtp1, id smtpdAAAniai.V; Wed Aug 17 05:50:36 2005 Subject: Re: problem with Constant Timer! From: Michael Stover Reply-To: mstover1@apache.org To: jmeter-user@jakarta.apache.org In-Reply-To: References: Content-Type: text/plain Organization: Apache Software Foundation Date: Wed, 17 Aug 2005 08:47:08 -0400 Message-Id: <1124282829.29720.2.camel@P78WVP51-udp504000uds.ams.gblxint.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.0-1mdk Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N A trick I have used to good effect - To simulate the overall delay of a user plus the instantaneous retrieval of multiple page-embedded resources (when not using the "parse images" option), I often group such requests under one controller, and then include within that controller a constant timer with a large negative value. The overall timer for the test might be a gaussian. This has the effect that any samplers not in these sub-controllers (with negative timers) are delayed normally, while the samplers in the controllers are not delayed. The negative numbers are summed with the positive - any result less than zero results in no delay. -Mike On Wed, 2005-08-17 at 14:48 +1000, Ben Hogan wrote: > On 8/17/05, Ben Hogan wrote: > > Hi guys, > > > > The Constant Timer is adding all its times up and pausing after each request, > > > > but we want it to pause just after SOME requests.. any ideas? > > Looking in the archive I see this: > > http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200310.mbox/%3C000b01c389d2$cbf319b0$0400a8c0@laptop%3E > > You can attach a timer at any point in the test tree. If you attach it > to the threadgroup, it will apply to every sampler within the > threadgroup. If you attach it just to the first sample, it will only > delay the first sample, which would give you what you want here, I > think. > > -Mike > > --------------------------------------------------------------------- > 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