Setting Concurrency Values

Agents and the JavaTest harness are capable of executing multiple tests at the same time. When starting an agent as an application or as an applet, you can specify that the agent perform concurrent testing.

note
You should set the value of the JavaTest concurrency option to equal the total number of concurrent tests run by all of its agents.

Application Options

-concurrency number-of-tests Include -concurrency and the number-of-tests value in the command string to specify the maximum number of tests that an agent can run concurrently.

The default number-of-tests is one. If the -concurrency option is not set with a value greater than one the agent performs sequential testing by default.

Applet Options

concurrency To specify that an agent can run tests concurrently, include the concurrency parameter in the applet:

<param name=concurrency value=number-of-tests>

The number-of-tests attribute sets the maximum number of concurrent tests that an agent can run. The default number-of-tests is one. If the concurrency parameter is not set with a value greater than one, the agent performs sequential testing by default.