Package org.opensearch.test.rest
package org.opensearch.test.rest
Infrastructure for testing REST. See
OpenSearchRestTestCase for running tests against an OpenSearch 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 OpenSearch'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 mockedNodeClientwhich 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.