fix(接口测试): 场景定时任务执行,通知报错
--bug=1043872 --user=陈建星 定时任务执行场景,发送通知后台报空指针 https://www.tapd.cn/55049933/s/1548525
This commit is contained in:
parent
fabac76ce9
commit
e045eb3b32
|
@ -64,6 +64,7 @@ public class ApiScenarioScheduleJob extends BaseScheduleJob {
|
||||||
taskInfo.getRunModeConfig().setPoolId(apiRunModeConfigDTO.getPoolId());
|
taskInfo.getRunModeConfig().setPoolId(apiRunModeConfigDTO.getPoolId());
|
||||||
taskInfo.setSaveResult(true);
|
taskInfo.setSaveResult(true);
|
||||||
taskInfo.setRealTime(false);
|
taskInfo.setRealTime(false);
|
||||||
|
taskInfo.setUserId(userId);
|
||||||
taskInfo.getRunModeConfig().setEnvironmentId(parseParam.getEnvironmentId());
|
taskInfo.getRunModeConfig().setEnvironmentId(parseParam.getEnvironmentId());
|
||||||
taskItem.setRequestCount(tmpParam.getRequestCount().get());
|
taskItem.setRequestCount(tmpParam.getRequestCount().get());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue