Flow Control Action Sampler 在 5.0 版本中的目标是什么?

huangapple go评论60阅读模式
英文:

Please explain objective of Flow Control Action Sampler in 5.0 version

问题

Flow Control Action Sampler在JMeter中的目标是什么?在负载测试期间,我们可以通过这个Sampler实现什么?

英文:

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

答案1

得分: 3

**Flow Control Action**采样器与逻辑控制器一起使用,以控制采样器的执行。

  1. 用于暂停(休眠)当前线程或所有线程,持续时间以毫秒为单位设置。您可以使用JMeter变量或属性来设置动态值。

  2. 在执行进行中的样本后停止当前线程或所有线程。

  3. 立即停止当前线程或所有线程,无需等待进行中的样本完成。应选择“立即停止”选项。

  4. 转到下一次迭代。

此外,您可以使用Flow Control Action采样器在两个采样器之间引入定时器。请参阅官方网站上的建议。

英文:

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

Flow Control Action Sampler 在 5.0 版本中的目标是什么?

  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.
    Flow Control Action Sampler 在 5.0 版本中的目标是什么?

  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.
Flow Control Action Sampler 在 5.0 版本中的目标是什么?

答案2

得分: 2

  1. 按指定的时间间隔休眠(例如,您可以使用流控制操作采样器在 JMeter 中实现 pacing)。
  2. 启动当前循环的下一个迭代(例如,可以应用于循环控制器、while 控制器、for each 控制器等)。
  3. 启动线程组的下一个迭代。
  4. 优雅地或立即停止当前线程或所有线程(整个测试)。
英文:
  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)

huangapple
  • 本文由 发表于 2020年1月4日 00:15:07
  • 转载请务必保留本文链接:https://go.coder-hub.com/59581812.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定