OpenTP1 Version 7 Tester and UAP Trace User's Guide

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

2.3.2 Simulating a server UAP with an XATMI interface

The server UAP simulator is also available when using the online tester for service requests (request/response service paradigm and 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 server UAP that accepts request/response service paradigm, the user must first create an XATMI response data file with the response data to be returned to the client UAP. When the client UAP sends a service request, the online tester reads the response data from the file and returns it to the client UAP.

Figure 2-5 illustrates the server UAP simulator for the request/response service paradigm

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

[Figure]

(2) Conversational service paradigm

To simulate a server UAP that accepts the conversational service paradigm, the user must first create an XATMI receive data file and XATMI response data file containing the data to be received by the client UAP. When a receive request is sent from the client UAP, the online tester reads an item of receive data from the XATMI receive data file and returns it to the client UAP. If a further receive request is made after all the data in the XATMI receive data file has been returned, the online tester reads response data from the XATMI response data file and returns it to the client UAP.

The data sent by the client UAP is saved to the XATMI send data file created by the online tester according to the specification in the user service definition.

Figure 2-6 illustrates the server UAP simulator for the conversational service paradigm.

Figure 2-6 Simulating a server UAP for conversational service paradigm

[Figure]