You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by Philippe Mouawad <ph...@gmail.com> on 2015/12/05 14:27:59 UTC

Re: Issues when upgrading from 3 to 4.2.6 or 4.5.1

For info.
Thoughts ?

On Friday, December 4, 2015, Philippe Mouawad <ph...@gmail.com>
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
>
> On Wed, Dec 2, 2015 at 4:00 PM, Oleg Kalnichevski <olegk@apache.org
> <javascript:_e(%7B%7D,'cvml','olegk@apache.org');>> 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
>> <javascript:_e(%7B%7D,'cvml','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
>> <javascript:_e(%7B%7D,'cvml','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
>> <javascript:_e(%7B%7D,'cvml','httpclient-users-unsubscribe@hc.apache.org');>
>> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>> <javascript:_e(%7B%7D,'cvml','httpclient-users-help@hc.apache.org');>
>>
>>
>
>
> --
> Cordialement.
> Philippe Mouawad.
>
>
>

-- 
Cordialement.
Philippe Mouawad.