OpenTP1 Version 7 Tester and UAP Trace User's Guide

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

2.3 Simulating a server UAP

The online 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 online tester reads the response data from the file and passes it to the client UAP.

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

To test a client UAP using the server UAP simulator, the user must first define the server UAP as a dummy SPP in a user service definition. A dummy SPP is an SPP that does not actually generate processes when activated by the server UAP simulator. The dummy SPP must be activated before entering the command to start testing.

Organization of this section
2.3.1 Simulating a server UAP with an RPC interface
2.3.2 Simulating a server UAP with an XATMI interface