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.-
ClassDescriptionSuperclass 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.Holds an object and allows extraction of specific values from it, given their pathA 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.Allows to cache the last obtained test response and or part of it within variables that can be used as input values in following requests and assertions.