Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 38313 invoked from network); 20 Jan 2008 13:04:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Jan 2008 13:04:26 -0000 Received: (qmail 34892 invoked by uid 500); 20 Jan 2008 13:04:14 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 34864 invoked by uid 500); 20 Jan 2008 13:04:14 -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 34850 invoked by uid 99); 20 Jan 2008 13:04:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Jan 2008 05:04:14 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of msporleder@gmail.com designates 64.233.166.182 as permitted sender) Received: from [64.233.166.182] (HELO py-out-1112.google.com) (64.233.166.182) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Jan 2008 13:03:49 +0000 Received: by py-out-1112.google.com with SMTP id a73so1892950pye.22 for ; Sun, 20 Jan 2008 05:03:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=cvdRGYOPq1jJ0h0/X17mfhejx5Zmds2ypptfZ7jXL/w=; b=fE8oxhVYd64NTQZEr6vZDNH2Mnx5mRPOTbtllDp8AIYduyk1BQxe/1gxakwi/praX1Zrm0cj+LxNeTaYtuC1n3kQXb48Ofk7FWEPqJRENSoIoMIJIeZwoRn5hvnKphH0Y9o21CnU+uL2tYm6QcWoKX5e9bCfk4a93C7Rpyzv0R0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cCGW5vAiEQthhpR7/QIrRza1emuT042uaQF3BEpPxs0RPMzD6Zya0OSIE2oRLEaq6KT04QaAwnNjIXbd1GnM/8pt0k+mQfhfTSsJecV7ZacmGYYgwYM99ys2Xku5kuC9fhxHA06ab46Wg+GYbhYHZTJNdgvftxB/LKPsMItgHGA= Received: by 10.65.116.10 with SMTP id t10mr12226755qbm.9.1200834227453; Sun, 20 Jan 2008 05:03:47 -0800 (PST) Received: by 10.65.43.9 with HTTP; Sun, 20 Jan 2008 05:03:47 -0800 (PST) Message-ID: Date: Sun, 20 Jan 2008 08:03:47 -0500 From: "matthew sporleder" To: "JMeter Users List" Subject: Re: synchronized samples In-Reply-To: <6456355d0801192304g133b853ag97b7832dc40e46fc@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6456355d0801192304g133b853ag97b7832dc40e46fc@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org On 1/20/08, Andrej van der Zee wrote: > Hi, > > I am new to JMeter and I have an issue I am not able to solve. I was hoping > to get some help here :) > > My problem is best explained with a example, so suppose I have the following > setup: > > Thread Group > -- Login (HTTP Request) > -- Visit Page (HTTP Request) > -- Logout (HTTP Request) > > Now I would like to start 10 threads that first all execute "HTTP Request > Login" *one after each other*. So first thread_1 would execute "Login" and > after it finishes, thread_2 would immediately execute "Login", etc... > > Then, after all 10 threads executed the "Login", I would like to pause 10 > seconds before going to the next stage. After the pause, I would like to > execute "Visit Page" for all threads in the same way as "Login", and then > have another 10 seconds pause, etc. > > I realize this breaks the idea of concurrent users, but this is for a > reason. > I think you could use the interleave controller, a timer, and a function to calculate how long you waited (10-$x where $x=thread id, or something like that). http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Interleave_Controller http://jakarta.apache.org/jmeter/usermanual/test_plan.html#timers http://jakarta.apache.org/jmeter/usermanual/functions.html --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org