private void stopServer() throws Exception {
   server.stop();
 }
 private String url(String path) {
   return "http://localhost:" + server.getPort() + path;
 }
 private void startServer() throws Exception {
   server.start();
 }