background image
<< IBM block-mode terminals emulators | Vuser continues to monitor the system— >>
<< IBM block-mode terminals emulators | Vuser continues to monitor the system— >>

SYSTEM message

Creating Vuser Scripts
Chapter 16, page 288
RTE Vuser Scripts · Synchronizing RTE Vuser Scripts
In
In general, the TE_wait_sync function provides adequate synchronization for all
block-mode terminal emulators. However, if the TE_wait_sync function is
ineffective in a particular situation, you can enhance the synchronization by
including a TE_wait_text function. For more information on the TE_wait_text
function, see
Waiting for Text to Appear on the Screen
on page 296, and the
LoadRunner Online Function Reference
(available from the VuGen Help
menu).
The syntax of the TE_wait_sync function is:
TE_wait_sync ( );
In the following script segment, the Vuser logs on with the user name "QUSER"
and the password "MERCURY". The Vuser then presses Enter to submit the login
details to the server. The terminal emulator displays the X SYSTEM message
while the system waits for the server to respond. The TE_wait_sync statement
causes the Vuser to wait until the server has responded to the login request i.e. for
Online
Function
Reference