Package org.elasticsearch.test.rest.yaml
Infrastructure to run suites of tests written in YAML against a running Elasticsearch cluster using Elasticsearch's low level REST
client. The YAML tests are run by all official clients and serve as tests for both Elasticsearch and the clients.
-
Class Summary Class Description ClientYamlDocsTestClient Used to execute REST requests according to the docs snippets that need to be tests.ClientYamlTestCandidate WrapsClientYamlTestSection
s ready to be run.ClientYamlTestClient Used byESClientYamlSuiteTestCase
to execute REST requests according to the tests written in yaml suite files.ClientYamlTestExecutionContext Execution context passed across the REST tests.ClientYamlTestResponse Response obtained from a REST call, eagerly reads the response body into a string for later optional parsing.ESClientYamlSuiteTestCase Runs a suite of yaml tests shared with all the official Elasticsearch clients against against an elasticsearch cluster.Features Allows to register additional features supported by the tests runner.ObjectPath Holds an object and allows to extract specific values from it given their pathStash 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. -
Exception Summary Exception Description ClientYamlTestResponseException Exception obtained from a REST call in case the response code indicated an error.