Introduction

Connecting to DTP allows you to obtain the network license and extend team-working capabilities, such as:

In addition, DTP aggregates and prioritizes data collected from analysis tools, as well as performs additional analysis to help you optimize development processes; see About the Parasoft Development Testing Workflow for details.

Configuring Connection to DTP Server

The connection must be configured in the .properties configuration file (see Configuration Overview). Set the following properties to configure the connection:

We highly recommend that you use an encrypted password to ensure successful authentication and increase the level of security; see Creating an Encrypted Password.

Creating an Encrypted Password

dotTEST can encrypt your password, which adds a layer of security to your interactions with DTP server. Run the following command to generate an encrypted password using AES 256-bit encryption:  

-encodePass [MYPASSWORD]


Copy the encrypted password that is returned and paste it into the dottestcli.properties file to configure the connection. Examples:

dtp.password=[ENCRYPTED PASSWORD]
oidc.keystore.password==[ENCRYPTED PASSWORD]

Configuring OpenID Connect in the .properties File

DTP ships with support for OpenID Connect user authentication (see the DTP User Guide for details). If OpenID Connect is enabled for your DTP server, you must configure dotTEST to authenticate users via OpenID Connect.

Configure the following settings in the .properties file where the connection to your DTP server is configured.

If device code authentication will be used (default):

If certificate authentication will be used:

See OpenID Connect Settings for details.

It is also possible to authenticate with DTP in a simpler way when basic authentication is enabled for automation users on DTP. See the DTP User Guide for details.

Using Device Code Authentication

If "devicecode" mode is enabled, the verification URI with user code is printed on the dotTEST console. The user must use this URI and code to authenticate. If the authentication is successful, the information is saved to a token file (the path to the file is stored in the oidc.devicecode.token.file setting) and reused each time dotTEST is run. If the information saved in the file becomes invalid, the user will need to authenticate again.

About the Parasoft Development Testing Workflow