jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Mouawad <>
Subject Regression in 4.5 vs 4.2.6
Date Sun, 05 Jul 2015 12:46:47 GMT
We upgraded recently JMeter in a branch from HttpClient 4.2.6 to 4.5 and
are facing what seems to be a regression.

It seems that when we don't set a charset in StringBody , MultipartEntity,
FormBodyPart, no charset is written in ContentType generation while it was
the case at least in 4.2.6, I think issue was introduced in 4.3.

Note also that javadocs of these components say:
@param charset the character set to use, may be {@code null}, in which case
{@link MIME#DEFAULT_CHARSET} - i.e. US-ASCII - is used.

But it's not the case since 4.3

Reading the sepcs, I am not sure that when charset is US-ASCII , it should
be written but it was the case in 4.2.6.

I created

As a test case, you can have a look at JMeter test cases:


The issue appears when no contentEncoding is set.
Thanks for help.
Philippe M.

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