I am using a RestHighlevelclient in the Spring Boot environment.
I want to create a JUnit Test Code, but I can not find a way.
Is there no test method to officially provide?
I want to test the normal operation of basic queries. Is there no way?
To run integration tests (not unit tests) you should run an Elasticsearch node/cluster in something close to a production environment, like a real Elasticsearch server instance.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.