Hello,

I have a problem with the logging system of JMeter for http response. In fact, I need to log the response data in order to see where and how a test has failed. But when I try to reformat the xml output with xsl, the parser stops and says that he could not parse the file because there are "illegal characters". After searching a bit I found that the problem was that any binary data (pictures for example) in a http response is included as raw text. Because of this, there are such illegal characters in the text and the log file is no longer a valid xml file.

Is there anyway to prevent this?

Below is a sample of the log file.

Thanks

-- Sample --

<sampleResult timeStamp="1058267865684" dataType="text" threadName="Thread Group-1" label="/WebObjects/Frameworks/DenaliSharedContentoFramework.framework/ WebServerResources/ligne-bleu.gif" time="95" responseMessage="OK" responseCode="200" success="true"><property xml:space="preserve" name="samplerData">http://www.denali.be/WebObjects/Frameworks/ DenaliSharedContentoFramework.framework/WebServerResources/ligne- bleu.gif</property><assertionResult failureMessage="" error="false" failure="false"/><binary>HTTP/1.1 200 OK
Date: Tue, 15 Jul 2003 11:17:46 GMT
Server: Apache/1.3.26
Last-Modified: Fri, 04 Jul 2003 07:21:48 GMT
ETag: "ce73-109-3f052b0c"
Accept-Ranges: bytes
Content-Length: 265
Connection: close
Content-Type: image/gif


GIF89a3√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©e√î√∏Œ©i√î√∏Œ ©,√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ© !√î√∏Œ©,3√î√∏Œ©p√î√∏Œ©j√î√∏Œ©√î√∏Œ©b{'Ô¨Ç√∂ J√î√∏Œ©X√î√∏Œ©√î√∏Œ©≈∏√´c√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©\√î√∏Œ©v{√î [EMAIL PROTECTED] Œ©Z√î√∏Œ©J)z- r√î√∏Œ©Zo√î√∏Œ©W√î√∏Œ©gs√î√∏Œ©&lt;≈í¬∂√î√∏Œ©o√î√∏Œ©Z√î√∏Œ©√î√∏Œ©√î√∏Œ© √î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©x√î√∏Œ©√î√∏Œ©|√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©{√î √∏Œ©z√î√∏Œ©q√î√∏Œ©√î√∏Œ©√î√∏Œ©y√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ ©√î√∏Œ©- √î√∏Œ©3√î√∏Œ©‚ĶœÄ√î√∏Œ©√î√∏Œ©‚Äî‚à´√î√∏Œ©√î√∏Œ©√î√∏Œ©√î√∏Œ©‚óä√¶√î√∏ Œ©j;</binary></sampleResult>

--

Bertrand Rousseau

Reply via email to