On 04/06/2008, John Soye <[EMAIL PROTECTED]> wrote: > Hi all, > I'm using jakarta-jmeter-2.3.1. When I use the HTTP Proxy Server to record > tests, I can record a few links, but eventually I receive the browser > message "503 Gateway timeout - The connection timed out". When I checked the > jmeter.log file, I got the following: > > > 2008/06/04 11:46:33 INFO - jmeter.protocol.http.proxy.Daemon: Creating > Daemon Socket... on port 9090 > 2008/06/04 11:46:33 INFO - jmeter.protocol.http.proxy.Daemon: Proxy up and > running! > 2008/06/04 11:46:38 INFO - jmeter.protocol.http.proxy.FormCharSetFinder: > Using htmlparser version: 2.0 (Release Build Sep 17, 2006) > 2008/06/04 11:46:48 WARN - jmeter.samplers.SampleResult: Using platform > default as UTF-8;charset=utf-8 caused java.io.UnsupportedEncodingException: > UTF-8;charset=utf-8 > 2008/06/04 11:47:08 WARN - jmeter.samplers.SampleResult: Using platform > default as UTF-8;charset=utf-8 caused java.io.UnsupportedEncodingException: > UTF-8;charset=utf-8 > 2008/06/04 11:47:14 WARN - jmeter.samplers.SampleResult: Using platform > default as UTF-8;charset=utf-8 caused java.io.UnsupportedEncodingException: > UTF-8;charset=utf-8 > 2008/06/04 11:47:18 ERROR - jmeter.protocol.http.proxy.Proxy: Exception when > processing sample java.io.UnsupportedEncodingException: UTF-8;charset=utf-8 > at sun.io.Converters.getConverterClass(Converters.java:218) > at sun.io.Converters.newConverter(Converters.java:251) > at sun.io.ByteToCharConverter.getConverter(ByteToCharConverter.java:68) > at java.lang.StringCoding.decode(StringCoding.java:224) > at java.lang.String.<init>(String.java:405) > at java.lang.String.<init>(String.java:433) > at > > org.apache.jmeter.protocol.http.proxy.HttpRequestHdr.populateSampler(HttpRequestHdr.java:385) > at > > org.apache.jmeter.protocol.http.proxy.HttpRequestHdr.getSampler(HttpRequestHdr.java:243) > at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:165) > > > If anyone has any ideas on this, I'd be extremely grateful.
I think someone else reported this - it was due to the server sending a duplicate charset: charset=UTF-8;charset=utf-8 Might be worth checking the current nightly to see if this fixes the problem. > Also, I can only run this in Firefox. It doesn't record anything for me in > Internet Explorer 7 (7.0.7730.13), but that doesn't really matter, as long > as I can record it in Firefox. I''ve seen that too - IE sometimes seems to ignore the proxy for local hosts, even if you tell it not to ignore local hosts. Try using the "real" IP address of the JMeter proxy - i.e. not 127.0.0.1 - this might help, but again IE might still consider it to be local. > Many thanks, John. > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

