After All
Overview
The After All Component is used at the end of a test flow to ensure that all connected components have completed execution before proceeding. It collects and processes all incoming messages before sending them to the output.
Usage
This component is ideal for synchronizing multiple parallel branches in a workflow, ensuring all branches finish before continuing.
Input Ports
in
Receives messages from all connected components.
Output Ports
out
Sends messages after all connected components have completed execution.
Properties
timeout
number
Maximum time (in seconds) to wait before timing out. Default is 180
seconds.
Processing Logic
Receives Messages: Captures messages from all connected components.
Tracks Completion: Checks if all expected messages have arrived.
Timeout Handling: If not all messages arrive within the specified time, it times out and reports missing components.
Sends Output: Once all messages are received (or upon timeout), sends the collected messages to the output port.
Notes
Ensures Completion: Guarantees that all necessary components finish before execution proceeds.
Timeout Protection: Prevents indefinite waiting by enforcing a timeout.
Parallel Synchronization: Ideal for workflows with multiple parallel branches requiring synchronization.
This component is essential for orchestrating complex test flows where all processes must complete before continuing execution.
Last updated