public static HttpServer createAndStartTestServer() throws IOException {
    HttpServer server = createTestServer();
    server.start();
    return server;
  }
Create and start a server with the test webapp
@return the newly started server
@throws IOException    on any failure
@throws AssertionError if a condition was not met
hbase-http/src/test/java/org/apache/hadoop/hbase/http/HttpServerFunctionalTest.java