diff --git a/test-track/backend/src/main/java/io/metersphere/plan/service/TestPlanMessageService.java b/test-track/backend/src/main/java/io/metersphere/plan/service/TestPlanMessageService.java index 7e5325b36d..d221dd021f 100644 --- a/test-track/backend/src/main/java/io/metersphere/plan/service/TestPlanMessageService.java +++ b/test-track/backend/src/main/java/io/metersphere/plan/service/TestPlanMessageService.java @@ -295,10 +295,14 @@ public class TestPlanMessageService { result.put("apiCaseFailedCount", v); break; case "default": + case "pending": + case "stopped": + case "timeout": result.put("apiCaseUnExecuteCount", v); break; case "errorreportresult": case "fakeerror": + case "fake_error": result.put("apiCaseErrorReportCount", v); break; default: @@ -324,10 +328,13 @@ public class TestPlanMessageService { break; case "unexecute": case "pending": + case "stopped": + case "timeout": result.put("apiScenarioUnExecuteCount", v); break; case "errorreportresult": case "fakeerror": + case "fake_error": result.put("apiScenarioErrorReportCount", v); break; default: