OpenTP1 Version 7 Tester and UAP Trace User's Guide

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

2.2 Simulating a client UAP

The online tester can take the place of a client UAP in requesting services from a server UAP. This allows the user to test the server UAP without needing a client UAP. This facility is called the client UAP simulator.

An online tester command is used to simulate a client UAP. Before executing the command, the user must first create the processing data to be passed to the server UAP. This data is created in a service request data file. The response data from the server UAP is saved to the service response data file specified in the command.

There are two types of service request data files which are used according to the client interface:

There are also two types of service response data files, selected according to the type of simulated client UAP:

To test a server UAP using the client UAP simulator, the user must first define the server UAP as a test-only UAP in a user service definition. A test-only UAP is a UAP that runs in test mode. All of the facilities of the online tester are available for a test-only UAP.

Instead of defining the server UAP as a test-only UAP, the server UAP can be defined as a usable UAP in the user service definition. A usable UAP is a SPP that runs in test mode only when the UAP being tested makes a service request.

Organization of this section
2.2.1 Simulating a client UAP with an RPC interface
2.2.2 Simulating a client UAP with an XATMI interface