Hi Oleg,
Thanks for answer.

Find my answers inline.
Regards

On Wed, Dec 2, 2015 at 3:36 PM, Oleg Kalnichevski <ol...@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.moua...@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.

>
> HC 3.1 cookie support was probably never even remotely compliant with
> reasonably up to date HTTP state management specs.
>
I am aware of this.
But I think there are possibly issues as reported in initial mail.
I think some of the failing tests are outdated (but not all).


> Oleg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
> For additional commands, e-mail: httpclient-users-h...@hc.apache.org
>
>
Regards

Reply via email to