From 0738aa10d8650bebed51c3e2b3d7143b69a55e7b Mon Sep 17 00:00:00 2001 From: AgAngle <1323481023@qq.com> Date: Thu, 24 Oct 2024 14:12:29 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E7=94=A8=E4=BE=8B=E6=89=B9=E9=87=8F=E5=B9=B6=E8=A1=8C=E6=89=A7?= =?UTF-8?q?=E8=A1=8C=EF=BC=8C=E7=BC=BA=E5=B0=91=E7=94=A8=E6=88=B7=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/service/definition/ApiTestCaseBatchRunService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/service/definition/ApiTestCaseBatchRunService.java b/backend/services/api-test/src/main/java/io/metersphere/api/service/definition/ApiTestCaseBatchRunService.java index f059ae7bbd..51e2c66ba4 100644 --- a/backend/services/api-test/src/main/java/io/metersphere/api/service/definition/ApiTestCaseBatchRunService.java +++ b/backend/services/api-test/src/main/java/io/metersphere/api/service/definition/ApiTestCaseBatchRunService.java @@ -227,6 +227,7 @@ public class ApiTestCaseBatchRunService { TaskBatchRequestDTO taskRequest = getTaskBatchRequestDTO(request.getProjectId(), runModeConfig); taskRequest.getTaskInfo().setTaskId(execTask.getId()); + taskRequest.getTaskInfo().setUserId(userId); taskRequest.setTaskItems(taskItems); apiExecuteService.batchExecute(taskRequest); });