@Disabled
    // if this is re-enabled then un-comment the DropwizardExtensionSupport class extension above, else test takes
    // ages to run no tests
    @Test
    void test() throws JsonProcessingException {
        // Given
        SearchRequest searchRequest = getSearchRequest();

        // When
        Client client = ClientBuilder.newClient(new ClientConfig().register(ClientResponse.class));
        Response response = client
                .target(SEARCH_TARGET)
                .request()
                .header("Authorization", "Bearer " + jwtToken)
                .accept(MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON)
                .post(Entity.json(searchRequest));

        // Then
        assertThat(response.getStatus()).isEqualTo(Response.Status.OK.getStatusCode());
        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