OpenSTA logo OpenSTA SCL Reference
LOAD Commands

LOAD Commands

The LOAD commands provide a means to get data from the currently running test into the variables of your script.

Command Definition:

LOAD test-data INTO variable

test-data

This parameter provides the item that is to be retrieved and placed into the variable. Its possible values and their meaning are covered in the table below:

test-datavariable typemeaning
ACTIVE_USERS integer The number of threads which are currently active on the current Test Manager.
DATE integer The number of days since the system base date.
character The system date in the system default format (for example, "DD-MMM-CCYY").
NODENAME character The node(host) name of the machine running the test.
SCRIPT character The name of the Script the command is executed as part of.
TEST character The name of the Test the command is executed as part of.
THREAD character The name of the Thread(virtual user) the command is executed as part of.
TIME integer The number of 10ms ticks since midnight.
character The system time in the host systems default format.
TIMER name integer The number of 10ms ticks of the timer specified by name. The current value of a timer is calculated by taking the time for the latest END TIMER and subtracting from it the time for the preceding START TIMER. If no START/END TIMER commands have been executed for the specified timer by the current thread an error will occur. This will either abort Script execution, or take the specified action if error trapping is enabled via the ON ERROR command.

variable

The variable which will contain the result of the LOAD query after the call. The possible type of the variable and its resulting content are determined by the value of the test-data parameter.

Related:


<<<
prev page
^^^
section start
>>>
next page