Commit bb920216 authored by fit2-zhao's avatar fit2-zhao Committed by fit2-zhao
Browse files

fix(接口自动化): 修复循环控制器里-提取参数引用的变量没有更新 #1004716

parent c05b0d66
Showing with 1 addition and 0 deletions
+1 -0
......@@ -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);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment