I have issues with response times spiked with a WebAPI solution in IIS.
I generate load using a simple JMeter test plan, running on my development machine. My test plan repeats 15 static calls using fifteen threads. The load is about 90K requests over 7 minutes. The throughput is around 203 requests per second
.
During the thread ramp up, where JMeter is increasing the load, the response times start to contain spikes which continue throughout the entire test. The machine and application don’t really seem to break a sweat: the load on the CPU is about 30-40%
, so nowhere near saturated. The application did not return a single error during the entire test.
The specifics about the application and the machine:
4CPU /4GB RAM
machinemachine.config
file.What I tried so far to resolve this issue:
Hopefully, someone will be able to point me in the right direction. Thanks!
I would recommend going for the next steps:
Double check JMeter machine health, if JMeter machine doesn't have enough resources the execution may pause due to garbage collections on JVM or swapping on OS levels. Moreover, JMeter default settings are suitable for tests development and debugging only, you need to tweak at least some JVM parameters before running your test. References: