fix(接口自动化): 修复循环控制器里-提取参数引用的变量没有更新 #1004716
This commit is contained in:
parent
2592df0ac8
commit
311d9b575f
|
@ -61,6 +61,7 @@ public class MsExtract extends MsTestElement {
|
|||
shell.setName(StringUtils.isEmpty(this.getName()) ? "JSR223PostProcessor" : this.getName());
|
||||
shell.setProperty(TestElement.TEST_CLASS, JSR223PostProcessor.class.getName());
|
||||
shell.setProperty(TestElement.GUI_CLASS, SaveService.aliasToClass("TestBeanGUI"));
|
||||
shell.setProperty("cacheKey", false);
|
||||
shell.setProperty("script", "io.metersphere.api.jmeter.JMeterVars.addVars(prev.hashCode(),vars," + "\"" + extract.toString() + "\"" + ");");
|
||||
samplerHashTree.add(shell);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue