Get Knowledge from Video instead of Content:

Monday 30 January 2017

JMeter - Timer - "Synchronizing Timer"

The purpose of the Synchronizing Timer is to hold the threads until X number of threads have arrived, and then they are all released at once.  It adds delays between requests such that all (defined) threads fire at the same time thus creating heavy load bursts on the application. A Synchronizing Timer can thus create large instant loads at various points of the test plan. This timer is very useful to make users (threads) to do the simultaneous task (simultaneous users).  

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

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

What are the attributes of "Synchronizing Timer" element?

"Synchronizing Timer" has following attributes:
  • Name: To provide the name of the timer
  • Comments: To provide arbitrary comments (if any)
  • Number of Simulated Users to Group by: This attribute is used to define the number of threads to release at a time. If 0 is given then JMeter will release the same number of users which is defined in the thread group. 
  • Timeout in milliseconds: This value helps to control the timeout of the requests during the test. If 0 (zero) is set then the timer will wait for all the threads to reach the value which is defined in "Number of Simultaneous Users to Group". If superior to 0 (zero), then the timer will wait till the number given in "Timeout in milliseconds" irrespective of thread count. If wait time exceeds the given timeout value then the users are released without meeting "Number of Simultaneous Users to Group" criteria. The default value is 0 (zero).

Next Topic:
Apache JMeter - "Uniform Random Timer" Element

Previous Topic:
Apache JMeter - "Poisson Random Timer" Element

Related Topics:

No comments :

Post a Comment