I need to pass charsets in a string, like '='
'/'
'@'
using "Send Parameters With the Request" from JMeter 5.1 HttpRequest
I try used "RegEx User Parameters" with "Regular Expression Extractor"
Using several custom functions like __BeanShell(URLDecoder.decode)
, __unescapeHtml
, __urldecode
Decode using "BeanShell PreProcessor" and "JSR223 PostProcessor"
I've searched a lot off manuals and I haven't found the correct answer
If I used variables I have the same result
${__BeanShell(URLDecoder.decode("[email protected]"))}
${__unescapeHtml([email protected])}
${__urldecode([email protected])} // application/x-www-form-urlencoded -- UTF-8
${__urldecode("[email protected]")} //UTF-8
I expected the request body authenticity_token=LzRkqB3M5tXWXZq1axsb9gkhCx3GIAn588RMIkzpRAHqNCkAlCIwMk8pu9jn68Oy1mylI6W/J4AGoE+t1xT15A==&[email protected]
But the actual isauthenticity_token=LzRkqB3M5tXWXZq1axsb9gkhCx3GIAn588RMIkzpRAHqNCkAlCIwMk8pu9jn68Oy1mylI6W%2FJ4AGoE+t1xT15A%3D%3D&email=correo%40yopmail.com
It changes
=
to%3D
@
to%40
/
to%2F