@Test
  public void testProperties0() throws Exception {
      runOtherProperties0(client);

    HttpClient client = HttpClients.createDefault();
    String jwt = generateJWT();
    NameValuePair[] nvp = new NameValuePair[]{
        new BasicNameValuePair("key", "db0.table01.fillFactor"),
        new BasicNameValuePair("key", "db0.table04.fillFactor")
    };
    URI uri = new URIBuilder()
        .setScheme("http")
        .setUserInfo("hive")
        .setHost("localhost")
        .setPort(servletPort)
        .setPath("/" + path + "/" + NS)
        .setParameters(nvp)
        .build();
    HttpGet get = new HttpGet(uri);
    get.addHeader("Authorization", "Bearer " + jwt);
    get.addHeader("Content-Type", "application/json");
    get.addHeader("Accept", "application/json");
    get.addHeader(MetaStoreUtils.USER_NAME_HTTP_HEADER, "hive");

    Map<String,String> result = null;
    HttpResponse response = client.execute(get);
    try {
      Assert.assertEquals(HttpServletResponse.SC_OK, response.getStatusLine().getStatusCode());
      HttpEntity entity = response.getEntity();
      if (entity != null) {
        Gson gson = new GsonBuilder().create();
        ContentType contentType = ContentType.getOrDefault(entity);
        Charset charset = contentType.getCharset();
        Reader reader = new InputStreamReader(entity.getContent(), charset);
        result = (Map<String, String>) gson.fromJson(reader, Object.class);
      }
      Assert.assertNotNull(result);
      Assert.assertEquals(2, result.size());
    } finally {
      if (response instanceof AutoCloseable) {
        ((AutoCloseable) response).close();
      }
      if (client instanceof AutoCloseable) {
        ((AutoCloseable) client).close();
      }
    }
  }
A property client that uses http as transport.
standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/properties/HMSServletTest.java