public void stop() throws Exception {
    httpServer.stop();
    DefaultMetricsSystem.shutdown();
  }
@Test
  public void testJustStop() throws Exception {
    webServer = createWebServer(createConfigurationWithRandomSecret());
    webServer.stop();
  }