4 Interactive license server administration
4.1 Opening the administration window
You can open the administration window in one of the two ways:
- Start via command line
-
qftest
-licenseserver-admin
- Start via QF-Test client
- You can start the GUI admininstration at a client that gets its license from the license server via the menu item »Extras«-»License server administration...«.
When the login dialog appears you can enter the user name (currently 'admin' only) and the password. Additionally you can check the box whether the password should be saved so that the login dialog will not appear again next time.

The administration windows consists of a menu bar, an overview and a table showing the individual current or peak license usage. You can configure the GUI to show a status line as well.

4.2 Components of the administration window
4.2.1 Menu 'File'
- Menu item 'Close window'
- Closes the administration window.
4.2.2 Menu 'View'
- Menu item 'Show status line'
- You can activate or deactivate the menu item by clicking it. When it is ticked, i.e. activated, you will see an additional line for status information at the bottom part of the window.
- Menu item 'Update'
-
»View«-»Update«
requests the current license usage from the license server and updates the display.
Alternatively you could press the
button.
- Menu item 'Show engines'
-
You can activate or deactivate the menu item by clicking it. When »View«-»Show engines« is not ticked, i.e. deactivated, only the sums of the developer and runtime licenses are displayed.
When »View«-»Show engines« is ticked, the licenses shown in the overview and individual licenses tables are also listed per engine. This comes in handy when you have a server license valid for different numbers of licenses for the different types of engines. The image Current license usage with 'Show engines' activated at the beginning of the chapter Tables shows an example.
4.2.3 Menu 'Extras'
- Menu item 'Update server license'
- You can update the server license currently in use via this menu item. The update process is described in detail in section 4.4.
4.2.4 Update every ...
In the drop down list you can specify the interval (from 5 sec to 5 min) for requesting license usage data from the license server and an update of the display.
4.2.5 'Update' button
requests the current license usage
from the license server and updates the display.
4.2.6 Individual license data
Above the table Individual license usage you will find a drop down list, where you can choose which data the table should display.
- Current usage
- Data showing the license usage of the individual QF-Test clients currently started.
- Peak usage (development)
- Data showing the license usage of the individual clients at the time of maximum use of developer licenses since the license server was started last.
- Peak usage (runtime)
- Data showing the license usage of the individual clients at the time of maximus use of runtime licenses since the license server was started last.
4.3 Tables

4.3.1 Overview
- In use
- Number of licenses of the respective type (development/runtime) currently in use by QF-Test clients.
- Available
-
This table row shows the number of development and runtime licenses currently available, including engine information if the menu option is set accordingly.
The image above shows an example with two developer licenses, one of which is assigned to a QF-Test client making use of all the engines availabe and the other to a QF-Test client using all engines except Java FX. The license structure of the example allows only one instance of QF-Test to work with a Java FX engine. The license structure for the runtime licenses is the same. However, the two runtime licenses are used by a daemon running two QF-Test instances using only the web engine.
- Total
- This table row shows the total number of development and runtime licenses available. When the menu option is set accordingly it also show the respective numbers for the single engines.
- Peak usage (development)
- Total license usage at the time of maximum usage of development licenses since the last restart of the license server.
- Peak (runtime)
- Total license usage at the time of maximum usage of runtime licenses since the last restart of the license server.
4.3.2 Individual license usage
You can specify the kind of individual license data shown by selecting the respective option from the drop-down list Individual license data above the table. The table columns provide the following information:
- Development / Runtime
- The number of used development, respectively runtime licenses used by each connected QF-Test client.
- User
- The name of the user running the QF-Test client.
- Host
- The name of the host on which the QF-Test client was started.
- IP Address
- The client's IP address.
- Started
- The time when the QF-Test Client was started.
- AWT / JavaFX / SWT / Web
-
Number of development licenses used for the respective engine by the QF-Test client.
You can show / hide these columns via the menu item »View«-»Show engines«.
- AWT/Rt / JavaFX/Rt / SWT/Rt / Web/Rt
-
Number of runtime licenses used for the respective engine by the QF-Test client.
You can show / hide these columns via the menu item »View«-»Show engines«.
4.4 Update license server
The server license can be updated interactively via the administration window. This is done by selecting »Extras«-»Update server license«. The following dialog appears:

The top part of the dialog shows the server license currently in use.
In the bottom text field you can either paste the text of the license provided by Quality First Software GmbH or enter it automatically by selecting the license (update) file via the "Select file" button.

When the license data has been entered into the bottom text field you can press the "Update" button. A message will come up informing you that the license update was successful.
The license server is updated while it is running. It does not have to be restarted for the new license to become active. QF-Test clients already connected are not affected by the license update. Newly started clients will run with the updated license.

The old license file gets backed up with the ending '.old' before the update is
performed. The new license data are written to the current license file specified
via -license <file>
.
After the update the license update file provided by Quality First Software GmbH is no longer needed.