Simulation Toolkit's Behavior Simulation feature offers powerful built-in TL1 script APIs and RMI client APIs to automate a complete network environment. For example, you can add/modify the Access ID with respect to the real time changes in cards and slots, update message payload to reflect the input parameters coming in the response and response lines to dynamically change the response values, send response and autonomous messages, thus providing more flexibility in controlling the simulation of complete agent behavior.

Common test scenarios that can be setup using the TL1 script API methods

Some of the common test scenarios that can be setup using the TL1 script API methods are given below. These simulations can be enabled dynamically without disrupting the simulation process.

Add/modify the Access ID with respect to the real time changes in cards and slots

The method addAccessId() and deleteAccessId() can be used to update the access id list for a specific command code.

Update message payload to reflect the input parameters coming in the response and response lines to dynamically change the response values

This can be achieved using the getCurrentMPB() to get the msgPayLoad that comes in the request and update this using the updateParamValue(), which update the parameter value in a line.

Send different response messages for the same command code

This can be achieved using the TL1 script api method sendResponseMessage(), to send different response messages for the same command code

Set acknowledgment and completion code

The TL1 script api methods setAckMessage() and setComplCode() sets the acknowledgement message/completion code for a commandCode, accessId, msgPayLoad combination.

Send autonomous messages

The TL1 script api method sendautonomousMessage() sends sends a single autonomous message for the given autoCode and almDescr or sends autonomous message the specified number of times with specified time interval, based on the parameters provided.

To start/stop agents

Start/stop any agent in the network by configuring scripts with startAgent() and stopAgent() methods.

To start/stop TFTP Server

Start and stop TFTP server at runtime by configuring with startTFTPServer() and stopTFTPServer() methods.

To upload/download Files using TFTP

Each device in the network supports TFTP client and server. You can upload files from the TFTP client to the server or download files from the TFTP server to the client by using the scrip methods uploadFile() and downloadFile().

To get the IPaddress of a device

The ipaddress of a device can be retrieved at runtime by using the getIpaddress() method.