测试中提交的中文参数 需要进行URL转码

使用函数 ${__urlencode()}

例如 :
${__urlencode(你好)}
${__urlencode(${参数变量})}

 

jmeter参数中的url转码和url解码

图片.png

测试中返回的中文参数 需要进行URL解码

使用函数 ${__urldecode()}

例如 :
${__urldecode(%E4%BB%93%E5%BA%93)}
${__urldecode(${参数变量})}

 

jmeter参数中的url转码和url解码

图片.png

相关文章: