Capturing test data
DataStage enables you to capture flow data (regardless of the source technology) and package it into a reusable, well-governed asset that travels with your flow to ensure consistent behavior across downstream environments.
To capture test data, run your flow in a Capture mode. In Capture mode DataStage interrogates the data flowing along the input and output links that are referenced in your test case specification and records the data into the test data file defined for each link. It supports capturing both structured and unstructured data from batch and streaming sources.
The data that flows along the output links of your flow is captured as the current definition of 'expected' output into the relevant output data files. When you alter the functionality of your flow, you may need to recapture test result baseline.
- Open Test cases editor and click Capture data button.
- Open Test history tab to browse the most recent history of test case job invocations, including jobs that are in progress
- Once the job is complete, open the Data tab and browse the newly populated test data.