New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multibyte data getting corrupted with HTTP POST - when used JMeter 2.3.4 #2320
Comments
Sebb (migrated from Bugzilla): Please also provide jmeter.properties for both versions of JMeter. |
jml (migrated from Bugzilla): |
jml (migrated from Bugzilla): |
Sebb (migrated from Bugzilla): |
jml (migrated from Bugzilla): Please see the screenshots of the reponses that i have added in the zip file. In the screenshot - its clear that the HTTP Reponse is not being handled correctly by Jmeter 2.3.4 , when we have method as POST. If i just use Jmeter 2.3RC4 for the ditto jmx file , the HTTP response will be proper - see the screen shot again. I gave just 1 sample testcase to show that the HTTP Response is not handled correctly - the multibyte data in the response are getting corrupted when handled by jmeter 2.3.4 . Please Let me know what other details would be required. may i know -Do you want me to send more testcases as samples/examples ? |
Sebb (migrated from Bugzilla): What do the corresponding Sampler Result pages show? Just noticed that the image of the View Results Tree in 2.3.4 looks completely different from normal. The buttons are rounded, and the tabs look completely different. Also the test tree looks different. Are you sure you are using the official build of JMeter 2.3.4? |
jml (migrated from Bugzilla): <<<<< Is it only the response that differs between 2.3RC4 and 2.3.4?>>>>>>> the multibyte content inside the response is seen garbled with 2.3.4 , whereas in 2.3RC4 its proper.
<<<<<<<<<What do the corresponding Sampler Result pages show?>>>>>>>>>>>> i did not understand this question clearly -- i have sent the screen shots for result - i.e of the view result tree. That shows how the result is seen. <<<<<<<<Just noticed that the image of the View Results Tree in 2.3.4 looks completely different from normal. The buttons are rounded, and the tabs look completely different. Also the test tree looks different. i accessed this page for download : <<<<<<Are you using the same version of Java for both tests, if so which?>>>>>>> |
Sebb (migrated from Bugzilla):
There are 3 tabs; I need to see the contents of the "Sampler result" tab. Probably a good idea to include the "Request" tab contents too.
Yes, this is the one.
No, JMeter picks up whichever version of Java is first on the path. The JMeter GUI should look similar in both versions, assuming that they are using the same JVM. On Windows there are slight variations between Java 1.4/1.5/1.6, but the shape of buttons does not change, and tabs always look like tabs. Please attach jmeter.log from each version of JMeter. There may be sensitive information in it; if so please replace with something innocuous first. |
@pmouawad (migrated from Bugzilla): Regards |
@pmouawad (migrated from Bugzilla): |
jml (Bug 48372):
I had initially created a testplan using JMeter 2.3RC4 - because this was available as latest when i started using Jmeter for my work. All things were working absolutely fine on this.
About 2 days back i wanted to pick the latest available version of Jmeter and start using it . Hence i downloaded 2.3.4 official release version.
so, opened my existing jmx testplan file using 2.3.4 & executed/run the testcase.
PROBLEM:
the multibyte data for the HTTP POST requests are getting garbled.
i.e
ATTACHMENTS:
I have attached screen shots(two .png images are zipped): shows same testcase run on 2.3RC4 and 2.3.4 . If you notice in that pictures - on 2.3RC4 the result is fine and multibyte data is also correct. on 2.3.4 , the multibyte data is corrupted.
DETAILS:
The HTTP Request was created as follows :
Also in jmeter.properties file : i have given :
sampleresult.default.encoding = UTF-8
When i run the testcases , the response assertion checks for a particular multibyte content in the http response received. It fails because , i can see the HTTP Response under View result tree - which has been garbled.
The same testcase when run using 2.3RC4 works absolutely fine and testcase passes. There is absolutely no change b/w the way i run in 2.3.RC4 & 2.3.4 .
With 2.3.4 it fails because multibyte content is getting corrupted.
NOTE:
The HTTP GET request handles the multibyte data correctly .The garbling issue is noticed only when i have HTTP POST.
Additional observation :
(in case if its relevant)
On 2.3.4 , After running the testcase . go to View Result Tree , there is a node called "Sample Result". Under this the following entries are noticed for POST request:
HTTPSampleResult fields:
DataEncoding: ISO-8859-1
Now. If i change the HTTP request method to GET , the above is seen as follows:
HTTPSampleResult fields:
DataEncoding: utf-8
So - what is impacting this i do not know.
ISSUE MARKED AS BLOCKER :
The issue iam raising as blocker because , all HTTP POST request's multibyte content is getting garbled if i use 2.3.4 . Basically i cannot use 2.3.4 for running my tests having HTTP POST.
As workaround :
iam just using the previous version that we had picked - 2.3RC4 itself. With 2.3.RC4 everything works absolutely fine.
Kindly fix the problem for 2.3.4.
Created attachment HTTP_POST_multibyteproblem_2snapshots.zip: contains 2 png image files showing the execution with jmeter 2.3.4 and 2.3RC4
Severity: normal
OS: All
The text was updated successfully, but these errors were encountered: