@Test
public void testClusterMetricsDefault() throws JSONException, Exception {

  WebResource r = resource();
  ClientResponse response = r.path("ws").path("v1").path("cluster")
      .path("metrics").get(ClientResponse.class);
  assertEquals(MediaType.APPLICATION_JSON + "; " + JettyUtils.UTF_8,
      response.getType().toString());
  JSONObject json = response.getEntity(JSONObject.class);
  verifyClusterMetricsJSON(json);
}