Bal Kishan
Bal Kishan

Reputation: 51

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?

Upvotes: 4

Views: 15800

Answers (2)

Dmitri T
Dmitri T

Reputation: 168197

  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)

Upvotes: 3

Janesh Kodikara
Janesh Kodikara

Reputation: 1841

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

Upvotes: 3

Related Questions