I'm using the Throughput Shaping Timer Plugin for ApacheJMeter to make a dynamic stress test for an adaptive application (application changes its behavior when resource demand changes).
My configuration (in attachment) is as follows:
seconds 0 - 4 : ramp up to 1000 requests per second (RPS)
seconds 5 - 14 : 1000 RPS
seconds 15 - 19 : ramp up to 5000 RPS
seconds 20 - 29 : 5000 RPS
seconds 30 - 34 : ramp up to 15000 RPS
seconds 35 - 44 : 15000 RPS
seconds 45 - 49 : ramp down to 5000 RPS
seconds 50 - 59 : 5000 RPS
seconds 60 - 64 : ramp down to 1000 RPS
seconds 65 - 74 : 1000 RPS
seconds 75 - 79 : ramp down to 0 RPS
For the execution of the test I use the following command on a Ubuntu 18 LTS with 16 Cores (each 3GHz) and 32GB RAM:
$ jmeter/bin/jmeter -n -t ~/JMeterTests/$1.jmx -l ~/TestResults/$2.jtl
Unfortunately, the CPU Usage skyrockets to 100% immediately when I start the test and many errors are produced by the requests:
Something is definitely wrong here since I used JMeter with this machine sending 10000 RPS without even reaching 10% CPU Usage. I can't figure out what is wrong - can anyone help?
Test File is in the attachment 3.
Thank you very much.