@Test
public void testSendRequestSync() throws Exception {

    String reportingHost = runJetty();
    DataConsumer theConsumer = new DataConsumer();
    theConsumer.setReportingHost(reportingHost);
    String response = theConsumer.sendRequestSync("test1");
    Assert.assertEquals("test1", response.trim());
}