Get Knowledge from Video instead of Content:

Monday, 30 January 2017

JMeter - Timer - "Constant Timer"

"Constant Timer" is used to add a constant delay between two requests. On adding constant timer each thread pause for the same amount of time at that sampler before triggering the next request or before executing the next sampler.
Refer the above screenshot, the constant timer has a delay of 1000 milliseconds (= 1 second) which will apply to all 5 requests under the given Thread Group.

How to add "Constant 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 "Constant Timer"

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

What are the attributes of "Constant Timer" element?
"Constant Timer" has following attributes:
  • Name: To provide the name of the timer 
  • Comments: To provide arbitrary comments (if any) 
  • Thread Delay (in milliseconds): The pause time in milliseconds.
Previous Topic:
Apache JMeter - "Constant Throughput Timer" Element

Related Topics:

No comments :

Post a Comment