Jmeter函数助手27-urlencode
urlencode函数用于将字符串进行application/x-www-form-urlencoded编码格式化。
- String to encode in URL encoded chars:填入字符
1、urlencode函数将字符进行编码格式化,而urldecode函数则是将编码进行解码,两者功能刚好相反。
${__urlencode(value="hello"+"word"&name="名称")}
${__urldecode(value%3D%22hello%22%2B%22word%22%26name%3D%22%E5%90%8D%E7%A7%B0%22)}