From 5bde86d4d98bedd69f5392e0a59d67e5792a3cbd Mon Sep 17 00:00:00 2001 From: AgAngle <1323481023@qq.com> Date: Mon, 22 Apr 2024 16:14:13 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E5=9C=BA=E6=99=AF=E6=89=B9=E9=87=8F=E6=89=A7=E8=A1=8C=E9=9B=86?= =?UTF-8?q?=E5=90=88=E6=8A=A5=E5=91=8A=EF=BC=8C=E9=80=89=E6=8B=A9=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E7=8E=AF=E5=A2=83=E6=89=A7=E8=A1=8C=EF=BC=8C=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E4=BD=BF=E7=94=A8=E5=90=84=E8=87=AA=E7=9A=84=E7=8E=AF?= =?UTF-8?q?=E5=A2=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1039853 --user=陈建星 【接口测试】场景A,运行环境A-场景B,运行环境B-批量执行-并行-查看报告所用环境为同一个 https://www.tapd.cn/55049933/s/1504674 --- .../api/service/scenario/ApiScenarioBatchRunService.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/service/scenario/ApiScenarioBatchRunService.java b/backend/services/api-test/src/main/java/io/metersphere/api/service/scenario/ApiScenarioBatchRunService.java index 8aefc60a7e..7b6fc0fb2c 100644 --- a/backend/services/api-test/src/main/java/io/metersphere/api/service/scenario/ApiScenarioBatchRunService.java +++ b/backend/services/api-test/src/main/java/io/metersphere/api/service/scenario/ApiScenarioBatchRunService.java @@ -358,8 +358,6 @@ public class ApiScenarioBatchRunService { taskRequest.setSaveResult(true); taskRequest.setRealTime(false); taskRequest.setRunModeConfig(runModeConfig); - runModeConfig.setEnvironmentId(getEnvId(runModeConfig, apiScenarioDetail)); - runModeConfig.setGrouped(getEnvGroup(runModeConfig, apiScenarioDetail)); return taskRequest; }