diff --git a/backend/src/main/java/io/metersphere/api/service/ApiDefinitionExecResultService.java b/backend/src/main/java/io/metersphere/api/service/ApiDefinitionExecResultService.java index 72d655e79d..42960eabd8 100644 --- a/backend/src/main/java/io/metersphere/api/service/ApiDefinitionExecResultService.java +++ b/backend/src/main/java/io/metersphere/api/service/ApiDefinitionExecResultService.java @@ -248,6 +248,7 @@ public class ApiDefinitionExecResultService { String creator = TestPlanReportExecuteCatch.getCreator(testPlanReportId); String status = item.isSuccess() ? "success" : "error"; + item.getResponseResult().setConsole(result.getConsole()); ApiDefinitionExecResult saveResult = new ApiDefinitionExecResult(); saveResult.setId(UUID.randomUUID().toString()); saveResult.setCreateTime(System.currentTimeMillis());