This section describes how to license the desktop instance of SOAtest and VirtualizeFor Virtualize For information about licensing the web archive (WAR) deployment of the server, see Licensing the Virtualize Server.
In this section:
Table of Contents | ||
---|---|---|
|
...
You can configure SOAtest and Virtualizeto Virtualize to use a license served from Parasoft DTP or a standalone instance of Parasoft License Server. Contact your system administrator for information about which type of license you should use.
...
- Choose Parasoft> Preferences and click on the DTP category.
- Enable the Enable option and specify the DTP host, port, and your DTP login credentials.
- (Optional) If DTP is deployed to a location relative to the path specified in the Host name field, specify the relative path in the Context path field. DTP may deployed to a path other than the root of the host if your organization uses a reverse proxy server.
- Click Test Connection to verify that the settings are correct. If you are going to use a license configuration associated with a specific DTP project, choose a project from the drop-down menu in the Project section.
- Click Apply and click the Configure... link in the License section.
- If you have multiple Parasoft products installed, open the tab for the Parasoft product you want to license (e.g., Jtest, SOAtest, Virtualize).
Enable the Network option and click the Configure... link.
- Enable the Use configured DTP settings option. If you are going to use a license configuration associated with a specific DTP project, enable the Use License Server settings from DTP project to use the license configuration associated with the project selected in step 3.
- Click OK to close the dialog.
- Specify the product edition from the Edition drop-down menu. Contact your Parasoft administrator for assistance selecting an edition or custom edition features.
You can enable the Borrow option and specify a length of time for which SOAtest and Virtualizewill will consume a license token. Licenses can be borrowed from 1 hour to 14 days. Refer to the DTP documentation for additional information about borrowing licenses.
- Apply to save your settings.
...
- Choose Parasoft> Preferences and click on the License category.
- If you have multiple Parasoft products installed, open the tab for the Parasoft product you want to license (e.g., Jtest, SOAtest, Virtualize).
Enable the Network option and click the Configure... link.
Enable the Use the following License Server option and specify the host name or IP address where License Server is hosted and port. Common port numbers are
.8443
or8080
for HTTP/S and2002
(default) for TCP.
If your server uses the HTTPS protocol, prepend
https://
to the hostname.
- (Optional) Specify the context path if both of the following conditions apply:
- You are connecting to the License Server integrated with DTP.
- DTP is deployed in a location relative to the host address you provided. DTP may deployed to a path other than the root of the host if your organization uses a reverse proxy server.
- Click Test Connection to verify your settings and click OK to save your changes.
- Specify the product edition from the Edition drop-down menu. Contact your Parasoft administrator for assistance selecting an edition or custom edition features.
You can enable the Borrow option and specify a length of time for which SOAtest and Virtualize will consume a license token. Licenses can be borrowed from 1 hour to 14 days. Refer to the License Server documentation for additional information about borrowing licenses.
- Click Apply to save your settings.
...
When the license is deactivated:
- The Parasoft Test views are disabled and results are cleared from the Quality Tasks view.
- The product’s license token is released in DTP , Concerto, or License Server.
When the license is reactivated:
...
It is not necessary to use Parasoft / Activate License. When the Parasoft Test product is run, it will acquire a license for only that specific product. The Start Deactivated option is enabled and cannot be disabled in this situation.Licensed views are restored and the Quality Tasks view will display available results
...
when the license is reactivate.
Waiting for a License in Command Line Mode
You can configure SOAtest and Virtualize to Virtualize to wait for a license token if a requested token is not currently available by specifying the license.wait.for.tokens.time
option when using the command line interface. For additional information, see
the following pages:
- Localsettings in Virtualize
- Configuring Localsettings in SOAtest
- Testing from the Command Line Interface - soatestcli
Stabilizing the Machine ID
Changes in the network environment may affect the interface that is used to compute your machine ID, resulting in machine ID instability. You can use the PARASOFT_SUPPORT_NET_INTERFACES
environment variable to specify a stable interface and prevent the machine ID from floating.
- Set up the PARASOFT_SUPPORT_NET_INTERFACES environment variable according to your operating system.
- Set the variable value to a stable ethernet network interface. Do not use virtual, temporary or loopback interfaces.
Windows: Set the value to the MAC address of your network card, e.g.:
Code Block language powershell SET PARASOFT_SUPPORT_NET_INTERFACES=00-10-D9-27-AC-85
Linux/macOS: Set the value to one of the network interfaces from the "inet" or "inet6" family, e.g.:
Code Block language bash export PARASOFT_SUPPORT_NET_INTERFACES=eth1
Using a Local License
Local licenses do not request a license token from a a server on the network. Instead, they are locked to the specific machine. You will need to provide your machine ID to your Parasoft representative, who will send you a license password. The machine ID appears in the Parasoft license configuration screen.
...
Manually Configuring the License
You can createSOAtest create SOAtest and Virtualizeconfiguration Virtualize configuration file and specify your license settings. See Configuring Localsettings (SOAtest) and Localsettings (Virtualize) for details on creating and configuring the file.
...
You can export your configuration settings to a .properties file and share with team members. See Configuring Localsettings or Localsettings for details.
Manually Specifying the License on Initialization
You can specify a license configuration in a parasofttest.ini file. Parasoft Test is the common framework for many Parasoft tools.
- Create a parasofttest.ini file in the Parasoft Test installation directory.
Edit the parasofttest.ini file to provide licensing details. Use the following format:
Code Block license.network.host=snake.parasoft.com license.network.port=2002 enforce.configure=true
See Configuring Localsettings or Localsettingsfor details on configuration properties.
The license settings specified here will be read upon startup when the product is launched in UI mode.