PostMan提交参数中存在日期格式
1.定义全局变量、引用
postman.setGlobalVariable("startTime",Date.parse(new Date("2022/11/18 11:24:10")));
postman.setGlobalVariable("endTime",Date.parse(new Date("2022/11/18 11:24:59")));
如图所示
运用如下图
1.定义全局变量、引用
postman.setGlobalVariable("startTime",Date.parse(new Date("2022/11/18 11:24:10")));
postman.setGlobalVariable("endTime",Date.parse(new Date("2022/11/18 11:24:59")));
如图所示
运用如下图