JMeter does append to the logfile, but it is supposed to only create
the <?xml...?> once at the start of the file.

S.
On 12/10/05, Peter Lin <[EMAIL PROTECTED]> wrote:
> it looks like you're running the test twice but using the same log file. by
> default jmeter appends to the log file, so you'll need to give each run a
> different file name.
>
> hope that helps
>
> peter
>
>
> 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]
> >
> >
>
>

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

Reply via email to