background image
<< Defining a New Test Script Type | Test Script Services and TestManager >>
<< Defining a New Test Script Type | Test Script Services and TestManager >>

Calling Test Script Services from Test Scripts

Calling Test Script Services from Test Scripts
85
Calling Test Script Services from Test Scripts
Rational Test Script Services (TSS) are testing services that you can call from your test
scripts using the commands in the Test Script Services API. For example, you can call
logging, synchronization, timing, and datapool services from test scripts.
You can call
verification point services to validate the state or behavior of a component or system.
The following table lists the categories of services that TSS provides:
Test Script Services and Test Script Types
VB, Java, and command-line test script types -- as well as custom test script types that
you might add to TestManager -- can take advantage of Test Script Services.
You can add TSS commands to test scripts manually during test script editing.
Category
Description
Datapool
Provides variable data to test scripts during playback, allowing virtual
testers to send different data to the server with each transaction.
Logging
Logs messages for reporting and analysis.
Measurement
Provides the means of fine-tuning and controlling your tests through
operations such as timing actions, setting think-time delays, and setting
environment variables.
Utility
Performs common test script operations such as retrieving error
information, controlling the generation of random numbers, and printing
messages.
Monitor
Monitors playback progress of a test script.
Synchronization
Synchronizes multiple virtual testers running on a single computer or
across multiple computers.
Session
Manages test script session execution and playback.
Advanced
Advanced features, such as setting values for internal variables.
Verification Point
Validates the state or behavior of a component or system.