OpenTP1 Version 7 Tester and UAP Trace User's Guide

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

4.2.2 Server UAP simulator

Organization of this subsection
(1) Simulating a server UAP with an RPC interface
(2) Simulating a server UAP with an XATMI interface

(1) Simulating a server UAP with an RPC interface

To simulate a server UAP that uses an RPC interface, activate the SPP (to which service requests are sent) as a dummy SPP. Specify dmyspp in the test_mode operand of the user service definition to create the dummy SPP.

To activate the dummy SPP, enter the OpenTP1 dcsvstart command. To send a service request to the dummy SPP, issue the dc_rpc_call function.

Execute the OpenTP1 dcsvstop or dcstop command to terminate the dummy SPP.

(2) Simulating a server UAP with an XATMI interface

To simulate a server UAP that uses an XATMI interface, activate the SPP (to which service requests are sent) as a dummy SPP. Specify dmyspp in the test_mode operand of the user service definition to create the dummy SPP.

Execute the OpenTP1 dcsvstart command to activate the dummy SPP and the dcsvstop or dcstop command to terminate the dummy SPP.

When the conversational service paradigm is sent to the server UAP simulator, the table that manages conversational status remains in the tester daemon if the process or service in the client UAP terminates without receiving an event flag indicating service completion in the tprecv function. In this case, terminate and then restart the dummy SPP.