hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Mouawad <p.moua...@ubik-ingenierie.com>
Subject Re: How to clear SSL State in HC4.5.5
Date Sat, 10 Mar 2018 13:08:38 GMT
Hello,
Any feedback on this ?


Thanks

On Sat, Feb 24, 2018 at 12:24 PM, Philippe Mouawad <
p.mouawad@ubik-ingenierie.com> wrote:

> Hello,
>
> In current jmeter trunk when we have Client certificate authentication and
> we need to reset SSL State so another SSLContext is created we do this:
> https://github.com/apache/jmeter/blob/trunk/src/protocol/http/org/apache/
> jmeter/protocol/http/sampler/HTTPHC4Impl.java#L838
>
>
> We are currently migrating to last 4.5 and would like to know what is the
> clean way to reset SSL State ?
> Since httpClient.getConnectionManager() is deprecated.
> Should we keep a reference to PoolingHttpClientConnectionManager and call
> those methods on it ?
>
> Current state of migration is here:
>
>    - https://github.com/ubikloadpack/jmeter/blob/HC4_
>    FULL_MIGRATION/src/protocol/http/org/apache/jmeter/
>    protocol/http/sampler/HTTPHC4Impl.java#L973
>    <https://github.com/ubikloadpack/jmeter/blob/HC4_FULL_MIGRATION/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java#L973>
>
>
> To recap, in JMeter we have 1 HttpClient per User (and this is needed as
> per a previous discussion on this mailing list).
>
> Thanks for your help.
> --
> Regards.
> Philippe M.
>
>
>


-- 
Cordialement.
Philippe Mouawad.
Ubik-Ingénierie

UBIK LOAD PACK Web Site <http://www.ubikloadpack.com/>

UBIK LOAD PACK on TWITTER <https://twitter.com/ubikloadpack>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message