String uri = "/random/" + sizes[i];
if (sizes[i] < 0)
uri += "/";
HttpGet request = new HttpGet(uri);
HttpClientConnection conn = connectTo(target);
httpContext.setAttribute(
ExecutionContext.HTTP_CONNECTION, conn);
httpContext.setAttribute(
ExecutionContext.HTTP_TARGET_HOST, target);
httpContext.setAttribute(
ExecutionContext.HTTP_REQUEST, request);
request.setParams(
new DefaultedHttpParams(request.getParams(), defaultParams));
httpExecutor.preProcess
(request, httpProcessor, httpContext);
HttpResponse response = httpExecutor.execute
(request, conn, httpContext);
response.setParams(