Skip to content
Nathan Richardson edited this page Jan 9, 2019 · 4 revisions
Assert

Icon

metl assert 48x48 color

Use When

A flow needs to check for certain assumptions

Samples

Description

The Assert component is used to test certain assumptions about the flow.

The Assert can check for a specified number of messages by the various types or by a count of records from a defined SQL statement.

If any of the checks fail in the Assert it will Fail the flow.

Inbound Message Type

Any Message Type

Output Message Type

Any Message Type

Control Message Handling

Input: This component acts on all messages received.

Output: A single control message will be forwarded to downstream components once all messages have been processed through this step.

Properties
Name Description

Input Model

Error Suspense Step

Whether to forward failed messages and continue processing. This is the name of a linked component to forward the failed messages to.

Enabled

Expected Number of Entity Messages

Number of entity messages expected.

Expected Number of Entities Per Entity Message

Number of entities per entity message expected.

Expected Distinct Type of Entities

Number of distinct entities expected.

Expected Distinct Type of Attributes

Number of distinct attributes expected.

Expected Number of Text Messages

Number of empty payload messages expected.

Expected Number of Binary Messages

Number of binary messages expected.

Expected Number of Control Messages

Number of control messages expected.

Expected Number of Empty Payload Messages

Number of empty payload messages expected.

Expected Custom Content Message Header Pairs

Number of pairs of non-control message header variables expected.

Expected Custom Control Message Header Pairs

Number of pairs of control message header variables expected.

Expected Text Payload

Number of text messages expected.

Assert DataSource

The SQL Database Resource on which the SQL query should be run to read data.

Assert Sql

The SQL query used to check for assertion.

Expected Count from Assert Sql

Number of records expected returned from the Assert Sql.

Log Input

Log Output

Inbound Queue Capacity

Clone this wiki locally