Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Please explain objective of Flow Control Action Sampler in 5.0 version

objective of Flow Control Action Sampler in JMeter. what we can achieve with this Sampler during load test?

like image 996
Bal Kishan Avatar asked Oct 18 '25 16:10

Bal Kishan


2 Answers

Flow Control Action sampler is used along with the logical controllers to control the sampler execution.

  1. To pause (sleep) current or all thread for specified amount of time (duration is set in milliseconds). You could use a JMeter variable or property to set a dynamic value

enter image description here

  1. To stop the current or all threads after completing the execution of samples in progress
  2. To stop the current or all threads immediately without waiting for samples in progress to complete. Stop Now option should be selected. enter image description here

  3. To move to the next iteration

Also you can use Flow Control Action sampler to introduce a Timer in between two samplers. Please see the suggestion from official website. enter image description here

like image 84
Janesh Kodikara Avatar answered Oct 21 '25 05:10

Janesh Kodikara


  1. Sleep for specified amount of time (for example you can implement pacing in JMeter using Flow Control Action Sampler)
  2. Start next iteration of the current loop (for example can be applied for Loop Controller, While Controller, ForEach Controller)
  3. Start next iteration of the Thread Group
  4. Gracefully or immediately stop current thread or all threads (the whole test)
like image 42
Dmitri T Avatar answered Oct 21 '25 06:10

Dmitri T