Reputation: 5396
I want to send 1 request per 5 seconds to login via api. I am not sure how it can be done via thread group.
I tried :
No. of threads : 100
Ramp-up period : 20
Loop-count : Forever
But it sends 5 requests per second.
Should I use ultimate thread group for this?
Upvotes: 1
Views: 4601
Reputation: 168042
Constant Throughput Timer is what you're looking for. Add it as a child of your request and configure it as follows:
12
all active threads in current thread group
This will limit the rate of requests execution to 12 requests per minute (1 request in 5 seconds)
Also be aware of enhanced version: Throughput Shaping Timer available via JMeter Plugins project.
Upvotes: 7
Reputation: 79
Try this,
No. of threads : 100
Ramp-up period : 500
It would send 100 requests in 500 seconds. that is 1 request per 5 seconds.
Upvotes: -1