diff --git a/test-track/backend/src/main/java/io/metersphere/plan/service/TestPlanReportService.java b/test-track/backend/src/main/java/io/metersphere/plan/service/TestPlanReportService.java index c6d421896c..435949c42c 100644 --- a/test-track/backend/src/main/java/io/metersphere/plan/service/TestPlanReportService.java +++ b/test-track/backend/src/main/java/io/metersphere/plan/service/TestPlanReportService.java @@ -27,6 +27,7 @@ import io.metersphere.request.report.QueryTestPlanReportRequest; import io.metersphere.service.BaseUserService; import io.metersphere.service.ServiceUtils; import io.metersphere.utils.DiscoveryUtil; +import io.metersphere.utils.LoggerUtil; import io.metersphere.xpack.track.dto.IssuesDao; import org.apache.commons.collections.CollectionUtils; import org.apache.commons.collections.MapUtils; @@ -378,6 +379,15 @@ public class TestPlanReportService { returnDTO.setApiTestCaseDataMap(saveRequest.getApiCaseIdMap()); returnDTO.setPerformanceIdMap(saveRequest.getPerformanceIdMap()); returnDTO.setUiScenarioIdMap(saveRequest.getUiScenarioIdMap()); + + String debugMsg = String.format( + "生成测试计划报告!id:【%s】,PlanScenarioIdMap:【%s】,ApiTestCaseDataMap:【%s】,PerformanceIdMap:【%s】,UiScenarioIdMap:【%s】", + planReportId, + JSON.toJSONString(saveRequest.getScenarioIdMap()), + JSON.toJSONString(saveRequest.getApiCaseIdMap()), + JSON.toJSONString(saveRequest.getPerformanceIdMap()), + JSON.toJSONString(saveRequest.getUiScenarioIdMap())); + LoggerUtil.info(debugMsg); return returnDTO; }