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 4D6E917785 for ; Wed, 15 Apr 2015 09:34:03 +0000 (UTC) Received: (qmail 31196 invoked by uid 500); 15 Apr 2015 09:34:03 -0000 Delivered-To: apmail-jmeter-dev-archive@jmeter.apache.org Received: (qmail 31161 invoked by uid 500); 15 Apr 2015 09:34:03 -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 31102 invoked by uid 99); 15 Apr 2015 09:34:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Apr 2015 09:34:02 +0000 X-ASF-Spam-Status: No, hits=2.4 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of apc4@ya.ru designates 84.201.143.141 as permitted sender) Received: from [84.201.143.141] (HELO forward8l.mail.yandex.net) (84.201.143.141) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Apr 2015 09:33:56 +0000 Received: from smtp1h.mail.yandex.net (smtp1h.mail.yandex.net [IPv6:2a02:6b8:0:f05::115]) by forward8l.mail.yandex.net (Yandex) with ESMTP id 3B29C1A41AA9 for ; Wed, 15 Apr 2015 12:32:33 +0300 (MSK) Received: from smtp1h.mail.yandex.net (localhost [127.0.0.1]) by smtp1h.mail.yandex.net (Yandex) with ESMTP id 9F8B71341061 for ; Wed, 15 Apr 2015 12:32:32 +0300 (MSK) Received: from 82-166-16-175.barak-online.net (82-166-16-175.barak-online.net [82.166.16.175]) by smtp1h.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id XgSK50rWLE-WVTmSWdK; Wed, 15 Apr 2015 12:32:31 +0300 (using TLSv1.2 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ya.ru; s=mail; t=1429090351; bh=ncBvMA4xe8nG91Ly5pauNf5SU1cub7FetiRYWXAkum4=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:Subject: Content-Type; b=wekLcC9Z/ChpkSeJXjR1J0yJZ/pVf/msJAtNR001xXzirweYx3uzE/09KZwDHq5eY OKtM/Sl91gF2MqLTvPCb4iijK+uhSq+IxAwkBUhTcFPhzzo8VC69Z4jB950UeLrF/z JoOWAEFphrHFxie5fCku6Ys1JJsYD2rTod8zuC3k= Authentication-Results: smtp1h.mail.yandex.net; dkim=pass header.i=@ya.ru Message-ID: <552E302E.5040304@ya.ru> Date: Wed, 15 Apr 2015 12:32:30 +0300 From: Andrey Pokhilko User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: dev@jmeter.apache.org Subject: Post-Sampler Timers Content-Type: multipart/alternative; boundary="------------020801090006020704030303" X-Virus-Checked: Checked by ClamAV on apache.org --------------020801090006020704030303 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Hi, When I try to introduce JMeter to new people, I frequently see them confused with our way to set "think times" before request. Especially those who used to use some other testing tools, where think-time is _after_ request. I personally think that think-time should be made after request, because its duration depends on the results of the request. If you have got long text as a result of your request, you supposed to spend some time reading it. If you have short error message, you supposed to do your next request much faster. The _delay_ time before request still makes sense, because it allows manipulating throughput and synchronize requests. I would like to contribute to JMeter following changes: 1. Add a property for Timers, marking them as "pre-sampler" or "post-sampler" timers 2. Modify thread execution flow to call pre-timers and post-timers accordingly 3. Modify timers UIs where it is reasonable, adding radio button to change timer mode Any thoughts/objections on this? -- Andrey Pokhilko --------------020801090006020704030303--