Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space CPPTDESKDEV and version 10.4.2


To install a license when Development Testing Platform DTP manages Parasoft licensing across your team or organization:

  1. (Recommended for DTP admins)  Verify that the product and version you are licensing appears in the DTP License Server. If not, update the tools database as described in the DTP Admin Guide.
  2. Choose Parasoft> Preferences to open the Preferences dialog.
  3. Select the License category in the left pane.
  4. If the appropriate server is not already set (from the auto-configuration process described in C++test Configuration Overview, specify the server’s host (either a name or an IP address) and port .If you have multiple Parasoft products installed,  open the tab for the Parasoft product you want to license (e.g., Jtest, SOAtest(the default is 2002).
  5. Select the Enable License option.
  6. Select the Network option.
  7. Indicate the license type that you want this product to use by selecting the appropriate option in the Edition box.
  8. If you want to use the product for a short period of time when you will not have access to DTP (e.g., because you expect to be working from home, you will be travelling, your team will be upgrading the machine hosting DTP, etc.), check borrow and specify how long you need to "borrow" the license.
    • When you borrow a license, one of the available licenses (on the DTP) is locked to your machine for the specified amount of time. You can then disconnect from the network and use the product without accessing DTP.
    • Licenses can be borrowed from 1 hour to 14 days.
    • License borrowing requires PST 2.6 or higher or DTP.
  9. Click OK to set and save your settings.
titleTips - License Activation and Deactivation

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:

  • The C++test views are disabled and results are cleared from the Quality Tasks view.
  • The product’s license is released on DTP.

When the license is reactivated:

  • All of the licensed C++test views are restored and the Quality Tasks view will display available results.

Note that:

  • Using Parasoft / Activate License will acquire a license for all installed Parasoft Test products
  • It is not necessary to use Parasoft / Activate License.  When the Parasoft Test product is run, it will acquire a license for only that specific product. The Start Deactivated option is enabled and cannot be disabled in this situation.
titleTip - Waiting for a License in Command Line Mode

If you want the product to wait for a license if the requested license is not currently available, use the localsettings option <tool_prefix>cpptest.wait.for.tokens.time=[time in minutes]. For example to make Jtest , the following configuration will make C/C++test wait 3 minutes for license tokens, use jtest: cpptest.wait.for.tokens.time=3

For details on the command line mode and localsettings options, see Configuring Localsettings as well as Testing from the Command Line Interface


  1. Choose Parasoft> Preferences to open the Preferences dialog.
  2. Select the License category in the left pane.If you have multiple Parasoft products installed, open the tab for the Parasoft product you want to license (e.g., Jtest, SOAtest).
  3. Select the Local option.
    Contact your Parasoft representative to receive your license . You will need to (see Contacting Parasoft Technical Support) and provide the Machine ID listed in this panel.
    In the United States, call 1-888-305-0041. In other locations, use the contact information available atContacting Parasoft Technical Support.If you don’t yet have a valid license set and you want to (info) To obtain the Machine ID without opening the GUI,  run the command line invocation (e.g., jtestcli or soatestcli) cpptestcli from the command line. The Machine ID will be reported in the output message (for example, Error: No valid license (MachineId: WIN32-12345678).
  4. Enter your license password.
  5. Click Apply. The License preferences page will display the features that you are licensed to use, and the expiration date for your license.
  6. Click OK to set and save your license.


  1. If you will be using a custom edition license, define the appropriate license features in the localsettings as follows:

    Code Block
    [product]cpptest.license.custom_edition_features= All enabled features

    Note that license feature settings apply only to custom edition licenses. 

  2. Define the main license settings in the localsettings as follows:

    Code Block
    [product] Type of license edition 
    [product]cpptest.license.use_network= Value (true or false) Host name Port number

    See Configuring Localsettings details on localsettings and a list of all license-related options.