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 21B0E10602 for ; Sun, 16 Feb 2014 17:05:28 +0000 (UTC) Received: (qmail 40411 invoked by uid 500); 16 Feb 2014 17:05:27 -0000 Delivered-To: apmail-jmeter-dev-archive@jmeter.apache.org Received: (qmail 40386 invoked by uid 500); 16 Feb 2014 17:05:27 -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 40378 invoked by uid 99); 16 Feb 2014 17:05:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Feb 2014 17:05:27 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of philippe.mouawad@gmail.com designates 209.85.223.174 as permitted sender) Received: from [209.85.223.174] (HELO mail-ie0-f174.google.com) (209.85.223.174) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Feb 2014 17:05:20 +0000 Received: by mail-ie0-f174.google.com with SMTP id as1so316182iec.19 for ; Sun, 16 Feb 2014 09:04: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=cCmerXrVVb1gbWjHaS47oD6NcLUdOMsYh5lHmqnro58=; b=gmEiG7MjNccIbTjDq7U5cOIX3ctA3Di4vCLunPNrLAEk4HoGnZnuYb90bmWEAGU75q 7hi4g0xL7vraeJodgkLcsVtiXM1j6llDnuFCoB7x6rJCiljEogscxCYxGABR0lgd/ggM dsfHSvQjm5XKeVMv6DhKzCfr09UrBB9AKV+EQ1TynnYda3WlVEuWyq7mTiZutTp2QFC7 To304bDKrcOLRbZInOwAv5npMWrqRdcGOnvwgjgcj1PkHNvt8+DvkJvjrfgbM80D8R/l bs8xYA4xr36WxGOEIB/rJJD3/U8xCA4b0qBAwyDEj705EG0ZBnetSR1wePwhm65QGptI /2zA== MIME-Version: 1.0 X-Received: by 10.50.28.116 with SMTP id a20mr12650142igh.5.1392570298708; Sun, 16 Feb 2014 09:04:58 -0800 (PST) Received: by 10.43.64.212 with HTTP; Sun, 16 Feb 2014 09:04:58 -0800 (PST) In-Reply-To: References: Date: Sun, 16 Feb 2014 18:04:58 +0100 Message-ID: Subject: Re: Some questions about HTTPHC4Impl From: Philippe Mouawad To: "dev@jmeter.apache.org" Content-Type: multipart/alternative; boundary=089e0158b29efab96704f2890974 X-Virus-Checked: Checked by ClamAV on apache.org --089e0158b29efab96704f2890974 Content-Type: text/plain; charset=ISO-8859-1 Thanks, And what about resetter , Is it for what I said ? Thanks On Sun, Feb 16, 2014 at 4:16 PM, sebb wrote: > On 16 February 2014 14:06, Philippe Mouawad > wrote: > > ((AbstractHttpClient) > > httpClient).addResponseInterceptor(METRICS_SAVER); // HACK > > > > Any clarification about this hack ? > > > > I understand METRICS_SAVER saves metrics as another attribute name, but > why > > as it should be available under ((HttpConnection) > > context.getAttribute(ExecutionContext.HTTP_CONNECTION).getMetrics(); > > And METRICS_RESETTER resets these metrics. > > > > I suppose the reset is to have metrics per sample but some comments would > > be useful to clarify exactly: > > - Why we need to reset, is it only to have it per sample ? this can be an > > issue as we loose information like number of requests ... > > - Why we need to have METRICS_SAVER, was it some due to a temporary bug > or > > missing feature in HTTPClient 4 at time of writing ? > > It's a missing feature. > > See https://issues.apache.org/jira/browse/HTTPCLIENT-1081 > > > Regards > > Philippe > > > > > > On Sun, Feb 16, 2014 at 2:48 PM, Philippe Mouawad < > > philippe.mouawad@gmail.com> wrote: > > > >> Hello, > >> Looking at code of HTTPHC4Impl, I see this: > >> > >> private static final String CONTEXT_METRICS = "jmeter_metrics"; // > >> TODO hack, to be removed later > >> > >> > >> -- > >> Cordialement. > >> Philippe Mouawad. > >> > >> > >> > > > > > > -- > > Cordialement. > > Philippe Mouawad. > -- Cordialement. Philippe Mouawad. --089e0158b29efab96704f2890974--