refactor(测试跟踪): 修改场景转性能时部分csv文件无法解析的问题
--bug=1034342 --user=宋天阳 【性能测试】github#28363,在接口自动化场景中,有场景变量csv文件,然后把这个自动化转化成性能测试的时候,转化过的性能测试中的高级配置没有csv文件。 https://www.tapd.cn/55049933/s/1452192
This commit is contained in:
parent
ec75f12d94
commit
f234ba6bb4
|
@ -1703,7 +1703,11 @@ public class ApiScenarioService {
|
||||||
}
|
}
|
||||||
|
|
||||||
public ScenarioToPerformanceInfoDTO exportJmx(ApiScenarioBatchRequest request) {
|
public ScenarioToPerformanceInfoDTO exportJmx(ApiScenarioBatchRequest request) {
|
||||||
List<ApiScenarioWithBLOBs> apiScenarioWithBLOBs = getExportResult(request);
|
|
||||||
|
ServiceUtils.getSelectAllIds(request, request.getCondition(), (query) -> extApiScenarioMapper.selectIdsByQuery(query));
|
||||||
|
ApiScenarioExample example = new ApiScenarioExample();
|
||||||
|
example.createCriteria().andIdIn(request.getIds());
|
||||||
|
List<ApiScenarioWithBLOBs> apiScenarioWithBLOBs = apiScenarioMapper.selectByExampleWithBLOBs(example);
|
||||||
//检查运行环境
|
//检查运行环境
|
||||||
checkExportEnv(apiScenarioWithBLOBs);
|
checkExportEnv(apiScenarioWithBLOBs);
|
||||||
// 生成jmx
|
// 生成jmx
|
||||||
|
|
|
@ -679,7 +679,7 @@ export default {
|
||||||
csvHasHeader: true,
|
csvHasHeader: true,
|
||||||
recycle: true,
|
recycle: true,
|
||||||
stopThread: false,
|
stopThread: false,
|
||||||
shareMode: "shareMode.thread"
|
shareMode: "shareMode.all"
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue