0
votes

So, I am using JMeter's throughput shaping timer to test the performance of our REST Server. I noticed a few things i did not expect.

First of all my setup details :

1)JMeter Version : 3.0 r1743807

2)JMX file : DropBox Link

Now , my questions :

1)The throughput shaping timer is configured to run for 60 seconds(100rps - 30 secs, 200 rps - next 30 secs). But the actual test runs only for 3 seconds as shown below. Why?enter image description here

2) As per the plan the number of requests per second should go from 100 - 200. But here it seems to decrease , as in above.

3)As per this plugin's documentation , the number of thread groups = desired requests per second * server response time / 1000 . Is it because how this plugin internally works or is it a simple logic i am missing?

1

1 Answers

0
votes

The issue is with the Thread Group settings.

enter image description here

You only one have 1 iteration and ramp up 300 users in 1 second. So if Jmeter can send all the 300 requests and get the response, JMeter will finish the test immediately. Those timer settings will apply only if the test is running.

If you need the test to run for some duration (say 60 seconds), then set the loop count to forever & duration to 60