DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=36898>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36898 ------- Additional Comments From [EMAIL PROTECTED] 2005-10-14 15:48 ------- Ok, I think I've finally found where is the bug. It's in the class RegexExtractor of the package org.apache.jmeter.extractor in the process() method there is a creation of a PatternMatcherInput whith the last response data of the last result. At this place, the response data is passed without any string encoding. To correct this bug, i've replace the line input = new PatternMatcherInput(useHeaders() ? context.getPreviousResult() .getResponseHeaders() : new String(context.getPreviousResult().getResponseData())); by try { input = new PatternMatcherInput(useHeaders() ? context.getPreviousResult() .getResponseHeaders() : new String(context.getPreviousResult().getResponseData(),context.getPreviousResult().getDataEncoding())); } catch (UnsupportedEncodingException e2) { input = new PatternMatcherInput(useHeaders() ? context.getPreviousResult() .getResponseHeaders() : new String(context.getPreviousResult().getResponseData())); } I don't know if it's THE good way to correct it, but now, the String I extract are encoded correctly. I'm not really accustomed with the way to modify the source code one a jakarta project. Can someone do this? Am I habilited to do this ? -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
