...
Starting Load Test in Server Mode
Use the -loadtestserver
flag flag and specify the port number to enable the Load Test to run remotely. The port number is the local machinesmachine's port on which the server is listening. If no port is specified, the default port of 8189 is used.
Code Block | ||||
---|---|---|---|---|
| ||||
lt -loadtestserver <PORT>[PORT] |
Code Block | ||||
---|---|---|---|---|
| ||||
./loadtest -loadtestserver <PORT>[PORT] |
Configuring a Remote Project
...
The machine that runs in GUI mode and provides the interface for controling controlling the load test is the Load Test controller machine. The controller can communicate with a Load Test server machine located on a different network if the network equipment that bridges these networks allows communication on the port that the Load Test server machine is listening on.
...
Option | Description |
---|---|
-cmd | Starts Load Test in command line mode. Required to run Load Test locally. |
-help Shows help information. Does not run testing.-J<JVM_OPTION> | Specifies additional JVM options to pass to the Load Test JVM. (Note that there is no space between the -J and the option that follows it).Examples:
lt -J-Dcom.sun.management.jmxremote the Load Test script to run. Required to run Load Test locally. |
-help | Shows help information. Does not run testing. |
-licenseServer <BASE_URL> | Specifies the base URL for the Parasoft License Server. By default, Load Test requests a license from the server configured in the GUI, but this option enables you to dynamically request a license. Starts the Load Test Server on the default port 8189 unless another port is specified using the -loadtestserver command line option. Optional Optional. |
-licenseUsername <USERNAME> | Specifies the username associated with the license on the Parasoft License Server. If this argument is not specified, no authentication is used. Optional. |
-licensePassword <PASSWORD/ENCODED_PASSWORD> | Specifies the password or encoded password associated with the license on the Parasoft License Server. Passwords may be encoded using the soatestcli -encodepass command line option. If this argument is not specified, an empty password is used for authentication. Optional. |
-licenseVus <VALUE> | Specifies the number of virtual users allowed by the license requested from the server specified with the -licenseServer option. You can specify an integer value or unlimited for unlimited virtual users licenses. |
| Starts the Load Test Server on the specified port numberdefault port 8189 unless another port is specified. To start the Load Test Server on port 8999, for example, you would specify the port number in the command line argument such as:
|
-password <LONG_PASSWORD_STRING> | Specifies a node-locked license to pass to Load Test. |
-runJ<JVM_OPTION> | Specifies the Load Test script to run. Required to run Load Test locally.additional JVM options to pass to the Load Test JVM. (Note that there is no space between the Examples:
|
Load Test Script Commands
...