Re: Getting the response time for multithreaded client

2008-03-25 Thread Oleg Kalnichevski
On Mon, 2008-03-24 at 22:19 +0100, Uwe Kubosch wrote: Hi Oleg! Thank you for your answer. How would I do it in HttpClient 4.0? The simplest way would be to register a request interceptor to log the start time of the request execution and a response interceptor to log the time a response

Re: Getting the response time for multithreaded client

2008-03-24 Thread Oleg Kalnichevski
On Thu, 2008-03-20 at 18:19 +0100, Uwe Kubosch wrote: Hi all! We are using the Commons HttpClient in a multithreaded application, and frequently there are more threads trying to use the client than the limit set by setMaxConnectionsPerHost. In this situation we still need to log the

Getting the response time for multithreaded client

2008-03-20 Thread Uwe Kubosch
Hi all! We are using the Commons HttpClient in a multithreaded application, and frequently there are more threads trying to use the client than the limit set by setMaxConnectionsPerHost. In this situation we still need to log the response time from the server. How can we do that? Measuring the