I'm using Ultimate Thread Group in JMeter for a simple Script which includes some requests to emulate the login flow.
Tests will be run in Non-GUI modes. The script looks like that:
- Think time - dynamic value [3-5] seconds
- Login
- Think time - dynamic value [3-5] seconds
- Get token
- Think time - dynamic value [3-5] minutes (to emulate the user session)
- Log out
The total number of threads in the Ultimate Thread Group will be 250. Initial delay=0 Startup Time=250 Hold Load= 400 seconds Shutdown time= 250
I have questions have to do with Ultimate Thread Group and client frequency
Ultimate Thread Group
- Can I suppose that Jmeter will add 1 user per second till we got 250 users?
- Then taking into account the dynamic think times, can I expect server throughput the maximum as server can reply?
- We will have ~ 250 concurrent requests per second from the client-side like the throughput from the client-side?? I'm afraid that I can spam server too much..
The client throughput
Can I use Constant Throughput Timer (CTT) for example if I will need to control throughput from the client-side? For example, I have the requirement - login flow 250 concurrent users, server throughput should be able to process ~ 5 requests per second.
So in case of CTT using, should I remove all think times (except one - 2-3 minutes to emulate the user session) from the script and put only one CTT at the end of the script?
And my final settings will be:
The total number of threads in the Ultimate Thread Group will be 250. Initial delay=0 Startup Time=250 Hold Load= 400 seconds Shutdown time= 250
How to configure CTT to make a load from the client-side 2 requests per second and considering 250 concurrent users?