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")));

如图所示

 

 运用如下图

 

posted @ 2022-11-02 13:29  繁华纤尽依然保持初心  阅读(342)  评论(0编辑  收藏  举报