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