public void run() {
        populateTestData();
        final WS.Response response = WS.url(BASE_URL + REST_COMPARE_PATH).
            setQueryParameter("flow-exec-id1", TEST_FLOW_EXEC_ID1).
            setQueryParameter("flow-exec-id2", TEST_FLOW_EXEC_ID2).
            get().get(RESPONSE_TIMEOUT, TimeUnit.MILLISECONDS);
        assertTrue("Job id did not match", TEST_JOB_ID2.equals(response.asJson().findValue("id").asText()));
      }
<p>
Rest API - Compares two flow executions by flow execution ID
</p>
<p>
Following assertions are made in the response json
  <ul>Second job ID</ul>
</p>
test/rest/RestAPITest.java