mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-02 12:09:13 +08:00
fix(测试计划): 性能测试修改高级配置后生成报告中高级配置信息都是空
--bug=1011583 --user=李玉号 【测试计划】-计划中关联性能测试-修改高级配置后执行该性能测试,生成报告中高级配置信息都是空 https://www.tapd.cn/55049933/s/1125552
This commit is contained in:
parent
68fbde1fe5
commit
e2cc4b2b61
@ -456,7 +456,8 @@ public class PerformanceTestService {
|
||||
// 保存测试里的配置
|
||||
testReport.setTestResourcePoolId(loadTest.getTestResourcePoolId());
|
||||
testReport.setLoadConfiguration(loadTest.getLoadConfiguration());
|
||||
|
||||
// 启动插入 report
|
||||
testReport.setAdvancedConfiguration(loadTest.getAdvancedConfiguration());
|
||||
String testPlanLoadId = request.getTestPlanLoadId();
|
||||
if (StringUtils.isNotBlank(testPlanLoadId)) {
|
||||
// 设置本次报告中的压力配置信息
|
||||
@ -471,8 +472,6 @@ public class PerformanceTestService {
|
||||
testReport.setTestResourcePoolId(testPlanLoadCase.getTestResourcePoolId());
|
||||
}
|
||||
}
|
||||
// 启动插入 report
|
||||
testReport.setAdvancedConfiguration(loadTest.getAdvancedConfiguration());
|
||||
testReport.setStatus(PerformanceTestStatus.Starting.name());
|
||||
testReport.setProjectId(loadTest.getProjectId());
|
||||
testReport.setTestName(loadTest.getName());
|
||||
|
Loading…
Reference in New Issue
Block a user