final int count = RndTestPatternGenerator.generateCount(1000);
final HttpHost target = new HttpHost("localhost", ((InetSocketAddress)endpoint.getAddress()).getPort());
final BasicHttpRequest request = new BasicHttpRequest("GET", pattern + "x" + count);
final Future<HttpResponse> future = this.client.execute(
new BasicAsyncRequestProducer(target, request),
new LenientAsyncResponseConsumer(),
null, null);
final HttpResponse response = future.get();
Assert.assertNotNull(response);