Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Enter them manually in a simple text file simple text file. There are no name or location requirements.
  • Export your GUI preferences as described in Exporting GUI Preferences to a localsettings File then adjust or extend them as needed.

    Info
    titleCreating a Local Settings (Options) File by Exporting Your GUI Preferences

    The fastest and easiest way to create options files is to export your Preferences from the GUI.

    1. Choose Parasoft> Preferences.
    2. Select Parasoft (the root element in the left tree).
    3. Click the share link in the right side of the panel.
    4. In the dialog that opens, specify which preferences you want to export to a file.
    5. Click the Browse button, then specify the file where you want the settings saved.
    6. Click OK.
      • If you select an existing file, the settings will be appended to that file. Otherwise, a new file will be created.
      • Exported passwords will be encrypted.

...

SettingPurpose
cpptest.license.use_network=true|false

Enables or disables retrieving a network license.

Example: cpptest.license.use_network=true

Default: true

(info) By default, C/C++test will try to retrieve a license form License Server on the DTP configured as your primary DTP server; see Parasoft DTP Settings. If you want to configure another License Server, enable the license.network.use.specified.server option.

cpptest.license.local.password=[password]Specifies the local password that you want C/C++test to use. 
cpptest.license.local.expiration=[expiration]

Specifies the expiration date of the local license.

Default: 0

cpptest.license.network.edition=[edition_name]

Specifies the type of license that you want C/C++test to retrieve from License Server. 

[edition_name] can be automation_edition. To use a custom edition, do not set anything after the "="; simply leaving the value empty.

Example:

cpptest.license.network.edition=desktop_edition

cpptest.license.network.edition=automation_edition

Default: custom_edition

cpptest.license.custom_edition_features=[feature name]Specifies the features you want to enable in the custom edition of the C/C++test license.
cpptest.license.wait.for.tokens.time=[time in minutes]

Specifies the time that C/C++test will wait for a license if a license is not currently available. 

For example to make C++test  wait 3 minutes for license tokens, use cpptest.wait.for.tokens.time=3.

Default: 0

cpptest.license.autoconf.timeout=[seconds]

Specifies the maximum number of seconds C/C++test will  wait for the license to be automatically configured from License Server.

Default: 20

license.network.use.specified.server=true|false

Enables or disables retrieving the license from a custom License Server specified with the license.network.host and license.network.port options.

Example: license.network.use.specified.server=true

Default: false

license.network.host=[host]

Specifies the host name of the standalone License Server,  secondary DTP, or legacy License Server that you use to obtain the license. It requires the license.network.use.specified.server option set to true.

Example: license.network.host=jade.mycompany.com

(info) If you retrieve the license from a standalone License Server that uses the HTTPS protocol, precede the hostname with https://.

license.network.port=[port]

Specifies the port number that is assigned to License Server specified with the license.network.host option.

  • For a standalone License Server:  Depends on your Tomcat settings; typically, a  HTTP port, for example, 8080.
  • For License Server on secondary DTP: Typically, a HTTPS port, for example 443 or 8443.
  • For legacy License Server: Typically, 2002.

Example: license.network.port=2222

license.network.connection.type=[http|tcp]

Specifies the connection type if you obtain your license from a custom License Server.

http: Allows you to obtain the license from a standalone License Server or License Server on secondary DTP.

tcp: Allows you to obtain the license from Legacy License Server.

It requires the license.network.use.specified.server, license.network.host, and license.network.port to be enabled.

Example: license.network.connection.type=http

license.network.auth.enabled=true|false

Enables or disables authentication on the secondary DTP server specified with the license.network.host and license.network.port options.

It requires the license.network.use.specified.server option to be set to true.

license.network.user=[username]

Specifies the username for authentication on the secondary DTP server specified with the license.network.host and license.network.port options. It requires the license.network.use.specified.server and license.network.auth.enabled options set to true.

Example: license.network.user=JohnSnow

license.network.password=[password]

Specifies the password for authentication on the secondary DTP server specified with the license.network.host and license.network.port options. It requires the license.network.use.specified.server and license.network.auth.enabled options set to true, and the the license.network.user to be configured. We highly recommend that you use an encoded password to ensure successful authentication and increase the level of security; see Creating an Encoded Password.

Example: license.network.password=Wic2019!

...