3.2.2. Starting the AUT Agent
Prev | 3.2. Starting and connecting to the AUT Agent | Next

### 3.2.2. Starting the AUT Agent

You can start the AUT Agent on your local machine (the same machine as the ITE) or on a remote machine in the network.

| The AUT Agent is started by default without a console. If you want to see the console, you must adapt the autagent.ini file. In the -vm parameter, use java instead of javaw to see the console.

#### 3.2.2.1. Windows users

1. Start the AUT Agent via the start menu:

   Start-->Jubula-->Start AUT Agent.

2. The AUT Agent is started on port number 60000 unless you enter a different port number as a parameter (Section 3.2.2.3, “Starting the AUT Agent from the command line: options and parameters”).

   You can see and stop the AUT Agent in the system tray. Once the AUT Agent is started, you can connect to it from the ITE (Section 3.2.3, “Connecting to the AUT Agent”).

#### 3.2.2.2. Linux users

Use the script:

./autagent (-p <port number>).

You can see and stop the AUT Agent in the system tray. Once the AUT Agent is started, you can connect to it from the ITE (Section 3.2.3, “Connecting to the AUT Agent”).

| You must wait for the AUT Agent to be running before you can connect to it.

| The AUT Agent uses the current directory as its working directory on Linux systems.

#### 3.2.2.3. Starting the AUT Agent from the command line: options and parameters

1. Start the AUT Agent from the Windows command line with this command:

   autagent.exe (-p <port number>)

2. If no port number argument is given, the AUT Agent will start on the default port 60000.

3. You can use the following parameters when starting the AUT Agent:

   -p:

     Port number. Enter the port number you wish to start the AUT Agent on.

     | You can also use the environment variable ”TEST_AUT_AGENT_PORT” to set the port number that should be used as a default when you start the AUT Agent.

   -l:

     Lenient mode. The lenient mode for the AUT Agent allows AUTs launched by other AUTs to be tested (Section 3.17.2.2, “Testing AUTs that are launched by other AUTs”). You can also change the mode of the currently running AUT Agent via the system tray. Right-click the AUT Agent icon and (de)select Strict AUT Management from the menu.

     | The default mode for the AUT Agent is strict.

   -v:

     Verbose mode. You will see a dialog to tell you whether the AUT Agent has started successfully or not.

   -q:

     Quiet mode. You will see no dialog if the AUT Agent starts successfully. If the AUT Agent does not start successfully, the error is written to the console.

   -h:

     Help. Enter this parameter to see a list of options for the AUT Agent.

4. The AUT Agent can be started multiple times – either on the same machine (using a different port number for each instance) or on multiple machines for distributed testing.