I\'m trying Jmeter tool for load testing where i\'m feeding the data through a csv file which has all the emails and passwords for login request. But while passing the parameter
It should be totally expected.
If you're logging in via GET request %40
is correct way of encoding @
symbol.
If you're sending a POST request, JMeter should automatically send @
symbol (at least my JMeter 2.10 does)
You might wish to try one of following:
HTTP
tab and see what's actually being sent.Encode?
box is unchecked for email parameterUse a Beanshell Pre Processor to properly encode/decode your email
import java.net.URLDecoder;
import java.net.URLEncoder;
String email = "someone@example.com";
String encoded = URLEncoder.encode(email, "UTF-8");
String decoded = URLDecoder.decode(encoded, "UTF-8");
For the HTTP Request, Change the Client implementation to Java
This is coming when we do via Parameters, If we do using "Body Data" that would work fine.
I used this way. {"password":"${password}","emailId":"${emailId}"}