You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Jozef Kutej <jo...@kutej.net> on 2008/02/25 12:52:11 UTC
slow/buggy xml parser?
Hi,
This is my test loop:
* http request - http://m.facebook.com/
* xpath assertion - /html/head/title[text()="Facebook | Welcome to
Facebook"]
If none of the XML parsing options is checked I get throughput
2.3/minute (!). It's painfully slow (one hit per 26 seconds...). No CPU
load just hanging. Strange.
If I check Tolerant XML/HTML parser option I get throughput
2.6/second. That is like it should be because of the network.
That is quite a difference... Any idea?
I use JMeter 2.3.1. on a Debian Etch machine.
Jozef.
Re: slow/buggy xml parser?
Posted by sebb <se...@gmail.com>.
On 25/02/2008, sebb <se...@gmail.com> wrote:
> On 25/02/2008, Jozef Kutej <jo...@kutej.net> wrote:
>
> > sebb wrote:
> > > The difference is that the non-tolerant parser downloads the DTD,
> > > which in turn seems to refer to other files. There are about 30 files
> > > that are fetched in all.
> >
> >
> > Thank you! this is the reason. Jmeter is fetching quite a lot of dtd-s
> > for xhtml mobile.
> >
> > Also if I use "View Results Tree" and switch from "Show Text" to "Render
> > XML" it's fetching them every time. It takes 27seconds to do so.
> >
>
>
> Yes, I noticed that too; it needs to be fixed.
>
The Render XML code has been fixed in SVN, and will be in the next
version of JMeter.
> > Jozef.
> >
> >
> >
> >
> >
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: slow/buggy xml parser?
Posted by sebb <se...@gmail.com>.
On 25/02/2008, Jozef Kutej <jo...@kutej.net> wrote:
> sebb wrote:
> > The difference is that the non-tolerant parser downloads the DTD,
> > which in turn seems to refer to other files. There are about 30 files
> > that are fetched in all.
>
>
> Thank you! this is the reason. Jmeter is fetching quite a lot of dtd-s
> for xhtml mobile.
>
> Also if I use "View Results Tree" and switch from "Show Text" to "Render
> XML" it's fetching them every time. It takes 27seconds to do so.
>
Yes, I noticed that too; it needs to be fixed.
> Jozef.
>
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: slow/buggy xml parser?
Posted by Jozef Kutej <jo...@kutej.net>.
sebb wrote:
> The difference is that the non-tolerant parser downloads the DTD,
> which in turn seems to refer to other files. There are about 30 files
> that are fetched in all.
Thank you! this is the reason. Jmeter is fetching quite a lot of dtd-s
for xhtml mobile.
Also if I use "View Results Tree" and switch from "Show Text" to "Render
XML" it's fetching them every time. It takes 27seconds to do so.
Jozef.
Re: slow/buggy xml parser?
Posted by sebb <se...@gmail.com>.
On 25/02/2008, Jozef Kutej <jo...@kutej.net> wrote:
> Hi,
>
> This is my test loop:
>
> * http request - http://m.facebook.com/
> * xpath assertion - /html/head/title[text()="Facebook | Welcome to
> Facebook"]
>
>
> If none of the XML parsing options is checked I get throughput
> 2.3/minute (!). It's painfully slow (one hit per 26 seconds...). No CPU
> load just hanging. Strange.
>
> If I check Tolerant XML/HTML parser option I get throughput
> 2.6/second. That is like it should be because of the network.
>
> That is quite a difference... Any idea?
>
The difference is that the non-tolerant parser downloads the DTD,
which in turn seems to refer to other files. There are about 30 files
that are fetched in all.
I'm not yet sure why it does this when the "Validate XML" option is
not selected.
This may be a JMeter bug, or may be a restriction of the parser - I'll
look into this.
BTW, if you do select "Validate XML" this reports an error.
> I use JMeter 2.3.1. on a Debian Etch machine.
>
>
> Jozef.
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org