fix(接口测试): 修复随机变量获取不到值问题
--bug=1021346 --user=赵勇 【接口测试】github#21012,2.5版本接口自动化场景变量格式化输出随机变量引用不到值 https://www.tapd.cn/55049933/s/1320661
This commit is contained in:
parent
dffb4c990d
commit
f52a472bab
|
@ -131,7 +131,8 @@ public class MsScenario extends MsTestElement {
|
||||||
scenarioTree.add(valueSupposeMock);
|
scenarioTree.add(valueSupposeMock);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (BooleanUtils.isTrue(this.variableEnable) || BooleanUtils.isTrue(this.mixEnable)) {
|
if ((this.variableEnable == null && this.mixEnable == null)
|
||||||
|
|| BooleanUtils.isTrue(this.variableEnable) || BooleanUtils.isTrue(this.mixEnable)) {
|
||||||
ElementUtil.addCsvDataSet(scenarioTree, variables, this.isEnvironmentEnable() ? newConfig : config, "shareMode.group");
|
ElementUtil.addCsvDataSet(scenarioTree, variables, this.isEnvironmentEnable() ? newConfig : config, "shareMode.group");
|
||||||
ElementUtil.addCounter(scenarioTree, variables);
|
ElementUtil.addCounter(scenarioTree, variables);
|
||||||
ElementUtil.addRandom(scenarioTree, variables);
|
ElementUtil.addRandom(scenarioTree, variables);
|
||||||
|
|
Loading…
Reference in New Issue