Mock RestHighLevelClient to check connection establishment in Elasticsearch server

Hello,

Can you please let me know if you have a sample code to mock RestHighLevelClient to run a junit test in java to initiate connection to elasticsearch server and check if the indexing is working as expected ? I am unable to crack it so kindly help me.

Thanks in advance.

@dadoonet - can you please help on my above query ? Thanks in advance.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.