OpenTP1 Version 7 Tester and UAP Trace User's Guide

[Contents][Index][Back][Next]

2.6 Simulating operating commands

The online tester can simulate command execution requested by the dc_adm_call_command function issued in a UAP. This facility is called the operating command simulator.

In the user service definition, the user can specify for each UAP whether to use the operating command simulator. The following two options are available:

Organization of this section
(1) Skipping command execution
(2) Replacing command execution results

(1) Skipping command execution

Operating commands are skipped instead of being executed. The following default information is set as the command execution result (return information of the dc_adm_call_command function):

(2) Replacing command execution results

Instead of the operating command being executed, the data in the operating command result data file is set as the command execution result. When the UAP issues a dc_adm_call_command function, the online tester reads the execution result data from the file and returns the data to the UAP.

An operating command result data file must be created for each service. Set the execution result data in this file before running a test.

If the dc_adm_call_command function is issued more than once in a service, the user must create the data to be returned at each function call. This also applies to the main function in the SPP and to functions issued from an SUP.

Figure 2-10 shows how the data in the operating command result data file is used to replace the actual execution result.

Figure 2-10 Replacing command execution results

[Figure]