@Test(expected = SQLException.class)
  public void testFailureForUnsignedResponse() throws Exception {
    setupIDP(false, USER_PASS_MODE);
    try (TestHiveConnection connection = new TestHiveConnection(
        getSamlJdbcConnectionUrl(), new Properties(), USER1, USER1_PASSWORD)) {
      fail("Expected a failure since SAML response is not signed");
    }
  }
Util class to issue multiple connection requests concurrently.
itests/hive-unit/src/test/java/org/apache/hive/service/auth/saml/TestHttpSamlAuthentication.java