循环变化的变量我有这样在的JMeter
Loop Controller(3)
moreSamples=true
startIndex=0
While Controller(${__javaScript(${moreSamples}==true)})
SOAP/XML-RPC Request(index=${startIndex})
Regular Expression Extractor(startIndex=newIndex,moreSamples=samples)
现在问题的Web请求我不能初始化moreSamples和在了startIndex循环。 我尝试了两种选择:
让moreSamples并作为了startIndex用户定义的变量。现在我能够改变使用正则表达式提取它们的值,但无法使用的BeanShell PostProcessor中像这样的重新初始化它们在外环:
vars.put("moreSamples","false") vars.put("startIndex","0")
让moreSamples和的startIndex为用户参数预处理while循环,但随后我无法使用正则表达式提取器分配它们的值。
请提示错误或一些新的结构,它可以适应
截图:
[我如何在这里提问?](http://stackoverflow.com/faq#howtoask) – 2012-07-12 14:58:19