As an aside - did you try using the Post-Processor "Save Responses to a
FIle" ?

I'd be interested to know if this preserved the response data correctly - or
not.

Just curious.

S.
-----Original Message-----
From: Vincent Partington [mailto:[EMAIL PROTECTED]
Sent: 05 January 2004 15:43
To: JMeter Users List
Subject: Re: jorphan.io.TextFile always uses default encoding,
ResultCollector always uses UTF-*


Jordi Salvat i Alabart wrote:
> I've fixed the issue (in current CVS code) by enabling TextFile to use 
> an encoding of choice and having ResultCollector use UTF-8. It's 
> suboptimal, but it will do until someone has the time and energy to 
> write a ResultCollector that dumps content into files or uses base64 
> encoding or whatever.

Hi Jordi,

Thank you for implementing that fix. That will at least solve some of my 
problems. There is still the issue of the &1#; characters appearing.

The problem will be solved even better when result data is not written 
to the results XML file. Currently this only happens when a response 
assertion sets error="true":
     result.setFailureMessage(
            new String((byte[]) response.getResponseData()));

A more logical approach would be to set the failure message to something 
like "Cannot assert response when sample was not succesful", or just not 
checking where the sample was succesful at all.

Regards, Vincent.




---------------------------------------------------------------------
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