Reputation: 11
I set username and password from CSV file user:sysadmin, pass:"Pass@123456"
but password is encrypted wrong upon request
User=sysadmin&Pass=Pass%40123456
Upvotes: 1
Views: 928
Reputation: 168002
The fact you see it as Pass@123456
doesn't necessarily mean that JMeter is sending wrong data, it might be either by intention due to string-based request representation in Raw
form of request inspection in the View Results Tree listener or by accident (just a bug in it. You can check JMeter Issue Tracker to see whether similar issues were reported already)
In the mean time try switching to the HTTP
tab of the View Results Tree listener:
Or double check what you're sending using a sniffer tool like Fiddler or Wireshark
But first of all I would recommend verifying your CSV data via Debug Sampler or temporarily switching to hard-coded (not parameterized) data to see if it resolves your issue.
Upvotes: 2
Reputation: 58774
@ is encoded when sending HTTP request.
You need to add HTTP Header Manager with variable name Content-Type
with value application/x-www-form-urlencoded
,
This will tell the server that the values need to be decoded
Upvotes: 1