OpenTP1 Version 7 Tester and UAP Trace User's Guide

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

10.3 Simulating a server UAP

The offline tester can take the place of a server UAP in executing services requested by a client UAP. This allows the user to test the client UAP without needing a server UAP. This facility is called the server UAP simulator.

To simulate a server UAP, the user activates the server UAP (dummy) and then executes an OpenTP1 command. Before executing the command, the user must create the response data to be passed to the client UAP. This data is created in a service response data file. When the client UAP sends a service request, the offline tester reads the response data from the file and passes it to the client UAP.

There are three types of service response data files which are used according to the UAP interface:

To simulate a server UAP, the user must first define the server UAP as the simulation target in an offline tester environment definition. This enables the server UAP to be simulated but not actually activated when a test is performed.

Figure 10-2 outlines the server UAP simulator.

Figure 10-2 Simulating a server UAP

[Figure]

Organization of this section
10.3.1 Simulating a server UAP with an RPC interface
10.3.2 Simulating a server UAP with an XATMI interface
10.3.3 Simulating a server UAP with a TxRPC interface