jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Soye" <john.s...@gmail.com>
Subject Exception when processing sample java.io.UnsupportedEncodingException: UTF-8;charset=utf-8
Date Wed, 04 Jun 2008 11:11:00 GMT
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.
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.

Many thanks, John.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message