OpenTP1 Version 7 Tester and UAP Trace User's Guide

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

2.2.2 Simulating a client UAP with an XATMI interface

The client UAP simulator is also available when using the online tester for service requests (the request/response service paradigm and the conversational service paradigm) in an XATMI interface.

Organization of this subsection
(1) Request/response service paradigm
(2) Conversational service paradigm

(1) Request/response service paradigm

To simulate a client UAP that sends the request/response service paradigm, the user must first create an XATMI request data file with the processing data to be passed to the server UAP. The response data from the server UAP is saved to the XATMI response data file specified in the online tester command.

The user must also set the typed buffer information, needed for using the XATMI, in the typed buffer definition file.

Also, the types of functions to be used in the request/response service paradigm must be set as headers in the XATMI request data file.

Figure 2-2 illustrates the client UAP simulator for the request/response service paradigm.

Figure 2-2 Simulating a client UAP for request/response service paradigm

[Figure]

(2) Conversational service paradigm

To simulate a client UAP that sends the conversational service paradigm, the user must first create an XATMI request data file with the processing data to be passed to the server UAP. The types of functions to be used in the conversational service paradigm must be set as the file headers. The response data from the server UAP is saved to the XATMI response data file specified in the online tester command.

The user must also set the typed buffer information, needed for accessing the XATMI, in the typed buffer definition file.

Also, the send/receive procedures must be set in a send/receive control file. The user creates an XATMI receive data file with the data received by the test server UAP when a service is requested. The name of this file is specified in the send/receive control file. Data sent by the server UAP is saved to the XATMI response data file in the same way as response data.

The server UAP's response data and send data, which the client UAP simulator saved to the XATMI response data file, can be used by the server UAP simulator as the request data and receive data sent to a client UAP. To enable the server UAP simulator to access the response data and send data, first use the binary editor to recreate the XATMI response data file as an XATMI request data file and XATMI receive data file.

Figure 2-3 illustrates the client UAP simulator for the conversational service paradigm.

Figure 2-3 Simulating a client UAP for conversational service paradigm

[Figure]