Download End-to-End e-business Transaction Management

Transcript
and so on) and allow the use of Verification Points to ensure that operations
outcomes are those expected. The language used to generate the script is
SQABasic, and GUI scripts can be played back with Rational Robot or as part of
Rational Test manager.
GUI scripts can be used in a set of complex transactions (repeated continuously)
to measure a performance baseline that can be compared when the server
configuration changes or to ensure that the end user experience is satisfactory
from the end-user point of view (to satisfy an SLA).
VU scripts record the client server requests at the network layer only for specific
supported application types and can be used to record outgoing calls performed
by the client (network recording) or incoming calls on the server (proxy
recording). VU scripts do not support Verification Points and cannot be used to
simulate activity on a Generic Windows applications. VU only supports
specialized network protocols, not generic API access on the network layer, and
VU scripts can only be played back using Rational Test Manager. The playback
of VU scripts is not supported by TMTP Version 5.2, so VU will be ignored in this
book.
9.1.4 Steps to record a GUI simulation with Rational Robot
There are differences in how a simulation recording is set up and prepared on
different applications. For example, to record an HTTP simulation in a browser,
you need to load the Extension for the browser you will be using, while with Java,
you need to load the Extension and configure the Java Enabler on the JVM you
will be using. But whatever application you are using, there are common points
that will be followed.
1. Record the script on the GUI.
2. Add features to the script during recording (ARM API calls for TMTP,
Verification Points, Timers, comments, and so on).
3. Compile the script.
4. Play the script back for debugging.
5. Save and package the script for TMTP Version 5.2.
Record the script on the GUI
To record a GUI script, click the Record GUI script on the toolbar:
Chapter 9. Rational Robot and GenWin
345