ADD_ID
System Testing Test Script Language.
Syntax
ADD_ID ( <channel_identifier>, <connection_identifier> )
Description
The ADD_ID instruction dynamically adds the value of a connection identifier to a communication channel identifier.
A communication channel is a logical medium that integrates (multiplexes) the same type of connection between the virtual tester and remote applications under test.
When opening a connection with your communication API, you must dynamically link the connection identifier with a channel identifier.
You must declare a channel identifier with the CHANNEL instruction.
C connection identifiers must be compatible with C communication channels.
Examples
...
COMMTYPE ux_inet IS integer_t
CHANNEL ux_inet: ch
...
SCENARIO First
...
#integer_t id;
CALL socket(AF_UNIX, SOCK_STREAM, 0) @@ id
ADD_ID(ch, id)
....
Related Topics