Postman参数MD5加密预处理
// 获取全局变量
uid = postman.getGlobalVariable("uid")
sid = postman.getGlobalVariable("sid")
//设置当前时间戳
postman.setGlobalVariable("time",Math.round(new Date().getTime()));
time = postman.getGlobalVariable('time')
//设置KEY_WORD为全局变量
postman.setGlobalVariable("Key","******")
KEY_WORD = postman.getGlobalVariable("Key");
//字符串进行md5加密
var str = uid+sid+time+KEY_WORD;
var strmd5= CryptoJS.MD5(str).toString();
postman.setGlobalVariable("sign",strmd5)