HttpGet httpget = new HttpGet("http://localhost:" + PORT + "/ww");
HttpResponse response = httpclient.execute(httpget);
assertNotNull(response);
assertEquals(200, response.getStatusLine().getStatusCode());
assertEquals(new ProtocolVersion("HTTP", 1, 1), response.getStatusLine().getProtocolVersion());
assertEquals("OK", response.getStatusLine().getReasonPhrase());
String payLoad = convertStreamToString(response.getEntity().getContent()).trim();
assertEquals("12", payLoad);
assertEquals(5, response.getAllHeaders().length);
assertEquals("2", response.getFirstHeader("Content-Length").getValue());