Jtest can run on either a local or a network license:
Network License
To activate your network license:
- Ensure that DTP is enabled and properly configured; see Connecting to DTP. Connecting to DTP automatically configures your network license.
Click Parasoft in the menu bar and choose Preferences (Eclipse) or Settings (IntelliJ).
- Select License.
- Ensure that the Network option is enabled.
- Select the license edition you want to use from the Edition drop-down menu.
- Click Apply.
Borrowing a Network License
License borrowing allows you to use Jtest when you cannot connect with the host that serves your license, for example, during travel or when the server is being upgraded. When you borrow a license, one of the license tokens is locked to your machine for the specified amount of time. Licenses can be borrowed from 1 hour to 14 days.
To borrow a license, enable the Borrow option in the License panel and specify the number of days and hours you are going to use the license.
Activating and Deactivating a Network License
By default, the license is activated on IDE startup and remains active until the IDE is closed. You can optimize license token distribution so that your license token is available for another user when you are not actively using Jtest in your IDE.
You can manually deactivate the license by choosing Parasoft> Deactivate License from the IDE menu. To reactivate the license, choose Parasoft> Activate License or start interacting with the tool.
Also, you can configure Jtest to automatically manage your license token by enabling the Start deactivated, release automatically when idle option on the License preference page. With this option enabled:
- the license is not active on IDE startup and is activated when you start interacting with the tool.
- the license is automatically deactivated after about half an hour of inactivity.
Advanced Network License Configuration
Configuring advanced network license settings allows you to obtain the network license from secondary instance of DTP or a standalone License Server.
Go to Parasoft> Preferences (Eclipse) or Settings (IntelliJ)> License.
- Click the Configure... link.
- Enable the Use the following License Server option in the popup dialog that opens.
Configure the connection.
a) To use a license from a standalone License Server:
- Specify the host where your standalone License Server is deployed. If your server uses the HTTPS protocol, precede the hostname with
https://
.
- Specify the port. The port number depends on your Tomcat settings (the default is 8080).
Configuring the context path is not supported for a standalone License Server.Do not enable authentication.
b) To use a license from secondary DTP:
- Specify the hostname.
- Specify the port (the default is 443 or 8443).
- (optional) Specify the context path if DTP is deployed in a location relative to the host address you provided.
- Enable the Use authentication option.
- Provide the username and password.
- Click OK in the dialog box.
- Click Apply in the main License page.
If the Use configured DTP settings option is enabled, the license will be obtained as normal – from the DTP server you configured for your development testing workflow (see Connecting to DTP). This option is enabled by default.
Local License
To configure the local license:
Click Parasoft in the menu bar and choose Preferences (Eclipse) or Settings (IntelliJ).
- Select License.
- Enable the Local option.
- Complete the Password field with the password you obtained from Parasoft.
- Click Apply.
Contact your Parasoft representative should you experience any issues with your license.