@Test
  public void testRestSearchOffsetOutofLimit() {
    running(testServer(TEST_SERVER_PORT, fakeApp), new Runnable() {
      public void run() {
        populateTestData();
        final WS.Response response = WS.url(BASE_URL + REST_SEARCH_RESULTS).
            setQueryParameter("username", "growth").setQueryParameter("offset", "100").
            get().get(RESPONSE_TIMEOUT, TimeUnit.MILLISECONDS);
        Iterator<JsonNode> searchNode = response.asJson().elements();
        while (searchNode.hasNext()) {
          JsonNode node = searchNode.next();
          JsonNode summaries = node.get("summaries");
          Assert.assertTrue(summaries.asText().toString().isEmpty());
        }
      }
    });
  }
<p>
Rest API  - Provides data for plotting the flow history graph for time and resources
</p>
test/rest/RestAPITest.java