Check Message Is Received

Checks if the message is received when the argument is_received is set to True,

or if the message is not received when is_received is set to False.

Arguments Description

message_path (str): The message path should be in the format: BusName::MsgId.

is_received (bool): True: To check if the message is received.

False: To check if the message is not received.

operation (LogicalOperation, optional): # Argument to be removed.

Returns

bool: True if the message is received when is_received is set to True,

or if the message is not received and is_received is set to False; otherwise, False.

Examples

${res}= Check Message Is Received ${BusName}::${MsgId} ${true}

Note

An observer should be started for the target message beforehand.