fix(测试计划): 步骤级别csv变量取消预加载
--bug=1043108 --user=陈建星 【接口测试】场景引用csv作用域提示信息逻辑和实现的引用逻辑不一致-场景步骤可引用作用域为步骤的csv参数 https://www.tapd.cn/55049933/s/1536608
This commit is contained in:
parent
444c40533c
commit
1da71cf407
|
@ -98,7 +98,10 @@ public class MsScenarioConverter extends AbstractJmeterElementConverter<MsScenar
|
|||
if (scenarioConfig == null || scenarioConfig.getVariable() == null || CollectionUtils.isEmpty(scenarioConfig.getVariable().getCsvVariables())) {
|
||||
return;
|
||||
}
|
||||
List<CsvVariable> csvVariables = scenarioConfig.getVariable().getCsvVariables();
|
||||
List<CsvVariable> csvVariables = scenarioConfig.getVariable().getCsvVariables()
|
||||
.stream()
|
||||
.filter(csvVariable -> StringUtils.equals(csvVariable.getScope(), CsvVariable.CsvVariableScope.SCENARIO.name()))
|
||||
.toList();
|
||||
MsCsvChildPreConverter.addCsvDataSet(tree, JmeterProperty.CSVDataSetProperty.SHARE_MODE_GROUP, csvVariables);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue