hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Right way to simulate session connections in loadtesting simulator using HttpClient
Date Tue, 09 Dec 2014 13:56:27 GMT
On Mon, 2014-12-08 at 11:37 -0600, Steve Cohen wrote:
> To be a little more specific about what I am looking for:
> The standard way of creating HttpClients seems to be
> HttpClientBuilder.build().  If you don't specify an 
> HttpClientConnectionManager, the pooled one will be used, which is not 
> what I want.  If I specify, instead, a BasicHttpClientConnectionManager, 
> and then try to work through the HttpClient, closing it at the end of 
> the session, I get all sorts of IllegalStateExceptions due to the 
> underlying state of the connection.

What sorts of IllegalStateException specifically?


To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org

View raw message