Running a robotic script
This section describes how you can run a robotic script using Take Action commands. In ITCAM for Transactions, the Take Action command performs rudimentary error checking. When you launch the Take Action command to run a script, the Take Action dialog displays a message indicating that the command was processed successfully.
Note that this message indicates only that the command was syntactically correct, and was submitted. The message does not indicate whether the script started or ran correctly. To use the Take Action command to run a script manually, you need to enter the script name and file type correctly.
Determining the Script Name and Type
In the Navigator tree in the TEP console, navigate to Application Management Console -> Robotic Scripts. Examine the Robotic Scripts workspace. The scripts that have been uploaded to the Application Management Console Agent (T3) and their file types are identified here. Note that the script names end in the filename extension .zip.
Note the name of the script to be run and whether or not it is a Rational Performance Tester (RPT) script, or some other robotic script.
Using Take Action Commands to Run Scripts Manually
- Before you attempt to perform the remaining steps, first run the robotic script in a profile. If you do not do so, the Take Action command specified later in this procedure fails. See Defining profiles.
- Click beside the operating system for the computer on which Robotic Response Time is located to display a list of monitored nodes.
- Click beside the name of the node on which the agent is located.
- Click Robotic Response Time to select it. For example:
- Right-click Robotic Response Time and select .
- At Name: Select Action, select Run Robotic Script to display the Edit Argument Values dialog.
- At Robotic_Script_Type, enter one of the
following values:
Value Refers to not supported CLI Playback RPT Rational® Performance Tester RFT Rational Functional Tester LOADRUNNER Mercury LoadRunner - In the Robotic Script Name field, enter
the name assigned to the robotic script. Enter the script name exactly
as it appears in the Robotic Scripts workspace, without the script
type prefix. For example, to run the PlantsByWebSphere.zip script,
you would enter the following parameters:
Click OK to complete the command and return to the Take Action dialog box.
- In the Destination System field, select where you want the script to run. You can select multiple systems by holding down the Ctrl key while clicking.
- Click OK in the Take Action dialog box to submit the command.
- A message should be displayed indicating that the command was executed successfully.
Indications that the Take Action command was faulty
No playback recordings are uploaded for profile null, robotic script
PlantsByWebSphere
Could not obtain a list of uploaded robotic scripts
Note the time on the local host system where you submitted the Take Action command.
Displaying the Situation Event Console
To display the Situation Event Console, select a Robotic Response Time node in the Navigator tree. In the following example, the two warning messages are the first two messages displayed in the Situation Event Console: