I ran an some more tests and the problem is caused by the combination of jars that I use. A fresh download of jmeter does not have this problem.
On 10/12/05, Bogdan Calmac <[EMAIL PROTECTED]> wrote: > I have a very simple test plan which looks like this: > > TestPlan > ThreadGroup > HttpRequest > HttpRequest > SimpleDataWriter > > I use this just to save the results to XML and use the jmeter-ant task > to generate an html report. However, the xml generated by > SimpleDataWriter looks as below. The problem is that each > <sampleResult> is preceded by <?xml version="1.0" encoding="UTF-8"?> > > Note: I am using version 2.1.1 > > Second note: The same thing happens if I run jmeter with the ant task > and set the "resultlog" property. > > thank you. > > > > <?xml version="1.0" encoding="UTF-8"?> > <testResults version="1.1"> > > <?xml version="1.0" encoding="UTF-8"?><sampleResult > timeStamp="1129068445294" dataType="text" threadName="Thread Group > 1-1" label="HTTP Request" time="15" responseCode="200" > success="true"><sampleResult timeStamp="1129068445294" dataType="text" > threadName="" label="http://vm12/" time="15" responseCode="302" > success="true"/><sampleResult timeStamp="1129068445294" > dataType="text" threadName="" label="http://vm12/apache2-default/" > time="0" responseCode="200" success="true"/></sampleResult> > > <?xml version="1.0" encoding="UTF-8"?><sampleResult > timeStamp="1129068445310" dataType="text" threadName="Thread Group > 1-1" label="HTTP Request" time="0" responseCode="200" > success="true"><sampleResult timeStamp="1129068445310" dataType="text" > threadName="" label="http://vm12/" time="0" responseCode="302" > success="true"/><sampleResult timeStamp="1129068445310" > dataType="text" threadName="" label="http://vm12/apache2-default/" > time="0" responseCode="200" success="true"/></sampleResult> > > </testResults> > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]