I have configured Jmeter test that has got 1 thread group, with 40 threads, ramp up period of 60 seconds and is scheduled to run for 10 minutes. It consists of a HTTP sampler.
Upon running this, the throughput I get is 52/min. Which means that the request time for each request was under 1.20 seconds.
Now, if I add a constant throughput timer to the thread group of 25/min across all active threads, then, upon completing the test, I get the final throughput as 30/min and the average elapsed time of 5 seconds. Should it not have been 2 seconds (since throughput is 30/min)? Why has the average elapsed time increased when I have reduced the throughput?
When the test is about to end, the elapsed time for the last few requests shoots up to about 15000 miliseconds (where as the usual average elapsed time is under 5000 milisseconds). Why is that?