@Test
public void render() throws Exception {
ARServer server = new ARServer("localhost", 8080);
server.start();
String r = sendMessage("circlepoints","Count","RedWhiteLinear", "localhost", 8080);
server.stop();
assertTrue(r, r.startsWith("{\"xOffset"));
}
public String sendMessage(String dataset, String aggregate, String transfer, String host, int port) throws Exception {
dataset = URLEncoder.encode(dataset, "UTF-8");