Return-Path: X-Original-To: apmail-jmeter-dev-archive@minotaur.apache.org Delivered-To: apmail-jmeter-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2BA2F9A17 for ; Mon, 19 Mar 2012 12:39:55 +0000 (UTC) Received: (qmail 67124 invoked by uid 500); 19 Mar 2012 12:39:55 -0000 Delivered-To: apmail-jmeter-dev-archive@jmeter.apache.org Received: (qmail 67105 invoked by uid 500); 19 Mar 2012 12:39:55 -0000 Mailing-List: contact dev-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jmeter.apache.org Delivered-To: mailing list dev@jmeter.apache.org Received: (qmail 67096 invoked by uid 99); 19 Mar 2012 12:39:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Mar 2012 12:39:55 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sebbaz@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, 19 Mar 2012 12:39:50 +0000 Received: by bkwj5 with SMTP id j5so5520682bkw.2 for ; Mon, 19 Mar 2012 05:39:28 -0700 (PDT) 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:content-transfer-encoding; bh=A4yfL1wvCw/NB8tlBS5kp1kNSJnK/8z3ZdcYpfhx8JM=; b=DHS09hT83qJcI9t1nMFh8cynGajbTWn/XwaYYjv4hLDctRU4Brqit9UHmq2NPy1087 l06ZWOeYowu6epBy5M5s4BiU27Q8+6DvTAbdG4mOvthGMbayygtJGxHQYlHl2SkKQBdK FYlJF6UMA1Ln2abLRVbCfy/KWbyvSigcGwadx3eRllxrVWkffTm5xYL3aZnpGMx4H6x4 1TtvTAohPXcVKYhot5s8AJexbe+LWFYKNzqgkJWoeBhDSgp+zTyGW/PCI/jsISlX/Cfx LfUSgG9Dan2mHbPS1z/0R2lfQeeba5foiwZBksOms9bxQYSeDNHLKJthxuN08ejYbRzh pS9w== MIME-Version: 1.0 Received: by 10.204.152.219 with SMTP id h27mr4655371bkw.40.1332160768541; Mon, 19 Mar 2012 05:39:28 -0700 (PDT) Received: by 10.204.175.78 with HTTP; Mon, 19 Mar 2012 05:39:28 -0700 (PDT) In-Reply-To: <033f01cd05c6$b5b98430$212c8c90$@lazeryattack.com> References: <033f01cd05c6$b5b98430$212c8c90$@lazeryattack.com> Date: Mon, 19 Mar 2012 12:39:28 +0000 Message-ID: Subject: Re: What is the preffered way to detect that a test has ended and cleanup has completed? From: sebb To: dev@jmeter.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On 19 March 2012 11:52, Mark Collin wrote: > This is causing me a few issues. > > > > I've tried adding a test listener which detects the end of the test, the > problem is that I don't know when clean-up has completed and things like = the > reporting listener have completed their job(s). > What are you trying to achieve? > > I am currently doing the following: > > > > 1. =A0 =A0 =A0 Wait for a test end to be reported to the test listener. > > 2. =A0 =A0 =A0 Wait for a period of jmeter.exit.check.pause + 5000ms (The= pause > hard coded in Jmeter for listener cleanup) + 500ms (extra pause to provid= e > an error margin). > > > > Unfortunately I still seem to be continuing before the .jtl files have > finished being written intermittently. > > > > I could scan the JMeter log file and wait until it reports the end of the > test, but this is really not a very nice solution IMHO. =A0Is anything > triggered after JMeter has completed clean up and written the .jtl logs t= hat > I can hook a listener into that I have missed? JMeter non-GUI will exit.