Pages

Monday, 30 January 2017

JMeter - Timer - "Uniform Random Timer"

As the name suggested, Uniform Random Timer is used to generate the random delay in a uniform manner. The difference between the uniform random timer and other two random timers (Gaussian and Poisson) are:
1. In Gaussian and Poisson random timer, the random number generation is based on the pre-defined function, but in the uniform random timer, it is not the case. 
2. In Uniform Random Timer, the minimum delay will never be less than constant delay offset.
The delay (think) time is the sum of the generated random number and the constant delay offset value. 

How to add "Uniform Random Timer" element?

You can follow below steps:
1. Select "Test Plan" or "Thread Group" or "Controller" or "Sampler" node where you want to add the timer
2. Right-click on the node
3. Mouse hovers "Add"
4. Mouse hovers "Timers"
5. Click "Uniform Random Timer"

How to remove "Uniform Random Timer" element?
You can follow below steps:
1. Select "Uniform Random Timer" node
2. Right click on "Uniform Random Timer" node
3. Click "Remove" (Mouse) or "Delete" button from the keyboard
4. Click "Yes"    

What are the attributes of "Uniform Random Timer" element?

"Uniform Random Timer" has following attributes:
  • Name: To provide the name of the timer
  • Comments: To provide arbitrary comments (if any)
  • Random Delay Maximum (in milliseconds): The number shows how much maximum delay can be added to constant delay offset. 
  • Constant Delay Offset (in milliseconds): The number shows a constant delay which will be added to the generated random number (in the range of given deviation value).
Example: If Constant Delay Offset is given 2000 and deviation is given 3000 then Uniform Random Timer will generate the random number in the range of 2000 to 5000 milliseconds.

Next Topic:
Apache JMeter - "Pre Processors" Element

Previous Topic:
Apache JMeter - "Synchronizing Timer" Element

Related Topics:

No comments:

Post a Comment