thanks for quick answers.

I downloaded 2.0.3 and tried the XML assertion. If I may give some critics:
  - it's an assertion, so it must be plugged to each request. I was more
thinking about a listener, as it can be easily added/removed from the test
plan (JMeter's first goal is load testing, so tests could be altered by the
HTML validation)
  - it's using JTidy. I don't know much about this parser but it didn't
detect none closed tag and looks pretty old. Tell me if I'm wrong.

I began working on a listener with DTD validation (with JDK default XML
libraries, that is Xerces I think). It's working quite well (thanks to
JMeter extensibility  ;-) ) but the DTD validation doesn't really suit to
HTML validation (because of JavaScript for example). Does anyone know a good
Java (X)HTML validator?

Thanks.

Arno

PS: tell me if this thread should continue on the developper list.


> The latest CVS code includes the following:
>=20
> XML Assertion
> as well as
> XPath Assertion
> XMLSchema Assertion
>=20
> It looks like the XPath Assertion (with a path of /) may do what you want=
.
>=20
> On 4/21/05, Peter Lin <[EMAIL PROTECTED]> wrote:
> > Jmeter already ships with JTidy, so it may be easy to simply use that
> > to figure out if the HTML is XHTML compliant. The other option is to
> > use DTD validation, which could be a listener.
> >
> > peter
> >
> >
> > On 4/21/05, COGOLUEGNES Arnaud <[EMAIL PROTECTED]> wrote:
> > > Hi all,
> > >
> > > As test plans are usually a good overview of a web application use ca=
ses, I
> > > was wondering if they could be used for more than load testing. For e=
xample,
> > > (X)HTML validation could be easily (well I think :-) ) done by develo=
pping a
> > > listener. The idea would be to use existing Java validator or even
> > > developping a small custom library based on XML libraries.
> > >
> > > Before I dive in this developpment, does anyone know if such a tool a=
lready
> > > exists for JMeter?
> > >
> > > Thanks
> > >
> > > Arno
> > >
> > > ---------------------------------------------------------------------
> > > 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]



Message Index: [Date] [Author] [Thread]
Prev Next Prev by Thread Next by Thread 

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

Reply via email to