background image
<< EJB Session Recorder | Visual Age and WebSphere >>
<< EJB Session Recorder | Visual Age and WebSphere >>

Rational TestManager Playback

Requirements for EJB Testing
35
Modifying the Additional Classpath Field
To modify the Additional Classpath field:
1
Click
Tools > QualityArchitect > Console
to display the RQA Console.
2
Click the
RQA Options
icon.
3
Click the
Java Options
tab.
4
Type the required classes in the additional classpath field.
Rational TestManager Playback Requirements
To play back EJB test scripts directly from TestManager, your system must meet the
following requirements:
s
You must have either a Sun JDK or Sun JRE installed. (To play back test scripts on
an Agent machine, a JRE is sufficient. To play back test scripts on the Master
machine, a JDK is required.)
When TestManager executes Java (EJB) test scripts, it must first locate the
currently installed Java Virtual Machine (JVM), which it finds by looking at the
following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime
Environment\CurrentVersion
This registry key is created by the installation programs of both the Sun JDK and
the Sun JRE.
To override the most recently installed JDK/JRE, you can create an environment
variable called RATL_JVM_LOCATION and assign it to the fully qualified path of
the JVM library (jvm.dll for JDK 1.2 and above, javai.dll for JDK.1.x).
s
You must have the full path to a Java compiler (javac.exe) included in your Path.
s
You must include the following in your classpath:
The home and remote interface classes for the deployed EJBs. (See EJB Session
Recorder Requirements
on page 34 for a list of required client JAR files for the
sample application.)