Skip to main content Skip to complementary content

tAssertCatcher Standard properties

These properties are used to configure tAssertCatcher running in the Standard Job framework.

The Standard tAssertCatcher component belongs to the Logs & Errors family.

The component in this framework is available in all Talend products.

Basic settings

Schema and Edit schema

A schema is a row description, it defines the fields to be processed and passed on to the next component. In this particular case, the schema is read-only, as this component gathers standard log information including:

 

Moment: Processing time and date.

 

Pid: Process ID.

 

Project: Project which the job belongs to.

 

Job: Job name.

 

Language: Language used by the Job (Java)

 

Origin: Status evaluation origin. The origin may be different tAssert components.

 

Status: Evaluation fetched from tAssert. They may be

- Ok: if the assertive statement of tAssert is evaluated as true at runtime.

- Failed: if the assertive statement of tAssert is evaluated as false or an execution error occurs at runtime. The tested Job's result does not match the expectation or an execution error occured at runtime.

 

Substatus: Detailed explanation for failed execution. The explanation can be:

- Test logically failed: the investigated Job does not produce the expected result.

- Execution error: an execution error occurred at runtime.

 

Description: Descriptive message typed in Basic settings of tAssert (when Catch tAssert is selected) and/or the message of the exception captured (when Catch Java Exception is selected).

 

Exception: The Exception object thrown by the Job, namely the original exception.

Available when Get original exception is selected.

Catch Java Exception

This check box allows to capture Java exception errors and show the message in the Description column (Get original exception not selected) or in the Exception column (Get original exception selected) column, once checked.

Get original exception

This check box allows to show the original exception object in the Exception column, once checked.

Available when Catch Java Exception is selected.

Catch tAssert

This check box allows to capture the evaluations of tAssert.

Global Variables

Global Variables

ERROR_MESSAGE: the error message generated by the component when an error occurs. This is an After variable and it returns a string. This variable functions only if the Die on error check box is cleared, if the component has this check box.

A Flow variable functions during the execution of a component while an After variable functions after the execution of the component.

To fill up a field or expression with a variable, press Ctrl+Space to access the variable list and choose the variable to use from it.

For more information about variables, see Using contexts and variables.

Usage

Usage rule

This component is the start component of a secondary Job which fetches the execution status information from several sources. It generates a data flow to transfer the information to the component which proceeds.

Limitation

This component must be used with tAssert together.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!