Using Read Spool File and Verify
The component being tested might write statements to one or more spool files that we want to verify. This can be achieved by using a Read Spool File element after the Component execution. The Read Spool File element specifies a step name, a dd name and an ID to reference the retrieved content. It will extract the corresponding spool file from the job that executed the latest component in the test scenario. We can use a Verify element and an expression to verify if the content is as expected.


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