jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Flavio Cysne <>
Subject Re: HTTP request sampler option "Content encoding"
Date Fri, 10 Aug 2012 12:00:44 GMT
HTTP Request sampler's Content Encoding field is related to Accept-Charset
header. UTF-8, UTF-16, ISO-8859-1, etc.
If you want to allow gzip you should use an HTTP Header Manager inside you
sampler with a parameter/value like one of these:

some other combination of content compression encoding values.

Hope it helps you.
Flávio Cysne

2012/8/10 Andrej van der Zee <>

> Hi,
> I am trying to gzip an HTTP *request* to the server (responses work
> fine by setting the HTTP header Accept-Encoding: gzip). I found an
> option in the sampler called "Content encoding" so I thought: Bingo!
> But unfortunately I get the following Java exception preventing the
> request from even being send to the server:
> Response code: Non HTTP response code:
> Response message: Non HTTP response message: gzip
> So what is the purpose of the sampler setting? If not setting the
> "Content-Encoding" HTTP request header and gzip the request, which
> would be rather confusing, how should I gzip HTTP requests?
> Cheers,
> Andrej
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message