Summary: | multibyte data getting corrupted with HTTP POST - when used JMeter 2.3.4 | ||
---|---|---|---|
Product: | JMeter - Now in Github | Reporter: | jml <jmltestaccount> |
Component: | HTTP | Assignee: | JMeter issues mailing list <issues> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | jmltestaccount, p.mouawad |
Priority: | P1 | ||
Version: | 2.3.4 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Attachments: |
contains 2 png image files showing the execution with jmeter 2.3.4 and 2.3RC4
jmx sample file and jmeter properties file of both versions discussed |
Description
jml
2009-12-10 22:50:59 UTC
As mentioned on the e-mail thread, please provide a JMX file that contains a sampler that fails on 2.3.4. Please also provide jmeter.properties for both versions of JMeter. Created attachment 24691 [details]
jmx sample file and jmeter properties file of both versions discussed
please find the attached zip file containing 3 files inside that - sample jmx file which has one of the testcase for HTTP POST Request that fails on 2.3.4 but passed on 2.3RC4 , and , there are jmeter.properties file of both jmeter versions. Thanks for the JMX file. However, as far as I can tell, none of the HTTP requests actually contain any multibyte data, so it's not possible to determine what the problem is. In the attached jmx file , i have given a simple command that is used in our testcase - i.e the Export command - which will get the entire calendar data from the calendar server, as part of the HTTP response. . Now, that HTTP Response returned from the server has multibyte content - example calendar name , etc .. which are in non-english . Please see the screenshots of the reponses that i have added in the zip file. I have given the comparison of HTTP responses as seen under both Jmeter versions. 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 . That same jmx file works absolutely fine without any change when used with Jmeter 2.3RC4. Please Let me know what other details would be required. may i know -Do you want me to send more testcases as samples/examples ? Do I understand you correctly? Is it only the response that differs between 2.3RC4 and 2.3.4? 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? Are you using the same version of Java for both tests, if so which? Please find my comments below for the questions you had asked : <<<<< 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. here is the overview : * iam sending a HTTP POST request(i have explained already how the request is formed and sent, as shown in sample jmx file). * then checking the response received (i.e iam viewing this under the "View result tree" , under that the node called HTTP response. I have shown this in attached screenshots) * in that response it has multibyte content(like calendar names etc in non-english) . problem is -those multibyte data is garbled in response(when in 2.3.4) <<<<<<<<<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. Are you sure you are using the official build of JMeter 2.3.4? >>>>>>>>>>> i accessed this page for download : http://jakarta.apache.org/site/downloads/downloads_jmeter.cgi on this page : i clicked the Binary- "2.3.4.zip" link and downloaded the zip file . is this not the official release of 2.3.4 ? <<<<<<Are you using the same version of Java for both tests, if so which?>>>>>>> yes. same version of Java all the time. I mean, i have my terminal set with JAVA_HOME to version 1.5.0_13. On same terminal i open the jmeter gui --for both versions. am i correct in understanding that jmeter takes java as per the terminal setting- or do i need to set that explicitly anywhere for 2.3.4 ? (In reply to comment #7) > Please find my comments below for the questions you had asked : > > > <<<<<<<<<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. > 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. > > <<<<<<<<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? >>>>>>>>>>> > > i accessed this page for download : > http://jakarta.apache.org/site/downloads/downloads_jmeter.cgi > on this page : i clicked the Binary- "2.3.4.zip" link and downloaded the zip > file . > is this not the official release of 2.3.4 ? Yes, this is the one. > > <<<<<<Are you using the same version of Java for both tests, if so > which?>>>>>>> > yes. same version of Java all the time. I mean, i have my terminal set with > JAVA_HOME to version 1.5.0_13. On same terminal i open the jmeter gui --for > both versions. > am i correct in understanding that jmeter takes java as per the terminal > setting- or do i need to set that explicitly anywhere for 2.3.4 ? 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. Hello, Regarding the look, it's related to Mac OS, this look is the one on this OS. I have the same look running JDK 6 on Mac OS 10.6.8 Regards Philippe I checked code and I don't see issue on response conversion to String. I close issue as we cannot reproduce it and issue was not updated since 2009 by reporter. This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2320 |