method = new GetMethod(url);
int status = httpClient.executeMethod(method);
assertEquals(HttpStatus.SC_OK, status);
String result = method.getResponseBodyAsString();
assertTrue(result.contains("hello"));
method.releaseConnection();
}
@Test
public void testGetEchoSimple() throws Exception {
HttpClient httpClient = createClient();
String url = "http://localhost:9167/SimpleEcho/simpleEcho/string/hello";