fix(测试跟踪): 测试计划性能用例修改配置修改资源池后未按修改的资源池执行

--bug=1024600 --user=李玉号 【测试跟踪】测试计划-性能用例-修改配置修改资源池后未按修改的资源池执行
https://www.tapd.cn/55049933/s/1352489
This commit is contained in:
shiziyuan9527 2023-03-17 19:12:48 +08:00 committed by lyh
parent a2f4e3abf1
commit e78dad5b8a
1 changed files with 4 additions and 0 deletions

View File

@ -24,6 +24,10 @@ public class PerfModeExecService {
loadCase.setLoadReportId(request.getReportId());
loadCase.setStatus(TestPlanLoadCaseStatus.run.name());
request.setId(loadCase.getLoadCaseId());
// 设置本次报告中的压力配置信息
request.setLoadConfiguration(loadCase.getLoadConfiguration());
request.setAdvancedConfiguration(loadCase.getAdvancedConfiguration());
request.setTestResourcePoolId(loadCase.getTestResourcePoolId());
try {
performanceTestService.run(request);
} catch (Exception e) {