HttpClient httpClient = new HttpClient();
httpClient.setMaxRetries(0);
for (int j = 0; j< 1000; j++) {
GetRequest request = new GetRequest("http://localhost:" + webContainer.getLocalPort() + "/");
IHttpResponse response = httpClient.call(request);
if (response.getStatus() != 200) {
System.out.println("status 200 expected. Got " + response);
errors.add("status 200 expected. Got " + response.getStatus());
}