SLo
SLo

Reputation: 75

How to deactivate encoding of the http parameters in JMeter?

I recorded some HTTP requests with opening a starting page, login etc. I also get the viewstate value from the previous request and use it in the next one. To ensure that the http parameters don't get encoded I removed all encoding checkboxes.

But when I start the run the parameters still get encoded (see second screenshot). Why is this happening? I tried it in JMeter 2.11 and 2.13.

enter image description here

enter image description here

enter image description here

Upvotes: 1

Views: 2475

Answers (2)

SLo
SLo

Reputation: 75

What solved the problem was that I recorded it another two times and the second request worked finally. I can't explain why but I think this is always a good way to solve prblems with requests.

Upvotes: -2

timbre timbre
timbre timbre

Reputation: 13995

I had similar issue, and I came to conclusion that Encode? only avoids encoding of parameter values, not parameter names (which is your case as well it seems). I did not find any good solution that worked with Parameters tab. Had to switch to Body Data and just format my own request. Basically you just change each param-value pair into param=value and add & to separate parameters:

form-login=form-login&form-login:xi-username:xi-username:login=${username}&...

Upvotes: 4

Related Questions