Seshan Kannan
Seshan Kannan

Reputation: 1

Is there a way to control the number of threads that are active at any point in time in jmeter

I am running load test with jmeter with selenium webdriver sample. Purpose is to load test and understand amount of time taken by 500 users to complete a survey on a web dash board. When executing i need to control the number of concurrent threads, and it should be more than 10. New thread should be spawned if number of concurrent threads becomes less that 10. How do i achieve this. Any pointer in this direction will be helpful.

Regards, Seshan K.

Upvotes: 0

Views: 56

Answers (2)

Dmitri T
Dmitri T

Reputation: 168002

You must be looking for the Concurrency Thread Group

This thread group offers simplified approach for configuring threads schedule. It is intended to maintain the level of concurrency, which means starting additional during the runtime threads if there's not enough of them running in parallel.

So it is just enough to install the Concurrency Thread Group using JMeter Plugins Manager and use it instead of normal JMeter's Thread Group

JMeter Concurrency Thread Group

Upvotes: 0

MatMat
MatMat

Reputation: 908

According to this article you can set the amount of threads in the Stepping Thread Group. This might be great to read through.

Upvotes: 0

Related Questions