Jtest DTP Engine can run on either a local or a network license. The license type can be configured in the .properties configuration file in the INSTALL_DIR (or another location; see Configuration Overview for details).

Network License

There are two types of network licenses:

  • dtp: This license is stored in DTP. Your DTP license limits analysis to the number of files specified in your licensing agreement. This is the default type when license.use_network is set to true.
  • ls: This is a "floating" or "machine-locked" license that limits usage to a specified number of machines. This type of license is stored in License Server.

Network licenses are available in three editions that determine what functionality is available:

  • desktop_edition: Functionality is optimized for desktop usage.
  • server_edition: Functionality configured for high-performance usage in server command line mode.
  • custom_edition: Functionality can be customized.

To configure the network license, specify the following settings in the .properties file:

  1. Set the jtest.license.use_network property to true.

  2. Set the jtest.license.network.type.

  3. Set the jtest.license.network.edition.

  4. Ensure that the connection with DTP is configured; see Connecting to DTP.

Local License

To configure the local license, specify the following settings in the .properties file:

  1. Set the jtest.license.use_network property to false.

  2. Set the jtest.license.local.password property with your password.

Obtaining the Machine ID

If you are using a local license, you will need your machine ID to request a password from Parasoft. Run the following command from the command line to obtain your machine ID: 

jtestcli -machineID

Machine ID for Cloud Environments

If you are using Azure or AWS services, you need to configure the cloudvm option in the .properties configuration file to ensure that your machine ID is properly calculated. You can set the option to one of the following values:

  • azure - Enables integration with Azure
  • aws - Enables integration with AWS
  • true - Enables integration with the automatically detected cloud computing platform
  • false - Disables integration (the default value)

If you set the value to false or if the option is not configured, integration with Azure or AWS is disabled.

  • No labels