Re: Migration to HC4/HC5 last version

2017-10-12 Thread Aleksei Balan
Hello Philippe Mouawad, I think the idea of getting rid of virtual host is to simplify the object design. Virtual host functionality can be reduced to simple setting of the "Host" header in http request. You can see the example of virtual host implementation for httpclient 5.0 here https://github.

Re: Migration to HC4/HC5 last version

2017-10-12 Thread Gary Gregory
On Oct 12, 2017 02:48, "Oleg Kalnichevski" wrote: On Mon, 2017-10-09 at 23:19 +0200, Philippe Mouawad wrote: > Hello, > Within JMeter projet I am working on migration fully to last APIs of > HttpClient: > >- https://bz.apache.org/bugzilla/show_bug.cgi?id=58757 > > You can see current code her

Re: Migration to HC4/HC5 last version

2017-10-12 Thread Philippe Mouawad
No problem Oleg, answering after 2 days is pretty acceptable and you're doing this on your personal time so I have nothing to say. I hope you'll handle your personal and work issues and be in a better state , good luck On Thu, Oct 12, 2017 at 10:50 AM, Oleg Kalnichevski wrote: > On Wed, 2017-10

Re: SSL related question on trust- and keymaterial

2017-10-12 Thread Oleg Kalnichevski
On Wed, 2017-10-11 at 17:27 +0200, Mitchell Stevenson wrote: > I use httpcore 4.4.4 together with mutual ssl. > > I load the key material in that way: > > KeyStore trustStore = ...; > sslContextBuilder.loadTrustMaterial(trustStore, null); > > Question is: If there are more than one aliases with

Re: Scheduled release for Apache HttpClient 4.5.4 (HTTPCLIENT-1836)

2017-10-12 Thread Oleg Kalnichevski
On Wed, 2017-10-11 at 09:15 +0200, Jochen Schalanda wrote: > Hi everyone, > > I've been bitten by the bug described in [1] which has been fixed in > the 4.5.x branch [2] and is supposed to be part of Apache HttpClient > 4.5.4. > > Is there already a date for the release of Apache HttpClient 4.5.4

Re: Migration to HC4/HC5 last version

2017-10-12 Thread Oleg Kalnichevski
On Wed, 2017-10-11 at 20:55 +0200, Philippe Mouawad wrote: > Hello Team, > Pinging again in case somebody can help. > Regards > My apologies, Philippe I was (still am) buried under with work related and personal issues. Oleg > > On Mon, Oct 9, 2017 at 11:19 PM, Philippe Mouawad g> > wrote:

Re: Migration to HC4/HC5 last version

2017-10-12 Thread Oleg Kalnichevski
On Mon, 2017-10-09 at 23:19 +0200, Philippe Mouawad wrote: > Hello, > Within JMeter projet I am working on migration fully to last APIs of > HttpClient: > >    - https://bz.apache.org/bugzilla/show_bug.cgi?id=58757 > > You can see current code here: > >    - https://github.com/ubikloadpack/jmete

Re: Migration to HC4/HC5 last version

2017-10-12 Thread Philippe Mouawad
Thanks for your help Aleksei So 1 question remains for me: - "Slow " connection feature: - This feature allows to simulate slow connection. Currently we wrap Input/Output stream returned by socket with SlowInputStream/ SlowOutputStream - https://github.com/apache/jmeter/