This topic explains how to set licensing information from the GUI. It covers:
You can also specify licensing via localsettings (e.g. for sharing team-wide settings via DTP or specifying options at the command line). See Configuring Localsettings for details.
To install a license when DTP manages Parasoft licensing across your team or organization:
If you want to deactivate a license, choose Parasoft> Deactivate License. To reactivate it, choose Parasoft> Activate License. If you want to have a license automatically deactivated after 30 minutes of inactivity, enable the Start deactivated, release automatically when idle option. To change this behavior, disable this option. When the license is deactivated:
When the license is reactivated:
|
If you want the product to wait for a license if the requested license is not currently available, use the localsettings option For details on the command line mode and localsettings options, see Configuring Localsettings as well as Testing from the Command Line Interface. |
To install a machine-locked license:
cpptestcli
from the command line. The Machine ID will be reported in the output message.To add or change license settings via localsettings:
If you will be using a custom edition license, define the appropriate license features in the localsettings as follows:
cpptest.license.custom_edition_features= All enabled features |
Note that license feature settings apply only to custom edition licenses.
Define the main license settings in the localsettings as follows:
cpptest.license.network.edition= Type of license edition cpptest.license.use_network= Value (true or false) license.network.host= Host name license.network.port= Port number |
See Configuring Localsettings details on localsettings and a list of all license-related options.
Here are several examples of properly-configured License settings in localsettings file:
cpptest.license.network.edition=desktop_edition
cpptest.license.use_network=true
license.network.host=main1.parasoft.com.pl
license.network.port=2222
cpptest.license.local.expiration=2012-08-29
cpptest.license.local.password=PARASOFT_353E2A7DA4F3D4B2FF142B0A262AF62B9DEC3449C 124773BAF0B4B508FF21139E867D9772F3702716FCE6D8EA16ACE668DE0EE629D15471359920 3BD85CE1213_7937E7ED374E70FDD62EE8411C2BB2D8EB465019E64BF3EF3A87DE6B67FB10 BBCAF8611B08F70D9420AC574FC5B3E5EB7241B20506DE2C60B0D80462CBEDBD
cpptest.license.use_network=false
Note that with local licenses, the enabled features are specified via the generated password.
If you do not want to specify the license with a localsettings file, you can configure it with a parasofttest.ini file as follows:
Edit the parasofttest.ini file to provide licensing details. Use the following format:
license.network.host=snake.parasoft.com license.network.port=2002 enforce.configure=true |
The license settings specified here will be read upon startup when the product is launched in UI mode.