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 C2DF1387A for ; Fri, 6 May 2011 18:31:51 +0000 (UTC) Received: (qmail 2289 invoked by uid 500); 6 May 2011 18:31:51 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 2255 invoked by uid 500); 6 May 2011 18:31:51 -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 2246 invoked by uid 99); 6 May 2011 18:31:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 May 2011 18:31:51 +0000 X-ASF-Spam-Status: No, hits=1.3 required=5.0 tests=URI_HEX X-Spam-Check-By: apache.org Received-SPF: unknown (athena.apache.org: error in processing during lookup of eric.gandt@fatwire.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 May 2011 18:31:45 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from ) id 1QIPoD-0002Xu-Ht for jmeter-user@jakarta.apache.org; Fri, 06 May 2011 11:31:25 -0700 Date: Fri, 6 May 2011 11:31:25 -0700 (PDT) From: Eric Gandt To: jmeter-user@jakarta.apache.org Message-ID: <1304706685525-4376764.post@n5.nabble.com> Subject: Setting a varaiable on a thread group stopping MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I have 3 thread groups defined they consist of: Caching: to ensure the server is properly setup for Test Monitor: to monitor the health of apache, which should run as long as Test is running Test: Test thread group What I have are 2 variables defined: PreCache = 1 RunTest = 0 I have it setup using an If Controller so that the pre-cache is only executed when PreCache=1 When PreCache is finished I want it to set PreCache=0 and set RunTest=1 When Test is done I want it to set RunTest=0 so that the Monitor thread is stopped automatically. Basically this all depends upon setting a variable when a Thread Group finishes executing, which I'm unsure how to do, or even if there is a better way to do this, as this seems imperfect, but I did not see a better way within the Jmeter framework to do this. Thanks, ERIC -- View this message in context: http://jmeter.512774.n5.nabble.com/Setting-a-varaiable-on-a-thread-group-stopping-tp4376764p4376764.html Sent from the JMeter - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org