diff --git a/api-test/backend/src/main/java/io/metersphere/service/scenario/ApiScenarioReportService.java b/api-test/backend/src/main/java/io/metersphere/service/scenario/ApiScenarioReportService.java index 252442dc52..130f6ca8b3 100644 --- a/api-test/backend/src/main/java/io/metersphere/service/scenario/ApiScenarioReportService.java +++ b/api-test/backend/src/main/java/io/metersphere/service/scenario/ApiScenarioReportService.java @@ -491,7 +491,7 @@ public class ApiScenarioReportService { String event; String status; - if (StringUtils.equals(scenario.getLastResult(), ApiReportStatus.SUCCESS.name())) { + if (StringUtils.endsWithIgnoreCase(scenario.getLastResult(), ApiReportStatus.SUCCESS.name())) { event = NoticeConstants.Event.EXECUTE_SUCCESSFUL; status = "成功"; } else {