diff --git a/backend/src/main/java/io/metersphere/performance/service/PerformanceReportService.java b/backend/src/main/java/io/metersphere/performance/service/PerformanceReportService.java index 6955c725db..63b5f9d72a 100644 --- a/backend/src/main/java/io/metersphere/performance/service/PerformanceReportService.java +++ b/backend/src/main/java/io/metersphere/performance/service/PerformanceReportService.java @@ -145,7 +145,8 @@ public class PerformanceReportService { example.createCriteria().andReportIdEqualTo(id).andReportKeyEqualTo(reportKey.name()); List loadTestReportResults = loadTestReportResultMapper.selectByExampleWithBLOBs(example); if (loadTestReportResults.size() == 0) { - MSException.throwException("get report result error."); + LogUtil.warn("get report result error"); + return ""; } return loadTestReportResults.get(0).getReportValue(); }