public void run() {
running.incrementAndGet();
try {
org.apache.commons.httpclient.HttpClient httpClient = new org.apache.commons.httpclient.HttpClient();
httpClient.getParams().setParameter(HttpMethodParams.RETRY_HANDLER, new DefaultHttpMethodRetryHandler(0, false));
for (int j = 0; j< 1000; j++) {
GetMethod getMeth = new GetMethod("http://localhost:" + server.getLocalPort() + "/");
httpClient.executeMethod(getMeth);