From d01b85eead410fe96df547c8f0e0bf7c92d041d0 Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Tue, 9 Nov 2021 17:21:59 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92-=E5=AE=9A=E6=97=B6?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E6=89=A7=E8=A1=8C=E7=9A=84=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E7=94=A8=E4=BE=8B=EF=BC=8C=E6=8E=A7=E5=88=B6=E5=8F=B0=E4=B8=8D?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1007790 --user=lyh 【测试跟踪】测试计划-定时任务执行的接口用例,控制台不显示信息 https://www.tapd.cn/55049933/s/1065692 --- .../metersphere/api/service/ApiDefinitionExecResultService.java | 1 + 1 file changed, 1 insertion(+) 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());