postman 获取时间戳的方法 和md5加密的方法

获取时间戳方法:

postman.setGlobalVariable("timestamp",Math.round(new Date().getTime()));   这整句是获取时间戳并设置为全局变量

md5加密方法:

var strmd5 = CryptoJS.MD5(str);  str 是拼接好的字符

参考:http://www.51testing.com/html/30/n-3722830.html

原文地址:https://www.cnblogs.com/kaibindirver/p/9872982.html