fix(接口测试): 用例执行完后,报告分享链接报错
--bug=1042988 --user=陈建星 【接口测试】场景-执行场景成功,但是后台有错误日志 https://www.tapd.cn/55049933/s/1535948
This commit is contained in:
parent
ff37b8128f
commit
837a74d53d
|
@ -290,6 +290,7 @@ public class ApiTestCaseBatchRunService {
|
|||
|
||||
TaskRequestDTO taskRequest = getTaskRequestDTO(reportId, apiTestCase, runModeConfig);
|
||||
taskRequest.getTaskInfo().setQueueId(queue.getQueueId());
|
||||
taskRequest.getTaskInfo().setUserId(queue.getUserId());
|
||||
taskRequest.getTaskItem().setRequestCount(1L);
|
||||
|
||||
apiExecuteService.execute(taskRequest);
|
||||
|
|
|
@ -260,6 +260,7 @@ public class TestPlanApiCaseBatchRunService {
|
|||
TaskBatchRequestDTO taskRequest = getTaskBatchRequestDTO(projectId, runModeConfig);
|
||||
taskRequest.setTaskItems(taskItems);
|
||||
taskRequest.getTaskInfo().setParentQueueId(parentQueueId);
|
||||
taskRequest.getTaskInfo().setUserId(userId);
|
||||
apiExecuteService.batchExecute(taskRequest);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue