You don't need a listener and assertions don't have to be attached to
only a single request.  Move the assertion to a higher level and it will
be applied to all requests within it's scoping.

-Mike

On Fri, 2005-04-22 at 11:43 -0400, Peter Lin wrote:
> I'm not aware of a XHTML validation library. Many of the libraries out
> there like HtmlParser, JTidy are built to fix bad html and make it
> XHTML compliant.  I suppose one option would be to strip out the
> javascript and then run it through DTD validation.
> 
> not sure how that would work, but it's an idea.
> 
> peter
> 
> On 4/22/05, COGOLUEGNES Arnaud <[EMAIL PROTECTED]> wrote:
> > 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.
> > 
> >
> 
> ---------------------------------------------------------------------
> 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