long start = System.currentTimeMillis();
HttpClient client = createClient(10, 1);
HttpMethodBase method = createGetMethod();
try {
HttpStatusCode statusCode = client.executeMethod(method);
assertEquals(HttpStatusCode.OK, statusCode);
} catch (InterruptedIOException expected) {
long end = System.currentTimeMillis();
long period = end - start;