fix(接口测试): 用例批量并行执行,缺少用户参数

This commit is contained in:
AgAngle 2024-10-24 14:12:29 +08:00 committed by jianxing
parent 2215590b97
commit 0738aa10d8
1 changed files with 1 additions and 0 deletions

View File

@ -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);
});