background image
<< About Synchronizing Vuser Scripts | IBM block-mode terminals emulators >>
<< About Synchronizing Vuser Scripts | IBM block-mode terminals emulators >>

LoadRunner’sTE-synchronization functions

Creating Vuser Scripts
Chapter 16, page 286
RTE Vuser Scripts · Synchronizing RTE Vuser Scripts
In
You can synchronize the input of a Vuser in the same way by using LoadRunner's
TE-synchronization functions, TE_wait_sync, TE_wait_text, TE_wait_silent, and
TE_wait_cursor. These functions effectively emulate a human user who types into
a terminal window and then waits for the server to respond, before typing in the next
command.
The TE_wait_sync function is used to synchronize block-mode (IBM) terminals
only. The other TE-synchronization functions are used to synchronize character-
mode (VT) terminals.
When you record an RTE Vuser script, VuGen can automatically generate and
insert TE_wait_sync, TE_wait_text, and TE_wait_cursor statements into the
script. You use VuGen's recording options to specify which synchronization
functions VuGen should insert.
Note: Do not include any synchronization statements in the
Vuser_end
section of
a Vuser script. Since a Vuser can be aborted at any time, you cannot predict when
the
Vuser_end
section will be executed.