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 BasicAsyncResponseConsumer(),
this.connpool);
try {
future.get();
Assert.fail("ExecutionException should have been thrown");
} catch (ExecutionException ex) {