Simulator servers run the tests under the supervision of the coordinator server.
Virtual users or test instances are created and run on the simulator servers. The number of virtual users, and hence the number of simulator servers that are deployed, depend on the nature of the tests being performed. Each virtual user communicates with the client system.
For large tests with many virtual users, virtual users can be distributed among several simulator servers.
The lisa.simulatorName property sets the default name of a simulator server.
lisa.simulatorName=Simulator
The fully qualified name of a simulator server is tcp://hostname-or-IP-address:2014/simulator-name.
To create a simulator, run the following command:
LISA_HOME\bin\Simulator -n SimulatorName -m RegistryName
The following examples create a simulator with the name simulator1. The associated registry has the name registry1.
Valid on Windows
cd C:\DevTest\bin Simulator -n simulator1 -m tcp://localhost:2010/registry1
Valid on UNIX
cd DevTest/bin ./Simulator -n simulator1 -m tcp://localhost:2010/registry1
You can add the simulator to a named lab by using the -l option. If you do not specify the -l option, then the simulator is added to the Default lab.
You can specify the number of virtual users for this simulator by using the -i option. For example:
Simulator -n simulator1 -m tcp://localhost:2010/registry1 -i 100
You can display the version number by using the --version option.
When creating a simulator, you can override the default port number by adding a colon and the nondefault port number to the -n option. For example:
Simulator -n testSim1:35001
To run multiple simulators, use the command prompt to create the simulators as shown previously.
If the port number is not specified in the name, the simulator tries port 2014 first. If 2014 is taken, the simulator tries 2015, 2016, and so on, up to port 2024 before stopping.
For more information about port usage, see Default Port Numbers in Administering.
For information about running the simulator as a service, see Running Server Components as Services in Administering.
If DevTest Workstation is attached to the associated registry, then a running coordinator server appears in the Registry Monitor.
To monitor simulator servers from the Registry Monitor:
Simulator servers also appear in the network graph of the Server Console.
To monitor simulator servers from the Server Console:
A details window appears.
Copyright © 2014 CA Technologies.
All rights reserved.
|
|