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 36888CD19 for ; Sun, 30 Nov 2014 17:47:56 +0000 (UTC) Received: (qmail 60844 invoked by uid 500); 30 Nov 2014 17:47:56 -0000 Delivered-To: apmail-jmeter-dev-archive@jmeter.apache.org Received: (qmail 60814 invoked by uid 500); 30 Nov 2014 17:47:56 -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 60802 invoked by uid 99); 30 Nov 2014 17:47:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Nov 2014 17:47: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 (nike.apache.org: domain of sebbaz@gmail.com designates 74.125.82.46 as permitted sender) Received: from [74.125.82.46] (HELO mail-wg0-f46.google.com) (74.125.82.46) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Nov 2014 17:47:30 +0000 Received: by mail-wg0-f46.google.com with SMTP id a1so4072829wgh.5 for ; Sun, 30 Nov 2014 09:45:59 -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=+ZgmEinLkYIYGW0uFexEyPNyQGneyKx56u/ojS8H79E=; b=XoxAo2yCRnFT3rM+uPxdaZHJ02pgZwocFvyhlvpfrVh77l2LLu/n5f9k4Vkjdjrz07 VFXHrmuuCjOaRbNSsJL4gigIgUFeWKvkA/uHtmw6ilRE1vUH8XHuEfn+GytENUWjQowF 7dbRUwBFr/aS1xb7IxQoJBgzXigM+ae+Mo1MECqrPyIkdf/qIMT6ziRdJyE+QJJE7/hh Clc3FAVMLIF8wJCpxY5eoqMGaWlWxyGlJwCXcC+pkwHzuPrC9Auqf9Qc4bbclJmniPXS uynDGJpNl5TXQiFL+Yb2s3yTq0G+Ia3tsCPk5uaQ1AhdJllJ46rI/75/sw2sr7uVsVuK 9QtA== MIME-Version: 1.0 X-Received: by 10.180.77.7 with SMTP id o7mr13902599wiw.81.1417369559820; Sun, 30 Nov 2014 09:45:59 -0800 (PST) Received: by 10.194.138.101 with HTTP; Sun, 30 Nov 2014 09:45:59 -0800 (PST) In-Reply-To: References: <5479B8B8.9010301@ya.ru> Date: Sun, 30 Nov 2014 17:45:59 +0000 Message-ID: Subject: Re: Introduce connect times for SampleResult? From: sebb To: dev@jmeter.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org On 29 November 2014 at 20:05, Philippe Mouawad wrote: > Hi, > Interesting, +1 for me. > > By the way it would be nice to have some opinion from all dev team on this: > - https://www.mail-archive.com/dev@jmeter.apache.org/msg03444.html Please don't mix unrelated items in the same e-mail. > AFAIK, only Milamber gave some feedback. If you want more feedback, please add to the original thread. > Regards > Philippe > > On Sat, Nov 29, 2014 at 2:06 PM, sebb wrote: > >> On 29 November 2014 at 12:14, Andrey Pokhilko wrote: >> > Hi, >> > >> > Many times I see a sence to have connect times measured separately, in >> > addition to latency that we have in SampleResult. It is important when >> > measuring a time for SSL handshake and DNS resolving, when users want to >> > see it separate share in total Response Time. >> > >> > Connect time is available as separate metric in Grinder and Yandex.Tank. >> > The latter has following details on response time pars: connect, send, >> > latency, receive. Sometimes some parts are zero, but at least there is a >> > technical possibility to see when it is non-zero. It should be noted >> > that full breakdown would be: dns, connect, send, latency, receive. >> > >> > Send and receive times are not of great importance, IMO. And I would >> > cope with connect time including DNS resolve time. But having connect >> > time would add interesting aspect on results. >> >> [I expect DNS resolve time might be very tricky to measure in Java] >> >> > For implementation it will require adding one more property with getters >> > and setters to SampleResult, modifying SampleSaveConfiguration and UI >> > settings to configure saving, using this new field in HTTP sampler, TCP >> > sampler, maybe there are other samplers that can respect this field. >> >> The docs would need to be updated to state whether a sampler supports >> the metric or not. >> >> > As separate question I would raise if latency should not include connect >> > time, for me it sounds logical, but changes existing behavior. >> >> Connect time is currently included in both latency and elapsed. >> >> The simplest would be to just add connect as a separate time, but not >> subtract it from latency or elapsed. >> This would allow further analysis without changing behaviour. >> Maybe add an option to perform the subtraction. >> I don't think we should change the default behaviour. >> >> > Any opinions? >> >> I can see its use and am not against it, but it needs quite a lot of >> work to implement fully. >> >> > -- >> > Andrey Pokhilko >> > >> > > > > -- > Cordialement. > Philippe Mouawad.