[Webtest] RE: Best way to check a database in a webtest (Mark Johnson)

Rinkesh Bansal Rinkesh Bansal" <rinkesh_bansal@persistent.co.in
Thu, 31 Jul 2008 12:47:23 +0530

Hello Mark,

We are using SQLUnit to deal with database.  It's very easily integrated
with webtest and works well for different type of database.  It is also ant
based tool.  You can get the reference from canoo site itself.

Let me know if have any problem regarding integration of sqlunit with

Thanks & Regards,
Rinkesh Bansal | Team Lead | Persistent Systems Ltd
rinkesh_bansal@persistent.co.in  | Cell: +91 93261 76376 | Tel: +91 (20)
3023 6792
Innovation in software product design, development and delivery-
-----Original Message-----
From: webtest-admin@lists.canoo.com [mailto:webtest-admin@lists.canoo.com]
On Behalf Of webtest-request@lists.canoo.com
Sent: Thursday, July 31, 2008 12:39 PM
To: webtest@lists.canoo.com
Subject: WebTest digest, Vol 1 #2458 - 5 msgs

Send WebTest mailing list submissions to

To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to

You can reach the person managing the list at

When replying, please edit your Subject line so it is more specific
than "Re: Contents of WebTest digest..."

Today's Topics:

   1. RE: Webtest Release 2.7 (Soula, William)
   2. Re: RE: [Webtest] Webtest Release 2.7 (Janet Gregory)
   3. Not working simple test (Mircea Cocosila)
   4. Best way to check a database in a webtest (Mark Johnson)
   5. Re: Best way to check a database in a webtest (Florent Blondeau)


Message: 4
Date: Wed, 30 Jul 2008 19:29:23 -0400
From: "Mark Johnson" <markfjohnson@gmail.com>
To: webtest@lists.canoo.com
Subject: [Webtest] Best way to check a database in a webtest
Reply-To: webtest@lists.canoo.com
Reply-To: "Mark Johnson" <markfjohnson@gmail.com>

Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

I have a groovy based webtest which needs to verify that the database has
been properly updated.  I am assuming that my groovy db SQL queries are not
performing in the web test script because they are getting called when the
antbuilder is preparing the test.  Is this a correct assumption?  If so,
does anyone have an alternate strategy for doing a sql query within the web

thanks for your help


This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.