Starting with DTP 2021.1, two license types are available to users: the default v1 licenses and newer v2 licenses. The v1 license enables License Server to serve tokens to all Parasoft tools and is the default license mode. Using v1 licenses is described on the License Server Usage page. Users running 2021.1 or later can take advantage of v2 licenses. Their usage is described below.

Enabling v2 Licenses

To enable v2 licenses for DTP, modify the <DTP_INSTALLDIR>/bin/variables file by adding the line below appropriate for your OS.

Linux

JAVA_CONFIG_ARGS=-Dparasoft.use.license.v2=true

Windows

DTP_JAVA_OPTS=-Dparasoft.use.license.v2=true

Server License

Users with a v2 license can either connect to a remote instance of License Server to obtain a license or use a local license file. Either can added from the Configuration tab on the License Server screen.

Configuring a Remote License

  1. Specify the hostname, port, context path (if applicable), and user credentials in fields provided.
  2. Click Test Connection to validate the fields were entered correctly.
  3. Click Save.

Configuring a Local License

Contact your Parasoft representative to obtain a local license file.

  1. Click Browse and locate the license file.
  2. Specify the email address and secret associated with your license. Contact your Parasoft administrator if you need assistance.
  3. Click Save.

Adding Licenses

Once v2 licenses are enabled, the License Server can serve v2 license tokens to Parasoft tools that are version 2021.1 or later that are configured to use them. After your Parasoft representative has given you a v2 license file for your tool, you can upload it from the License Server screen (from the dashboard, click the gear icon and select License Server).


To add a v2 license:

  1. From the License Server screen, click Add License and choose Upload.
  2. Click Browse and navigate to the license file sent to you by your Parasoft representative. 
  3. Click Add when finished.

Removing Licenses

Click on the trash icon and confirm that you want to remove the license when prompted. 

  • No labels