amazon-web-servicesperformance-testingjmeter-pluginsjmeter-5.0

Jmeter request on AWS is decreasing after few hours


Can someone help me address the issue I'm encountering I tried to run for 3 hours my Jmeter script unfortunately I noticed decreased of the request after few hours. On Jmeter side it shows consistent request will generated but on AWS its not the case. Your response is highly appreciated. T

Expected Result:
I want to achieve 6000 Request per minute (5k CacheMissCount and 1k CacheHitCount) for the entire execution.

Jmeter configuration

Jmeter Configuration

Request First Few Minutes

Request After 3 Hours

Jmeter Configuration

Jmeter Heap Size

AWS Memory Allocation


Solution

  • You will be able to generate 6000 requests per minute with 100 users only given response time of your system is 1 second or less. In case of higher response times the throughput will be proportionally lower.

    1. Try increasing the number of threads and see if it resolves the issue. You might want to try out Concurrency Thread Group and Throughput Shaping Timer combination, they can be connected via Feedback Function allowing JMeter to kick off extra threads if current amount is not sufficient to conduct and/or maintain the required load
    2. Make sure to follow JMeter Best Practices.
    3. Monitor resources usage on JMeter side like CPU, RAM, Network, Disk, etc. to ensure that it's not the bottleneck. Also pay attention to JVM metrics especially to Garbage Collection as it may pause or even stop the threads.
    4. Do the same for the system under test side
    5. If points 3 and 4 don't help or the bottleneck is not connected with resources consider using profiler tools on system under test and possibly JMeter sides to identify the bottleneck in the code or logic.