url encoding in queryParam

How do I prevent “=” in a queryParam from encoding to “%3D” when the request is executed?

I set useRawUrl to true, but it doesnt seem to honor it.

Are you sure you want to do that? Query parameter names and values are supposed to be URL encoded.

Anyway, are you sure it doesn’t actually work? I realized that Gatling wasn’t properly logging requests with raw url, but the underneath engine was honoring it properly.

22:13:17.127 [DEBUG] c.n.h.c.p.n.NettyAsyncHttpProvider -

Request DefaultHttpRequest(chunked: false)
GET /computers?f=App**=**le HTTP/1.1
Host: localhost:9000
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip
Connection: keep-alive
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:11.0) Gecko/20100101 Firefox/11.0



Turns out it was a red herring

I was getting an error and the only thing glaring at all was the encoding, and since it worked fine in a normal REST client and my server’s logs were spitting out parsing errors I imagined it was that.

Looks like my headers were slightly off and this non-issue uncovered some bad logging on my side – so once again, thanks much!

No pro, it made me uncover a bug in our logging. :slight_smile:
Glad you could solve it.