Return-Path: X-Original-To: apmail-jmeter-user-archive@www.apache.org Delivered-To: apmail-jmeter-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 88C509EA9 for ; Mon, 5 Mar 2012 13:46:48 +0000 (UTC) Received: (qmail 7017 invoked by uid 500); 5 Mar 2012 13:46:48 -0000 Delivered-To: apmail-jmeter-user-archive@jmeter.apache.org Received: (qmail 6983 invoked by uid 500); 5 Mar 2012 13:46:48 -0000 Mailing-List: contact user-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "JMeter Users List" Delivered-To: mailing list user@jmeter.apache.org Received: (qmail 6974 invoked by uid 99); 5 Mar 2012 13:46:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Mar 2012 13:46:47 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of flaviocysne@gmail.com designates 209.85.214.43 as permitted sender) Received: from [209.85.214.43] (HELO mail-bk0-f43.google.com) (209.85.214.43) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Mar 2012 13:46:42 +0000 Received: by bkwj5 with SMTP id j5so3917915bkw.2 for ; Mon, 05 Mar 2012 05:46:21 -0800 (PST) Received-SPF: pass (google.com: domain of flaviocysne@gmail.com designates 10.204.156.65 as permitted sender) client-ip=10.204.156.65; Authentication-Results: mr.google.com; spf=pass (google.com: domain of flaviocysne@gmail.com designates 10.204.156.65 as permitted sender) smtp.mail=flaviocysne@gmail.com; dkim=pass header.i=flaviocysne@gmail.com Received: from mr.google.com ([10.204.156.65]) by 10.204.156.65 with SMTP id v1mr846438bkw.109.1330955181480 (num_hops = 1); Mon, 05 Mar 2012 05:46:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=uX5U4srvMQv0WuWYj2T7Ms9NMXJ1Jj4UtQD8bxck2Mk=; b=XqXJqBn17EJnsMv4fZ3xCWbB/lRa9M0aOhazuX5kssoWL1aMEuMicJ5Lj3XYCQn66z hkxEww+7YRz3t1ZU/MxHwscsI2PnI8exASU1feDQsxTQPljAnPvTuMJuyuSIS/EbinmC 5ruODUAl0wXntNI3YrUVHv7x1BtBCLto79S8JbEZtQ5hKZkGwknMlTlnGjfSMTlEZvik qcH3NrBHpAo7U3OF9epO2AdF0VA8r8gifCR58ePP0jkpIOJxlpqkHrf/WPa0dlH7sj2L j5NJcaroyFvKfKVJZXF7ivlcywckQ9KUZrbVA00VLO4yaNtlYUc+OBcMv3AHJr8fx3X3 CmaA== MIME-Version: 1.0 Received: by 10.204.156.65 with SMTP id v1mr633542bkw.109.1330955181398; Mon, 05 Mar 2012 05:46:21 -0800 (PST) Received: by 10.205.123.131 with HTTP; Mon, 5 Mar 2012 05:46:21 -0800 (PST) In-Reply-To: <1330944679320-5537163.post@n5.nabble.com> References: <1330944679320-5537163.post@n5.nabble.com> Date: Mon, 5 Mar 2012 10:46:21 -0300 Message-ID: Subject: Re: Allowing only one thread to make a request at a time From: Flavio Cysne To: JMeter Users List Content-Type: multipart/alternative; boundary=0015175cb66ecc993204ba7f26fe X-Virus-Checked: Checked by ClamAV on apache.org --0015175cb66ecc993204ba7f26fe Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Put the sampler you want to have only one user at a time inside a constant throughtput timer (CTT) and before this add a synchronizing timer, with 30 in "Number of Simultaneous Users to Group by" field. You'll need to calculate the value of "Target Throughput" field of CTT 'cause it's per minute. Maybe if your request is too slow you'll need to put a value lower than 30 in this field. Hope it helps you. Fl=E1vio Cysne 2012/3/5 ruthm > Is it possible to set up the following scenario using JMeter? > > I have 30 users browsing through a site at the same time - I use a > threadgroup with 30 threads to do that. > > There is then one particular http request which i want to synchronize suc= h > that only one user can carry out that request at a time. Is there any > controller that allows me to do this? > > Thanks > Ruth > > -- > View this message in context: > http://jmeter.512774.n5.nabble.com/Allowing-only-one-thread-to-make-a-req= uest-at-a-time-tp5537163p5537163.html > Sent from the JMeter - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org > For additional commands, e-mail: user-help@jmeter.apache.org > > --0015175cb66ecc993204ba7f26fe--