Connecting to DTP Server is required for licensing, as well as extending other team-working capabilities, such as:
- Reporting analysis to a centralized database (see Sending Results and Publishing Source Code to DTP)
- Sharing test configurations
- Sharing static analysis rules
The connection must be configured in the .properties
configuration file in the INSTALL_DIR
(or another location; see Configuration Overview for details).
The following properties must be set to configure the connection to DTP Server:
dtp.server=[SERVER]
dtp.port=[PORT]
dtp.user=[USER]
dtp.password=[PASSWORD]
Use only alphanumeric characters and hyphens for passwords. Special characters are allowed only in encoded passwords (see Creating an Encoded Password).
Creating an Encoded Password
C++test can encrypt your password, which adds a layer of security to your interactions with DTP Server. Run the following command to print an encoded password:
-encodepass [MYPASSWORD]
Copy the encoded password that is returned and paste it into the cpptest.properties
file:
dtp.password=[ENCODED PASSWORD]