接口测试入参要进行md5加密,怎么处理(待完善)
方法一:用jmeter的自带函数
{
"sign": "${__digest(MD5,YG00001random"[\"${protection_id}\"]"VG,,true,)}",
"randomStr": "random",
"protectionIDList": [ ${protection_id}]
}
加密前的串是:YG00001random"[\"${protection_id}\"]"VG
其中id是参数化了: ${protection_id}
标签:常见问题,加密,VG,记录,id,protection,YG00001random From: https://www.cnblogs.com/ww-xiaowei/p/16708518.html