Define license consumption behavior

You can configure various aspects of license consumption. Edit the UFT.xml file associated with the license server, or the config*.json files that store OpenText Functional Testing for Developers configuration data.

Configure the fallback mechanism and idle time

Define how your OpenText Functional Testing for Developers installation uses licenses in the UFT.xml file.

This file is located on your AutoPass License Server machine at: C:\ProgramData\autopass\apls\licenseserver\data\conf\

Open the UFT.xml file in a text editor, then edit and add keys and values in the following format:

<entry key="{Key}">{Value}</entry>

Make sure that you add key entries within the <properties> element and after the <comment> element.

Edit and add keys to configure the licensing fallback mechanism or set maximum idle time.

Back to top

Customize the license server timeout

By default, OpenText Functional Testing for Developers waits for 120 seconds for the license server to respond, before returning a "no license available" indication.

If you experience license availability errors because your license server is slow to respond, you can extend this timeout period. In the config.json file, locate and modify the licenseServerConnectionTimeout definition (in milliseconds, default = 120000).

To modify the license server timeout: 

  1. On the OpenText Functional Testing for Developers computer, open the config.json file in a text editor.

    If you are using OpenText Functional Testing for Developers as a grid, open grid-config.json or grid-node-config.json, depending on the role of this machine.

    On Windows, the file is located in %localappdata%\LeanFT\config\. If this folder does not exist, create it.

    On Linux/Mac, open the file from the following location:

    Linux ~/.leanft/config
    Mac ~/Library/Application Support/LeanFT/config

    Note: If this is your first time editing the configuration file, the config folder will be empty. You need to copy the file from:<Installdir>/lwe/lightweight-engine/config

  2. Modify the licenseServerConnectionTimeout setting, save the file, and restart the runtime engine.

Back to top

See also: