From 8dacf510f2a0307080201d7e9b95b19fad46f38a Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Mon, 7 Mar 2022 15:06:40 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=89=B9=E9=87=8F=E6=89=A7=E8=A1=8Ccase?= =?UTF-8?q?=E4=B8=B2=E8=A1=8C=E5=B9=B6=E8=A1=8C=E7=94=9F=E6=88=90=E9=9B=86?= =?UTF-8?q?=E5=90=88=E6=8A=A5=E5=91=8A=E7=94=9F=E6=88=90=E6=8A=A5=E5=91=8A?= =?UTF-8?q?=E8=A7=A6=E5=8F=91=E6=96=B9=E5=BC=8F=E4=B8=BA=EF=BC=9A=E6=89=8B?= =?UTF-8?q?=E5=8A=A8=E8=A7=A6=E5=8F=91=E7=9A=84=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1010863 --user=王孝刚 【接口测试】批量执行case-串行/并行-集合报告-生成报告触发方式为:手动触发 https://www.tapd.cn/55049933/s/1114537 --- .../java/io/metersphere/api/exec/api/ApiCaseExecuteService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/io/metersphere/api/exec/api/ApiCaseExecuteService.java b/backend/src/main/java/io/metersphere/api/exec/api/ApiCaseExecuteService.java index 9bf3565d17..03b1da36d3 100644 --- a/backend/src/main/java/io/metersphere/api/exec/api/ApiCaseExecuteService.java +++ b/backend/src/main/java/io/metersphere/api/exec/api/ApiCaseExecuteService.java @@ -165,7 +165,7 @@ public class ApiCaseExecuteService { && StringUtils.isNotEmpty(request.getConfig().getReportName())) { serialReportId = UUID.randomUUID().toString(); APIScenarioReportResult report = apiScenarioReportService.init(request.getConfig().getReportId(), null, request.getConfig().getReportName(), - ReportTriggerMode.MANUAL.name(), ExecuteType.Saved.name(), request.getProjectId(), + ReportTriggerMode.BATCH.name(), ExecuteType.Saved.name(), request.getProjectId(), null, request.getConfig()); report.setVersionId(caseList.get(0).getVersionId()); report.setName(request.getConfig().getReportName());