Wiki

Clone wiki

ExperimentTool / A2 Quick Start an experiment

Starting Server and Client

You can either start the tool via commandline or via Eclipse.

The following options are available to start the tool via Eclipse either as server or as client:

Server

-s

Client

-c

Multiple clients

-cn
Autimatically starts n clients with different login ids, for n being a natural number. E.g. in case of
-c5
5 client windows with different login ids will be started.

The following options are available to start the tool via commandline either as server or as client:

Server

> java -jar tool.jar -s

Client

> java -jar tool.jar -c

Optionally, the following parameters can be added when starting a client

> java -jar tool.jar -c -server 10.0.0.1 -clientid participant001 -autologin

-server <IP>       : automatically uses the provided <IP> instead of the default 127.0.0.1
-clientid <ID>     : sets the clientid to <ID> instead of automatically using the computer name
-autologin         : automatically starts the login process (no user input necessary)
-properties <Path> : loads an additional properties file from the location <Path>
                     Properties are loaded in the following order whereas later loaded properties overwrite previously loaded properties:
                       1) systemdefault.properties
                       2) system.properties
                       3) properties file via command line
                       4) command line parameters
-cn                :autimatically starts n clients, for n being a natural number. In this case e.g. starting 5 client windows with different login ids

Updated