https://issues.apache.org/bugzilla/show_bug.cgi?id=51738
Bug #: 51738 Summary: Http Request Sampler does not handle the deflate compression mechanism when shown in Tree Results Product: JMeter Version: 2.5 Platform: PC OS/Version: Windows XP Status: NEW Severity: critical Priority: P2 Component: HTTP AssignedTo: notifications@jakarta.apache.org ReportedBy: herminio.vazq...@humint.eu Classification: Unclassified I am sending a HTTP Request sampler together with a HTTP Header Manager, which Accept-Encoding has: gzip,deflate. The responses are sent deflated from the web server, and I use to perform the deflation of responses by hand with a post processor in order to report the right number of bytes, and also display the decompressed text in the tree result listener, but in version 2.5 this mechanism is not working anymore. The post processor which uses beanshell for inflating the response is not working anymore, the code is the following: compressSize = prev.getBytes(); decompresser = new java.util.zip.Inflate(true); decompresser.setInput(prev.getResponseData(), 0, prev.getBytes()); result = new byte[LARGE_ARRAY]; resultLength = decompresser.inflate(result); decompresser.end(); outputString = new String(result,0,resultLength, "UTF-8"); prev.setResponseData(outputString, "UTF-8"); prev.setBytes(compressSize); In the tree listener everything looks compressed instead of readable text. Help is needed to make this backwards compatible. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@jakarta.apache.org For additional commands, e-mail: notifications-h...@jakarta.apache.org