private static String getHttpUrl() {
    return transportMode + "://" + IPStackUtils.concatHostPort(host, port) +
        "/" + thriftHttpPath + "/";
  }
Configure a wrong service endpoint for the client transport,
and test for error.
@throws Exception
itests/hive-unit/src/test/java/org/apache/hive/service/cli/thrift/TestThriftHttpCLIServiceFeatures.java