Setting the Active Host

When starting an active agent as an application or as an applet, you must set the location of the system that is running 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.

Application Option

-activeHost host-name Include -activeHost and the host-name name in the command string to set the location of the JavaTest harness.

Before active agents can run tests, they must contact and register with the JavaTest harness on the system specified by the -activeHost and -activePort options.

There is no default -activeHost for active agents.

Applet Option

activeHost Active agents must register with the JavaTest harness on the system specified by the activeHost and activePort parameters before they can run tests.

To set the location of the JavaTest harness for an active agent, include the activeHost parameter in the applet:

<param name=activeHost value=host-name>

There is no default activeHost parameter value for active agents.