server.start();
HttpClient httpClient = new HttpClient();
PutRequest request = new PutRequest("http://localhost:" + server.getLocalPort() + "/test", "text/plain", "12345");
IHttpResponse response = httpClient.call(request);
Assert.assertEquals(200, response.getStatus());
Assert.assertEquals("12345", response.getBlockingBody().readString());
httpClient.close();