private BeeLine openBeeLineConnection(String[] beelineArgs) throws IOException {
    BeeLine beeLine = new BeeLine();
    beeLine.begin(beelineArgs, null);
    return beeLine;
  }
Test the connection metrics using BeeLine client, when HS2 is started in binary mode.
itests/hive-unit/src/test/java/org/apache/hive/jdbc/miniHS2/TestHs2ConnectionMetricsBinary.java