Thanks Sebb. Yes, the XML assertion doesn't do any validation. 

Thanks for the tip about BeanShell - I hadn't used it before. I've just
downloaded and played around with it - impressive.

The Jmeter 2.0.1 documentation indicates that BeanShell is separate from
JMeter. Can anyone point me to documentation on how to hook up JMeter 2.0.1
with BeanShell - I couldn't find any? 

With regards,
Sonam Chauhan
-- 
Corporate Express Australia Ltd.
Phone: +61-2-9335-0725, Fax: 9335-0753, Email: [EMAIL PROTECTED]
 

> -----Original Message-----
> From: sebb [mailto:[EMAIL PROTECTED]
> Sent: Monday, 15 November 2004 11:29 PM
> To: JMeter Users List
> Subject: Re: Validate XML documents?
> 
> There is an XML Assertion, but I don't know if it supports checking
> against a schema - I think it just checks if the doc is well-formed. I
> guess this could be extended to add further checking.
> 
> You can use the Save Responses test element to save all the documents
> to a file, and perform the checking off-line.
> 
> Or you can use the BeanShell assertion to do whatever validation you
> want - best to use a recent version, which allows startup files to be
> cached.
> 
> Checking the document against a schema at run-time might be quite
> expensive in resources.
> 
> Sebastian
> On Mon, 15 Nov 2004 18:16:12 +1100, Sonam Chauhan
> <[EMAIL PROTECTED]> wrote:
> > Hello - I need a JMeter test thread to validate a XML/XHTML response
> > document against a schema.
> >
> > Can I have your suggestions on how to approach this? Has anyone done
> > something similar with JMeter?
> >
> > With regards,
> > Sonam Chauhan
> > --
> > Corporate Express Australia Ltd.
> > Phone: +61-2-9335-0725, Fax: 9335-0753, Email: [EMAIL PROTECTED]
> > <mailto:[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