Looks like it cannot handle utf-8; it probably wants UTF-8.
This comes from the sample result itself. If not provided, it defaults
to the JMeter property "sampleresult.default.encoding" - check that
you have not defined this as "utf-8"
Otherwise, check the contents of the actual response. If it is utf-8,
then complain to the server owner ...
S.
On 13/09/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi, I'm having problems getting a recorded jmeter script to work. I
noticed in my jmeter.log the following warnings when I try to run the
script:
WARN - jmeter.samplers.SampleResult: Using 'utf-8' caused j
ava.io.UnsupportedEncodingException: 'utf-8'
Also, when i tried using the XPathExtractor, I got:
ERROR - jmeter.extractor.XPathExtractor: error on XPathExtra
ctor.xpathQuery(//form//[EMAIL PROTECTED]'SCHMOO']/@value)
java.io.UnsupportedEncodingException: '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.extractor.XPathExtractor.parseResponse(XPathExtract
or.java:165)
at org.apache.jmeter.extractor.XPathExtractor.process(XPathExtractor.jav
a:93)
at org.apache.jmeter.threads.JMeterThread.runPostProcessors(JMeterThread
.java:428)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:253)
at java.lang.Thread.run(Thread.java:595)
I'm using version 2.2 jmeter with jdk 1.5.0_07 on Redhat Fedora 3.
Any advice would be appreciated.
Thanks,
Bruce Cota
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]