Without the 3 jars, the XML results generated by JMeter  (from any
listener) under Java 1.5 has

<?xml version="1.0" encoding="UTF-8"?>

before all <sampleResult> tags.

Without looking at the code, I would guess there is some issue with
the code generating the XML, because this problem only happens when
saving test results (saving the jmx project is fine).

On 10/12/05, sebb <[EMAIL PROTECTED]> wrote:
> Are you saying that without these jars, JMeter does not work properly on 1.5?
>
> The jars are definitely needed for Java 1.3, but I had thought they
> were optional for Java 1.4 and 1.5...
>
> S.
> On 12/10/05, Bogdan Calmac <[EMAIL PROTECTED]> wrote:
> > Finally, te reason was that I deleted xalan, xerces and xml-apis
> > assuming that they are included in Java 1.5. Are the versions that
> > come with jmeter newer than those in Java 1.5? Or does jmeter strictly
> > depend on the bundled jars?
> >
> > On 10/12/05, Bogdan Calmac <[EMAIL PROTECTED]> wrote:
> > > 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]
> >
> >
>
> ---------------------------------------------------------------------
> 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