Using SOAtest’s DB tool (described in DB), you can validate the database layer. For example, assume you are testing a Web service invocation that is supposed to add a record to the database. In addition to ensuring that the service returned the expected response, you can also query the database to verify whether the data was added to the database correctly. 

Such validation is performed by adding one of SOAtest’s XML validation tools to the output from the DB tool; this is done using the same strategy demonstrated in the tutorial’s Creating Regression Tests Using the Diff Tool exercise.

In addition, the DB tool can also be used to perform database setup or cleanup actions as needed to support your testing efforts.