Closed liuyuf closed 6 years ago
是指压力测试那块吗
Schedulers 这块
scheduler现在不是支持定时执行吗
是延时,比如要让某个接口延迟3秒再执行。3秒后执行这个接口以及接口后面的其他接口
哦,这个功能可以在第一个接口里的pre request script里做,简单写个例子:
const deplay = function(time) {
return new Promise((resolve, reject)=>setTimeout(resolve, time));
}
await deplay(3000);
await(deplay(3000)); 这样才没有报错 解决了
希望能像jmeter一样支持加定时器