Package org.elasticsearch.test.rest
package org.elasticsearch.test.rest
Infrastructure for testing REST. See
ESRestTestCase
for running tests against an Elasticsearch cluster using the REST tests and
the rest of the package for mocking utilities.-
ClassesClassDescriptionSuperclass for tests that interact with an external test cluster using Elasticsearch's
RestClient
.Helper class to check warnings in REST responses with sensitivity to versions used in the target cluster.A common base class for Rest*ActionTests.A mockedNodeClient
which can be easily reconfigured to verify arbitrary verification functions, and can be reset to allow reconfiguration partway through a test without having to construct a new object.