JMeter For-Each Controller - 似乎 运行 只有前几次迭代,然后停止

JMeter For-Each Controller - Seems to Run Only First Several Iterations, Then Stops

这是我用作循环变量的 UDV:

这是 For-Each 的定义。

当我运行这个从开始=1到结束=11的时候,它只有运行s 1,2,3,4。 然后它停止了。 这是循环#4。

这表明变量status_1、status_2、...、status_11 都已定义。

问题是:为什么 status_5 及以后不是 运行ning?

要么你做了一个 typo/copy 粘贴问题,并且其中一个变量有一个额外的 non-printable 字符,比如 whitespace or line break

或者有其他东西阻止测试执行,比如 CSV Data Set Config which has run out of the values or error has occurred and Thread Group 配置为在任何情况下停止。

检查jmeter.log file for any suspicious entries, if nothing unusual is there - increase JMeter logging verbosity并再次检查。

在正常情况下,ForEach 控制器按预期工作: