IHttpResponse resp = httpClient.call(new GetRequest("http://localhost:" + server.getLocalPort() + "/test"));
Assert.assertEquals(200, resp.getStatus());
QAUtil.sleep(1000);
resp = httpClient.call(new GetRequest("http://localhost:" + server.getLocalPort() + "/test"));
Assert.assertEquals(200, resp.getStatus());
Assert.assertTrue(resp.getHeader(CacheHandler.XHEADER_NAME).startsWith("HIT"));
Assert.assertEquals(2, httpClient.getNumCacheHit());
Assert.assertEquals(2, httpClient.getNumCacheMiss());