# Elasticsearch Search Query Load Testing using Jmeter

**URL:** <https://discuss.elastic.co/t/elasticsearch-search-query-load-testing-using-jmeter/361156>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-monitoring\
**Created:** [June 10, 2024, 2:05pm UTC](https://discuss.elastic.co/t/elasticsearch-search-query-load-testing-using-jmeter/361156 "2024-06-10T14:05:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kishorkumar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kishorkumar/32/132930_2.png) [@kishorkumar](https://discuss.elastic.co/u/kishorkumar)\
**Post date:** [June 10, 2024, 2:05pm UTC](https://discuss.elastic.co/t/elasticsearch-search-query-load-testing-using-jmeter/361156/1 "2024-06-10T14:05:11Z")

</div>

Hello i have been trying to test the load of my clustor of 1 node using JMeter.

i have data of millions records, i have created csv which contians the 6000 ids.

i have following configs:  
Thread Group:  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/c/9/c9480e4cb6c8f20010bc43820eaf815b3a3481c0.png)

Thread Group Setting:  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/4/04acf9dc931e387f268aa27940e2969650b754f4.png)

**CSV data config:**

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/d/ddded7bb0f29195a757c2b4714c2db83f5103658.png)

Constant Throughput Timer:  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/c/5ca03749e9eed78e67794e747fbfcf940f0e68be.png)

Summary Report :

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/2/d2f80091b5cacbe57d64207cad64f8e2948b8a50.png)

Request Rate:  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/a/7af8047598f3f523c8684d4c4c0d7c614be7d40b.png)

i totaly don't understand how thisjmtere is working at all acording to the jmeter documentation and elasticsearch it should only generate the 36000 samples not more then that in one

i have given (Active users) 6000/10s = 600/sec.  
so and timer is 2 minut.

so it should generate total number of sample 72000 instead j meter is generating the 496939 samples and according to the jmeter the throughput rate for this is 2356.1102813929783 maximum .

so can you guys tell me how to test for tow thread group at once so i can search two different index at sametime, and i want the result is 6000/10 of each group requests handling not more then that.

so in total 12000 requests per 10 sec should show on the elastic monitoring

#elastic-stack-monitoring
