Timers in JMeter

What are Timers?

Timers are the test plan elements used to pause the execution of test for a certain specified amount of time.

How to add a Timer-
Right Click on Thread Group -> Hover over Add -> Hover Over Timer -> Click on the required Timer
timers in JMeter

Timers provided in JMeter

Constant Timer

The constant timer is one of the most widely used timers in JMeter. It pauses the execution of test for a specified constant amount of time.


Uniform Random Timer

The uniform random timer is used to pause the test execution for a random time. The maximum value for random time can be specified along with the additional constant time with each wait.


Constant Throughput Timer

The constant throughput timer is a special type of timer used to create pauses with variable amount of time while maintaining the overall throughput i.e. samples/minute.


BeanShell Timer

The beanshell timer is used to generate the delays using beanshell scripting.


BSF Timer

The BSF timer is used to generate the delays using BSF scripting.


Gaussian Random Timer

The Gaussian random timer is used to generate the delays using Gaussian distribution.


Synchronizing Timer

The Synchronizing timer is used to insert delays in script by bocking a certain number of threads and when the blocked thread count reaches a specified number then the threads are released at once. Since, the synchronizing timer generates large amount of instant load hence, it is used for spike testing.


Poisson Random Timer

The Poisson random timer is used to generate the delays using Poisson distribution.


JSR223 Timer

The JSR223 timer is used to generate the delays using JSR223 scripting.


Reference

Apache JMeter User Manual