fix(接口测试): 场景定时任务生成的报告,类型显示手动执行

This commit is contained in:
AgAngle 2024-12-05 15:04:03 +08:00 committed by 刘瑞斌
parent a7ae6aaa77
commit 02be82aada
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@ public class ApiScenarioScheduleJob extends BaseScheduleJob {
taskInfo.setUserId(userId);
taskInfo.getRunModeConfig().setEnvironmentId(apiRunModeConfigDTO.getEnvironmentId());
taskInfo.getRunModeConfig().setGrouped(apiRunModeConfigDTO.getGrouped());
taskInfo.setTriggerMode(TaskTriggerMode.SCHEDULE.name());
taskItem.setId(execTaskItem.getId());
apiExecuteService.execute(taskRequest);