How to stop jmeter during runtime based on coditions?

丶灬走出姿态 提交于 2019-12-24 00:09:31

问题


I wanted to stop jmeter if my conditional logic is false,suppose if one of my conditions gets failed then i need to stop immediately all my threads(jmeter) during run time,so that is there any way stop it running time through code not manually(not thru action to be taken after a sampler error)

Thanks, in advance


回答1:


There is 2 options for you:

  1. If your condition can be expressed in If Controller, then use standard Test Action Component to stop test
  2. If you want to stop test when response time or error rate increases some threshod, then use custom AutoStop Component


来源:https://stackoverflow.com/questions/15288200/how-to-stop-jmeter-during-runtime-based-on-coditions

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!