@Disabled
    // if this is re-enabled then un-comment the DropwizardExtensionSupport class extension above, else test takes
    // ages to run no tests
    @Test
    void testSavedFromFile() throws IOException {
        // Given
        String searchRequestJson = new String(Files.readAllBytes(Paths.get(
                "src/test/resources/searchRequest.json")));
        SearchRequest searchRequest = JsonUtil.readValue(searchRequestJson, SearchRequest.class);
        Client client = ClientBuilder.newClient(new ClientConfig().register(ClientResponse.class));

        // When
        Response response = client
                .target(SEARCH_TARGET)
                .request()
                .header("Authorization", "Bearer " + jwtToken)
                .accept(MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON)
                .post(Entity.json(searchRequest));
        SearchResponse searchResponse = response.readEntity(SearchResponse.class);

        // Then
        assertThat(response.getStatus()).isEqualTo(Response.Status.OK.getStatusCode());
        assertThat(searchResponse.getResults().size()).isEqualTo(5);

        System.out.println(response.toString());
    }
This is not currently a test. It is a way of exercising the query api, i.e. it is support for manual testing.
stroom-app/src/test/java/stroom/index/TestStroomIndexViewResource.java