fix(性能测试): 修复性能测试api调用报null的问题
This commit is contained in:
parent
5a4b13a96b
commit
ae19c7ba6d
|
@ -406,7 +406,7 @@ public class PerformanceTestService {
|
|||
if (testPlanLoadCase != null && StringUtils.isNotBlank(testPlanLoadCase.getLoadConfiguration())) {
|
||||
testReport.setLoadConfiguration(testPlanLoadCase.getLoadConfiguration());
|
||||
}
|
||||
if (StringUtils.isNotBlank(testPlanLoadCase.getTestResourcePoolId())) {
|
||||
if (testPlanLoadCase != null && StringUtils.isNotBlank(testPlanLoadCase.getTestResourcePoolId())) {
|
||||
testReport.setTestResourcePoolId(testPlanLoadCase.getTestResourcePoolId());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue