diff --git a/backend/src/main/java/io/metersphere/performance/service/ReportService.java b/backend/src/main/java/io/metersphere/performance/service/ReportService.java index 7878045515..bb9b58cc8e 100644 --- a/backend/src/main/java/io/metersphere/performance/service/ReportService.java +++ b/backend/src/main/java/io/metersphere/performance/service/ReportService.java @@ -231,8 +231,8 @@ public class ReportService { List loadTestReportLogs = loadTestReportLogMapper.selectByExampleWithBLOBs(example); LoadTestReportLog content = loadTestReportLogs.get(0); outputStream.write(content.getContent().getBytes()); + outputStream.flush(); } - outputStream.flush(); } }