public void run() {
        populateTestData();
        final WS.Response response = WS.url(BASE_URL + REST_JOB_METRICS_GRAPH_DATA_PATH).
            setQueryParameter("id", TEST_JOB_DEF_ID1).
            get().get(RESPONSE_TIMEOUT, TimeUnit.MILLISECONDS);
        List<String> jobList = response.asJson().findValuesAsText("stageid");
        assertTrue("Job id 1 missing in list", jobList.contains(TEST_JOB_ID1));
        assertTrue("Job id 2 missing in list", jobList.contains(TEST_JOB_ID2));
      }
<p>
  Rest API - Provides data for plotting the job history graph for time and resources
</p>
test/rest/RestAPITest.java