jmeter stop current iteration

和自甴很熟 提交于 2019-12-06 05:38:55

Try this.

ctx.setRestartNextLoop(true);

if the thread number is 2, i tried to skip. I get the below result as i expected (it does not call b-2). It does not kill the thread either.

In my opinion the easiest way is using following combination:

  1. If Controller to check ${JMeterThread.last_sample_ok} and badResponseCounter variables
  2. Test Action Sampler as a child of If Controller configured to "Go to next loop iteration"
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!