/** Starts server */
 protected static void start() {
   try {
     // String[] args = new String[0];
     // ProxySettings.init(args, settings);
     Starter.start("localhost", getTestPort(), "http://localhost:" + getTestPort());
   } catch (Exception e) {
     // TODO Auto-generated catch block
     e.printStackTrace();
   }
 }
  /** Executed once after all test methods */
  @AfterClass
  public static void afterClass() {
    Starter.stop();
    Engine.clearThreadLocalVariables();

    // Close test-case documentation file
    if (docAPI != null) {
      docAPI.close();
      docAPI = null;
    }
  }