When starting an agent as an application or an applet, you must specify the port used for communication with the JavaTest harness. You can use the following options on the command line, or if you are starting a GUI agent, you can also set this option from the GUI.
-activePort port-number
|
Include -activePort and the port-number in the command string to set the port that an active agent uses.
The |
-passivePort port-number
|
Include -passivePort and the port-number in the command string to set the port used by a passive agent.
The |
activePort
|
To set the port that an active agent uses for communication with the JavaTest harness, include the activePort parameter in the applet:
The |
passivePort
|
To set the port that a passive agent uses for communication with the JavaTest harness, include the passivePort parameter in the applet:
The |