Return-Path: X-Original-To: apmail-jakarta-jmeter-user-archive@www.apache.org Delivered-To: apmail-jakarta-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 1555A6201 for ; Wed, 22 Jun 2011 17:13:20 +0000 (UTC) Received: (qmail 3724 invoked by uid 500); 22 Jun 2011 17:13:19 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 3696 invoked by uid 500); 22 Jun 2011 17:13:19 -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 3685 invoked by uid 99); 22 Jun 2011 17:13:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jun 2011 17:13:19 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of shettyd@gmail.com designates 209.85.161.174 as permitted sender) Received: from [209.85.161.174] (HELO mail-gx0-f174.google.com) (209.85.161.174) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jun 2011 17:13:11 +0000 Received: by gxk21 with SMTP id 21so678744gxk.33 for ; Wed, 22 Jun 2011 10:12:50 -0700 (PDT) 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; bh=zJtqnPnmciv23tdSScodR9RMII//iqqaSpZn+oTjaCw=; b=s4ziFabq3YOKtqbcV0qi3o0h5SgF5Su1+w8CHuxt94iZtTpBqRItLiazAR5832LlZq sjHbj07sQUgxWqghuIiSx5ih7DzBT+hKoxbt+pi8GPh+pR+4fNrZstavl2m7qzHh54dB P7rKo7Va2tCYEYxTaQ3HKFWn+9LF6NuylfmQE= 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; b=ctJxUrFPLkZNdCIS+PopinRPoChP86mi/rbHQb/WK+FipHW1T4uEtTIGUJUx+2qafz DYYiB9+GSFakMP5KmcM3/jqGZxRXIGcXB3PjhdPS5HbvnLUNiWl+SRAK4PUS4AhazXjJ DpTxVw3mQ7VJL4LYvCy6bi64EN3qrF/vWcGKg= MIME-Version: 1.0 Received: by 10.150.138.18 with SMTP id l18mr1027636ybd.445.1308762770234; Wed, 22 Jun 2011 10:12:50 -0700 (PDT) Received: by 10.150.198.3 with HTTP; Wed, 22 Jun 2011 10:12:50 -0700 (PDT) In-Reply-To: References: Date: Wed, 22 Jun 2011 10:12:50 -0700 Message-ID: Subject: Re: Once only per thread group From: Deepak Shetty To: JMeter Users List Content-Type: multipart/alternative; boundary=000e0cd56b2003dc7b04a650142d X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd56b2003dc7b04a650142d Content-Type: text/plain; charset=ISO-8859-1 http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Test_Plan RunThread Groups consecutively. The other option is an IF controller which is true only when the thread number is one , followed by a dummy sampler .which has sync timer (with a value = total number of threadS) regards deepak On Wed, Jun 22, 2011 at 10:06 AM, E S wrote: > I have a setup in which I have a single thread group that runs 50 threads > and each of those threads runs one HTTP Request like this: > > Test Plan > -- Thread Group (50 threads running one time each) > -- -- HTTP Request > -- -- View Results Tree > > I need to add another HTTP Request but it has to execute one time as the > very first thing for the entire test plan. The Once Only Controller doesn't > work because it executes once per thread, not per thread group. I tried > adding another thread group above the first one like this: > > Test Plan > -- Thread Group (1 thread doing one thing, must run before the one below > it) > -- -- HTTP Request > > -- Thread Group (50 threads running one time each) > -- -- HTTP Request > -- -- View Results Tree > > However, I would need to make sure the first thread group executes in full > before the second one starts and I couldn't figure out how to do that. Is > there another way to achieve this? > --000e0cd56b2003dc7b04a650142d--