int port = org.atmosphere.tests.BaseTest.TestHelper.getEnvVariable("ATMOSPHERE_HTTP_PORT", findFreePort());
urlTarget = "http://127.0.0.1:" + port + "/invoke";
server = new Server(port);
root = new Context(server, "/", Context.SESSIONS);
atmoServlet = new MeteorServlet();
atmoServlet.addInitParameter("org.atmosphere.servlet", Meteor1.class.getName());
configureCometSupport();
root.addServlet(new ServletHolder(atmoServlet), ROOT);
server.start();
}