常见问题记录
接口测试入参要进行md5加密,怎么处理(待完善)
方法一:用jmeter的自带函数
{
"sign": "${__digest(MD5,YG00001random"[\"${protection_id}\"]"VG,,true,)}",
"randomStr": "random",
"protectionIDList": [ ${protection_id}]
}
加密前的串是:YG00001random"[\"${protection_id}\"]"VG
其中id是参数化了: ${protection_id}
-----------------------------------------Have a good day!---------------------------------------------------------------------------------------------------