Default language.

Tutorial: Test a Db2 Program


This tutorial will teach you how to test a Db2 (read) program that selects employee information from a Db2 table. The tutorial will show you how to select test data from a Db2 table, how to iterate over each returned row, how to use Db2 data as input for the program and how to verify response data against Db2 data. It will also show how to write expressions to verify column values and how the complete result can be saved for future validation. 

It is assumed that the XADB2TST component is already defined in the repository.

The program will normally not be possible to execute at a customer installation. The exercise can still be completed without actually executing the test scenario.

This section provides information about the following topic:

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*