diff --git a/backend/src/main/java/io/metersphere/track/controller/TestPlanController.java b/backend/src/main/java/io/metersphere/track/controller/TestPlanController.java index d41f7e2626..a0b39add3c 100644 --- a/backend/src/main/java/io/metersphere/track/controller/TestPlanController.java +++ b/backend/src/main/java/io/metersphere/track/controller/TestPlanController.java @@ -156,7 +156,7 @@ public class TestPlanController { ApiRunConfigDTO api = new ApiRunConfigDTO(); api.setMode(testplanRunRequest.getMode()); api.setResourcePoolId(testplanRunRequest.getResourcePoolId()); - api.setOnSampleError(true); + api.setOnSampleError(false); api.setReportType("iddReport"); String apiRunConfig = JSONObject.toJSONString(api); return testPlanService.run(testplanRunRequest.getTestPlanId(), testplanRunRequest.getProjectId(), testplanRunRequest.getUserId(), testplanRunRequest.getTriggerMode(), apiRunConfig); diff --git a/backend/src/main/java/io/metersphere/track/service/TestPlanReportService.java b/backend/src/main/java/io/metersphere/track/service/TestPlanReportService.java index 640f8943cd..3eba44f54d 100644 --- a/backend/src/main/java/io/metersphere/track/service/TestPlanReportService.java +++ b/backend/src/main/java/io/metersphere/track/service/TestPlanReportService.java @@ -1144,7 +1144,7 @@ public class TestPlanReportService { public synchronized TestPlanReport updateExecuteApis(String planReportId, Map executeApiCaseIdMap, Map executeScenarioCaseIdMap, Map executePerformanceIdMap) { TestPlanReportDataExample example = new TestPlanReportDataExample(); - List resourceIdList = new ArrayList<>(); +// List resourceIdList = new ArrayList<>(); if(executeApiCaseIdMap == null){ executeApiCaseIdMap = new HashMap<>(); } diff --git a/backend/src/main/java/io/metersphere/track/service/TestPlanService.java b/backend/src/main/java/io/metersphere/track/service/TestPlanService.java index b4eba8c76d..10ae2cb5cc 100644 --- a/backend/src/main/java/io/metersphere/track/service/TestPlanService.java +++ b/backend/src/main/java/io/metersphere/track/service/TestPlanService.java @@ -1019,7 +1019,7 @@ public class TestPlanService { String planReportId = testPlanReport.getId(); - testPlanLog.info("ReportId[" + planReportId + "] created. TestPlanID:[" + testPlanID + "]. "); + testPlanLog.info("ReportId[" + planReportId + "] created. TestPlanID:[" + testPlanID + "]. "+"API Run Config:【"+apiRunConfig+"】"); //不同任务的执行ID Map executePerformanceIdMap = new HashMap<>();