INTERSEND

System Testing Test Script Language.

Syntax

INTERSEND( <integer>, <identifier> )

INTERSEND( <string>, <identifier> )

<identifer> is the unique identifier of a virtual tester to which the message is to be sent.

<integer> is a 32-bit integer value.

<string> is a string-type value.

Description

The INTERSEND statement allows the virtual tester to send a simple message to another virtual tester. The other virtual tester receives the incoming message with the INTERRECV statement.

The message can be either an integer or a string.

<identifier> is <instance_name>_<occid> or <test_script.rio>_<occid>

The default value for <occid> is 0.

Example

INSTANCE JUPITER:

INTERSEND( "How many messages did you receive from SUT?" , "SATURN_0" )

INTERRECV( &transmitted_int)

END INSTANCE

INSTANCE SATURN:

INTERRECV( buffer, 1024 )

INTERSEND( 2 , "JUPITER_0" )

END INSTANCE

Related Topics

INTERRECV() | ATL_OCCID