The following exercises will walk you through a typical use case involving the four runtime analysis features of Test RealTime to which you have just been introduced. Pay close attention not only to the capabilities of these features but also to how they are used. The better you understand these features, the more quickly you will be able to adopt them within your own development process.
If you have never run this tutorial before, make sure your machine has a temporary folder in which you can store the test project you will be creating. For the tutorial, it is assumed that the test project will be stored in a folder called tmp
Do you have JDK 1.3.1 or 1.4.0 installed? This is necessary for performance of the tutorial. See this page for more information.
During installation of IBM Rational Test RealTime:
on Windows - A local Microsoft Visual Studio compiler and JDK are located, based on registry settings. Only the compiler and JDK located during installation will be accessible within Test RealTime.
on Unix/Linux - The user is confronted by two interactive dialogs. These dialogs serve to clarify the location of the local GNU compiler and (if present) local JDK. Only the GNU compiler and JDK specified within these dialogs will be accessible within Test RealTime.
If you have run this tutorial before, don't forget to undo the source file edits you made the last time you ran through it. The following files are modified during the tutorial:
LogServer.java
NetworkLoadMonitor.java
PhoneNumber.java
To make a different JDK accessible in Test RealTime:
Run Test RealTime
From the Tools menu, select Target Deployment Port Editor and Start.
In the TDP Editor, from the File menu, select Open.
Open the .xdp file corresponding to the new JDK for which you would like to generate support
In the TDP Editor, from the File menu, select Save.
Close the TDP Editor