fix(测试跟踪): 测试计划性能用例修改配置修改资源池后未按修改的资源池执行
--bug=1024600 --user=李玉号 【测试跟踪】测试计划-性能用例-修改配置修改资源池后未按修改的资源池执行 https://www.tapd.cn/55049933/s/1352489
This commit is contained in:
parent
c152f7d310
commit
a47001f15a
|
@ -24,6 +24,10 @@ public class PerfModeExecService {
|
||||||
loadCase.setLoadReportId(request.getReportId());
|
loadCase.setLoadReportId(request.getReportId());
|
||||||
loadCase.setStatus(TestPlanLoadCaseStatus.run.name());
|
loadCase.setStatus(TestPlanLoadCaseStatus.run.name());
|
||||||
request.setId(loadCase.getLoadCaseId());
|
request.setId(loadCase.getLoadCaseId());
|
||||||
|
// 设置本次报告中的压力配置信息
|
||||||
|
request.setLoadConfiguration(loadCase.getLoadConfiguration());
|
||||||
|
request.setAdvancedConfiguration(loadCase.getAdvancedConfiguration());
|
||||||
|
request.setTestResourcePoolId(loadCase.getTestResourcePoolId());
|
||||||
try {
|
try {
|
||||||
performanceTestService.run(request);
|
performanceTestService.run(request);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|
Loading…
Reference in New Issue