Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 87855 invoked from network); 16 Nov 2004 05:05:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 16 Nov 2004 05:05:49 -0000 Received: (qmail 26425 invoked by uid 500); 16 Nov 2004 05:05:48 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 26269 invoked by uid 500); 16 Nov 2004 05:05:47 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "JMeter Users List" Reply-To: "JMeter Users List" Delivered-To: mailing list jmeter-user@jakarta.apache.org Received: (qmail 26255 invoked by uid 99); 16 Nov 2004 05:05:47 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [202.12.185.228] (HELO smtp.ce.com.au) (202.12.185.228) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 15 Nov 2004 21:05:45 -0800 Received: from smtp.ce.com.au (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with ESMTP id CA42C4634 for ; Tue, 16 Nov 2004 16:05:39 +1100 (EST) Received: from snnexc01.in.ce.com.au (unknown [172.16.10.20]) by smtp.ce.com.au (Postfix) with ESMTP id 9326F4052 for ; Tue, 16 Nov 2004 16:05:39 +1100 (EST) Received: by snnexc01.in.ce.com.au with Internet Mail Service (5.5.2653.19) id ; Tue, 16 Nov 2004 16:05:38 +1100 Message-ID: <55E0A3E94323974F83CFC5AAB96F68B8B0CBF8@snnexc03.in.ce.com.au> From: Sonam Chauhan To: 'JMeter Users List' Subject: RE: Validate XML documents? Date: Tue, 16 Nov 2004 16:05:33 +1100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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: sonamc@ce.com.au > -----Original Message----- > From: sebb [mailto:sebbaz@gmail.com] > 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 > 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: sonamc@ce.com.au > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org