I have an HTTP GET request
. I need to send the request to the application server for more than 4000
times exactly in 1 second.
I\'m sending
Do you want to stick with JMeter? Otherwise Httperf is a decent tool and easy to use:
httperf --server=www.example.com --rate=4000 --num-conns=4000
for instance.
Hope this helps a bit, although not entirely what you asked for.
Consider putting your HTTP Request under the Synchronizing Timer - this way you'll be sure your requests are kicked off at exactly the same moment.
Also 4000 threads is quite a "heavy" load so I would suggest following recommendations from the 9 Easy Solutions for a JMeter Load Test “Out of Memory” Failure guide to get the most performance from your JMeter instance(s).
How about starting with whether the server is configured correctly to avoid such load. Requests can be of any type. If they are of static requests then work to ensure that the absolute minimum number of these hit your origin server due to caching policies or architecture, such as
Utlimately I would suspect a design issue at play with this high a consistent request level. 4000 requests per second becomes 14,400,000 requests per hour and 345,600,000 per 24 hour period.
On a process basis, I would also suggest a minimum of three load generators: Two for primary load and one for a control virtual user of a single virtual user|thread for your business process. In your current model for all on one load generator you have no control element to determine the overhead imposed by the potential overload of your load generator. The use of the control element will help you determine if you have a load generator imposed skew in your driving of load. Essentially, you have a resource exhausting which is adding a speed break on your load generator. Go for a deliberate underload philosophy on your load generators. Adding another load generator is cheaper than the expense of political capital when someone attacks your test for lack of a control element and then you need to re-run your test. It is also far less expensive than chasing an engineering ghost which appears as a slow system but which is really an overloaded load generator