Please don't send attachments to the mailing list.

Mostly they get dropped; if not, they just cause annoyance to others
not interested in them.

Please create a Bugzilla issue with the details of the problem.

You can then go back to the issue and attach the following files:

test plan (JMX file)
jmeter.log
output from Save Responses to a file, or failing that, add a Simple
Data Writer and set the output type to XML. Make sure that "Save
Response Data" is enabled.

On 13/08/07, Raghuveer Sribhashyam <[EMAIL PROTECTED]> wrote:
> Sebb,
>
> I have checked with the latest nightly build of jmeter
> jakarta-jmeter-r564722 and also with jakarta-jmeter-2.3RC3 which is the
> official version released for jmeter.
>
> I have never used the "Save Results to file" post-processor and am not able
> to get it working. I have saved the output from the testplan into a file. Am
> attaching the same with this message.
>
> I have tested the same with java version 1.4.2_15 as well. But it seems to
> be not working.
>
> Log from jmeter jakarta-jmeter-r564722:
> 2007/08/13 17:11:40 ERROR - jmeter.extractor.XPathExtractor: error on
> XPathExtractor.xpathQuery(/Envelope/Body/manageClientProfileResponse/manageClientProfileRes/clientProfile/client/clientIdentifier/value/text())
> java.io.UnsupportedEncodingException: "utf-8"
>    at sun.io.Converters.getConverterClass(Unknown Source)
>    at sun.io.Converters.newConverter(Unknown Source)
>    at sun.io.ByteToCharConverter.getConverter(Unknown Source)
>    at java.lang.StringCoding.decode(Unknown Source)
>    at java.lang.String.<init>(Unknown Source)
>    at java.lang.String.<init>(Unknown Source)
>    at org.apache.jmeter.extractor.XPathExtractor.parseResponse(
> XPathExtractor.java:169)
>    at org.apache.jmeter.extractor.XPathExtractor.process(
> XPathExtractor.java:95)
>    at org.apache.jmeter.threads.JMeterThread.runPostProcessors(
> JMeterThread.java:534)
>    at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:305)
>    at java.lang.Thread.run(Unknown Source)
>
> Log from jakarta-jmeter-2.3RC3 :
> 2007/08/13 17:17:09 ERROR - jmeter.extractor.XPathExtractor: error on
> XPathExtractor.xpathQuery(/Envelope/Body/manageClientProfileResponse/manageClientProfileRes/clientProfile/client/clientIdentifier/value/text())
> java.io.UnsupportedEncodingException: "utf-8"
>    at sun.io.Converters.getConverterClass(Unknown Source)
>    at sun.io.Converters.newConverter(Unknown Source)
>    at sun.io.ByteToCharConverter.getConverter(Unknown Source)
>    at java.lang.StringCoding.decode(Unknown Source)
>    at java.lang.String.<init>(Unknown Source)
>    at java.lang.String.<init>(Unknown Source)
>    at org.apache.jmeter.extractor.XPathExtractor.parseResponse(
> XPathExtractor.java:169)
>    at org.apache.jmeter.extractor.XPathExtractor.process(
> XPathExtractor.java:95)
>    at org.apache.jmeter.threads.JMeterThread.runPostProcessors(
> JMeterThread.java:534)
>    at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:305)
>    at java.lang.Thread.run(Unknown Source)
>
> Do you want me to raise a issue on bugzilla??
>
> Thanks
> Raghuveer
>
>
> On 8/13/07, sebb < [EMAIL PROTECTED]> wrote:
> >
> > That is the same version of Java I used until recently for testing
> > JMeter, so I'm positive that utf-8 is supported.
> >
> > [However, you might like to try 1.4.2_15, which has some security fixes.]
> >
> > Which version of JMeter are you using?
> > I cannot match the line numbers with code I've checked.
> >
> > I'm wondering if the problem is in the code nearby:
> >
> >       String unicodeData = new String(result.getResponseData(),
> >                                       result.getDataEncoding());
> >
> > Perhaps the sampler response is not valid for the data encoding
> > (utf-8), but in that case the error message is rather misleading.
> >
> > You could add a "Save Results to File" Post-Processor as a child of
> > the sampler to create a copy of the data.
> >
> > This could then be attached to a Bugzilla report along with the test
> > plan and jmeter.log.
> >
> > Remove any sensitive data first.
> >
> >
> > S.
> > On 13/08/07, Raghuveer Sribhashyam <[EMAIL PROTECTED]> wrote:
> > > Hi Sebb,
> > >
> > > Java version on the machine is 1.4.2_13
> > >
> > > java version "1.4.2_13"
> > > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_13-b06)
> > > Java HotSpot(TM) Client VM (build 1.4.2_13-b06 , mixed mode)
> > >
> > > OS is : Windows XP.
> > >
> > > Thanks
> > > Raghuveer Sribhashyam
> > >
> > > On 8/13/07, sebb <[EMAIL PROTECTED]> wrote:
> > > >
> > > > That should not happen with a fully compliant version of Java 1.4 or
> > > > later - it should support utf-8.
> > > >
> > > > What version of Java are you using, and what OS?
> > > >
> > > >
> > > > On 13/08/07, Raghuveer Sribhashyam <[EMAIL PROTECTED]> wrote:
> > > > > Hi All,
> > > > >
> > > > > I am trying to run a SOAP request. I have the following structure:
> > > > >
> > > > > Test Plan
> > > > > ------Thread Group
> > > > >      -------SOAP Request
> > > > >             --------Response Assertion
> > > > >             --------XPATH extractor
> > > > >
> > > > > When i try to run the test plan with XPATH extractor it gives a
> > > > response.
> > > > > When i enable XPATH extractor, it doesn't show any response.
> > > > >
> > > > > I have checked the jmeter.log:
> > > > > Following is error message i can see in the logs.
> > > > >
> > > > > 2007/08/13 11:42:38 ERROR - jmeter.extractor.XPathExtractor: error
> > on
> > > > > XPathExtractor.xpathQuery
> > > >
> > (/Envelope/Body/manageClientProfileResponse/manageClientProfileRes/clientProfile/client/clientIdentifier/value/text())
> > > > > java.io.UnsupportedEncodingException : "utf-8"
> > > > >    at sun.io.Converters.getConverterClass(Unknown Source)
> > > > >    at sun.io.Converters.newConverter(Unknown Source)
> > > > >    at sun.io.ByteToCharConverter.getConverter (Unknown Source)
> > > > >    at java.lang.StringCoding.decode(Unknown Source)
> > > > >    at java.lang.String.<init>(Unknown Source)
> > > > >    at java.lang.String.<init>(Unknown Source)
> > > > >    at org.apache.jmeter.extractor.XPathExtractor.parseResponse(
> > > > > XPathExtractor.java:169)
> > > > >    at org.apache.jmeter.extractor.XPathExtractor.process(
> > > > > XPathExtractor.java :95)
> > > > >    at org.apache.jmeter.threads.JMeterThread.runPostProcessors(
> > > > > JMeterThread.java:534)
> > > > >    at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java
> > :305)
> > > > >    at java.lang.Thread.run(Unknown Source)
> > > > >
> > > > > 2007/08/13 11:42:38 ERROR - jmeter.threads.JMeterThread: Test
> > failed!
> > > > > org.apache.jorphan.util.JMeterError: error on
> > XPathExtractor.xpathQuery
> > > > >
> > > >
> > (/Envelope/Body/manageClientProfileResponse/manageClientProfileRes/clientProfile/client/clientIdentifier/value/text())
> > > > >    at org.apache.jmeter.extractor.XPathExtractor.process (
> > > > > XPathExtractor.java:100)
> > > > >    at org.apache.jmeter.threads.JMeterThread.runPostProcessors(
> > > > > JMeterThread.java:534)
> > > > >    at org.apache.jmeter.threads.JMeterThread.run (JMeterThread.java
> > :305)
> > > > >    at java.lang.Thread.run(Unknown Source)
> > > > > Caused by: java.io.UnsupportedEncodingException: "utf-8"
> > > > >    at sun.io.Converters.getConverterClass (Unknown Source)
> > > > >    at sun.io.Converters.newConverter(Unknown Source)
> > > > >    at sun.io.ByteToCharConverter.getConverter(Unknown Source)
> > > > >    at java.lang.StringCoding.decode (Unknown Source)
> > > > >    at java.lang.String.<init>(Unknown Source)
> > > > >    at java.lang.String.<init>(Unknown Source)
> > > > >    at org.apache.jmeter.extractor.XPathExtractor.parseResponse (
> > > > > XPathExtractor.java:169)
> > > > >    at org.apache.jmeter.extractor.XPathExtractor.process(
> > > > > XPathExtractor.java:95)
> > > > >    ... 3 more
> > > > >
> > > > >
> > > > > Request your help in resolving the same.
> > > > > Let me know if you any other information.
> > > > >
> > > > > Raghuveer Sribhashyam
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > 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]
> >
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to