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 0C1151843C for ; Sun, 13 Dec 2015 21:09:52 +0000 (UTC) Received: (qmail 28683 invoked by uid 500); 13 Dec 2015 21:09:51 -0000 Delivered-To: apmail-jmeter-dev-archive@jmeter.apache.org Received: (qmail 28654 invoked by uid 500); 13 Dec 2015 21:09:51 -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 28642 invoked by uid 99); 13 Dec 2015 21:09:51 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Dec 2015 21:09:51 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 29E3218047A for ; Sun, 13 Dec 2015 21:09:51 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.899 X-Spam-Level: ** X-Spam-Status: No, score=2.899 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 4EptAg1Rty0Y for ; Sun, 13 Dec 2015 21:09:45 +0000 (UTC) Received: from mail-ig0-f176.google.com (mail-ig0-f176.google.com [209.85.213.176]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 91534251C6 for ; Sun, 13 Dec 2015 21:09:45 +0000 (UTC) Received: by mail-ig0-f176.google.com with SMTP id g19so70254804igv.1 for ; Sun, 13 Dec 2015 13:09:45 -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 :cc:content-type; bh=afcl8KKxhxUXGOv/t96x5TrJmWdseV9luHIcwc9Kmts=; b=qcPbeBOVUXgLtFPpioSGLd+iwi+8m3PNwl6hmkW6ndRMheImp7iU8wlIAFjHXZnzJc oWxCLpRE8DWRNT37nmI2kp2aNpIB8H+0h4iziadI6Jl7G/S7oNL6+oPQUjHWX0R9Si28 fOx1CgBoCeapIEVp+YJlfH2c47kno3lPqUSVDNe83n8jmdE8PknvMDkqybJBO6BaQZmY N2V62uj724Ti4lMABFbiO9h1Ak5cV1RM8cBPCM9KliRtdYJwcMGwsPkjiXBCvqhaurBX eJe9xXvSehMO+fp1nO+rlNIY1l2szFFSBrULnty0NQviCkbr2XfNusZK6Hqgc1ZN4GOE i9LQ== MIME-Version: 1.0 X-Received: by 10.50.66.236 with SMTP id i12mr15192635igt.14.1450040985059; Sun, 13 Dec 2015 13:09:45 -0800 (PST) Received: by 10.107.51.5 with HTTP; Sun, 13 Dec 2015 13:09:44 -0800 (PST) In-Reply-To: References: <1449066992.12071.17.camel@apache.org> <1449068437.12071.23.camel@apache.org> <1449318418.12301.4.camel@apache.org> Date: Sun, 13 Dec 2015 22:09:44 +0100 Message-ID: Subject: Re: Issues when upgrading from 3 to 4.2.6 or 4.5.1 From: Philippe Mouawad To: HttpClient User Discussion Cc: "dev@jmeter.apache.org" Content-Type: multipart/alternative; boundary=047d7bdc0ce0d32b1d0526cdf9e7 --047d7bdc0ce0d32b1d0526cdf9e7 Content-Type: text/plain; charset=UTF-8 Hi, Created https://issues.apache.org/jira/browse/HTTPCLIENT-1705 with a Test case in it to show issue with Domain starting with ".". Regards On Sun, Dec 13, 2015 at 9:50 PM, Philippe Mouawad < philippe.mouawad@gmail.com> wrote: > Hi Oleg, > Created https://issues.apache.org/jira/browse/HTTPCLIENT-1705 to show > issue with Cookie Header ordering. > > Regards > > On Sun, Dec 13, 2015 at 9:30 PM, Philippe Mouawad < > philippe.mouawad@gmail.com> wrote: > >> Hi, >> I created https://issues.apache.org/jira/browse/HTTPCLIENT-1704 with >> JUnit test case so that you understand the difference we have. >> >> Regards >> >> On Sat, Dec 5, 2015 at 1:26 PM, Oleg Kalnichevski >> wrote: >> >>> On Fri, 2015-12-04 at 21:43 +0100, Philippe Mouawad wrote: >>> > Thanks Oleg. >>> > But look at >>> > >>> https://github.com/ubikloadpack/jmeter/blob/HC4_5/test/src/org/apache/jmeter/protocol/http/control/TestCookieManager.java#L368 >>> , >>> > it concerns IGNORE_POLICY >>> > >>> > I really think there is at least one bug. >>> > Regards >>> > >>> >>> Sure thing. All these issues may well be due to bugs in HC. Could you >>> please though reproduce them with unit tests that do not involve JMeter >>> specific code? >>> >>> Oleg >>> >>> >>> > On Wed, Dec 2, 2015 at 4:00 PM, Oleg Kalnichevski >>> wrote: >>> > >>> > > On Wed, 2015-12-02 at 15:51 +0100, Philippe Mouawad wrote: >>> > > > Hi Oleg, >>> > > > Thanks for answer. >>> > > > >>> > > > Find my answers inline. >>> > > > Regards >>> > > > >>> > > > On Wed, Dec 2, 2015 at 3:36 PM, Oleg Kalnichevski < >>> olegk@apache.org> >>> > > wrote: >>> > > > >>> > > > > On Tue, 2015-12-01 at 22:09 +0100, Philippe Mouawad wrote: >>> > > > > > Hello, >>> > > > > > Any answer on this question ? >>> > > > > > Thanks >>> > > > > > Regards >>> > > > > > >>> > > > > > On Sun, Nov 15, 2015 at 8:39 PM, Philippe Mouawad < >>> > > > > > philippe.mouawad@gmail.com> wrote: >>> > > > > > >>> > > > > > > Hello, >>> > > > > > > We're in the process of migrating JMeter to last HttpClient >>> 4.5.1. >>> > > > > > > >>> > > > > > > We are now migrating the CookieManager to remove all >>> deprecated >>> > > code. >>> > > > > > > To test this class, we had a JUNIT class : >>> > > > > > > >>> > > > > > > >>> > > > > >>> > > >>> https://github.com/ubikloadpack/jmeter/blob/HC4_5/test/src/org/apache/jmeter/protocol/http/control/TestCookieManager.java >>> > > > > > > >>> > > > > > > Before migration, it was still testing HC3 version. >>> > > > > > > So we first switched to HC4.23 and noticed some failures: >>> > > > > > > >>> > > > > >>> > > > > I am confused. Are you using HC 4.2.3 or HC 4.5.1? >>> > > > >>> > > > >>> > > > As I wrote, first we switched our JUnit tests to use HC4 >>> Implementation >>> > > of >>> > > > CookieHandler and used 4.2.3, we got some failures compared to HC3. >>> > > > >>> > > > Then we switched from HC 4.2.3 to HC 4.5.1 and got other failures >>> all >>> > > > detailed in initial mail. >>> > > > >>> > > > >>> > > > What policy does >>> > > > > CookeManager use internally? >>> > > > > >>> > > > It depends on tests, you can see in the code that depending on test >>> > > method >>> > > > we set different Policy to test them. >>> > > > >>> > > >>> > > You ought to be using RFC6265 policy either in strict or relaxed mode >>> > > and nothing else. All other policies have been marked as obsolete and >>> > > have already been removed in 5.0 (trunk). >>> > > >>> > > Oleg >>> > > >>> > > >>> > > --------------------------------------------------------------------- >>> > > To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org >>> > > For additional commands, e-mail: httpclient-users-help@hc.apache.org >>> > > >>> > > >>> > >>> > >>> >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org >>> For additional commands, e-mail: httpclient-users-help@hc.apache.org >>> >>> >> >> >> -- >> Cordialement. >> Philippe Mouawad. >> >> >> > > > -- > Cordialement. > Philippe Mouawad. > > > -- Cordialement. Philippe Mouawad. --047d7bdc0ce0d32b1d0526cdf9e7--