...
Table of Content Zone | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||
This option sets the property to accept the Parasoft End User License Agreement (EULA). The default is Example Usage
working.dirThis option specifies an absolute path to the SOAVIRT working directory. If not specified, a default working directory called ‘workspace’ is created in the <SOAVIRT_HOME> folder. We recommend changing the default directory so that the workspace is not under the <SOAVIRT_HOME> folder because upgrading to a newer version of the server could overwrite the workspace. logging.config.fileThis option changes the logging level using a built-in or custom log4j2 configuration. If not specified, the default value is You can specify a configuration using an absolute path or a relative path. The root for relative paths is the
You can modify these built-in configurations as needed; see the log4j2 documentation for details. Example Usage
If you unzipped the WAR into
User Access LoggingYou can enable/disable user access logs for the server by modifying default.logging.xml or debug.logging.xml (depending on which is being used). User access logging is enabled by default in WAR installations and disabled by default in desktop installations. To disable user access logging, comment out the By default, the log file will go into the Tomcat installation logs directory, but you can change this by editing the Example of default
Example of default.logging.xml with access logging off:
scripting.timeout.minutesThis option specifies the number of minutes after which Virtualize will attempt to stop an unresponsive script and log an error message. The default is Example Usage
server.hostnameThis option specifies the hostname that CTP will use to connect to the server. Under most circumstances, this option does not require configuration. If the server container or network infrastructure prevents the connection from being established, however, the option may be necessary if the remote host cannot determine a valid way to connect back to the server. This may be the case when working with containerized environments. server.port.httpThis option tells CTP which port Parasoft Virtualize Server is listening to for HTTP. You must specify either server.port.http or server.port.https port. This value must match the HTTP port under which Parasoft Virtualize Server is deployed. server.port.httpsThis option tells CTP which port Parasoft Virtualize Server is listening to for HTTPS. You must specify either server.port.https or server.port.http port. This value must match the HTTPS port under which Parasoft Virtualize Server is deployed. env.manager.serverThis option specifies the location of the CTP server. Be sure to specify the port and protocol (http/ https). Colons must be escaped with the backslash ( \ ) character. Example Usage
Setting the Property with the REST API
You can also set this property after the server has been started using the REST API. Note that settings related to CTP in the .properties file are named "env.manager", which refers to the legacy name Environment Manager. The CTP object in the API, however, is labeled "ctp". These settings refer to the same component.
You can copy the following example JSON, paste it into your input field, and change the values to your installation:
env.manager.server. nameThis option specifies the name that will be used to label this server on CTP. You can use any value that helps you identify this server. Example Usage
Setting the Property with the REST APIYou can also set this property after the server has been started using the REST API. See env.manager.server for details. env.manager.usernameThis option specifies the username for logging into CTP. Example Usage
Setting the Property with the REST APIYou can also set this property after the server has been started using the REST API. See env.manager.server for details. env.manager.passwordThis option specifies the (plain text or encoded) password for logging into CTP. We strongly recommend encoding passwords to ensure successful authentication and a secure connection. The WAR distribution contains a script that can encode passwords. To use it, run:
or
as appropriate for your OS. You can also run a command line instance of SOAtest or Virtualize with the
Either method will generate an encoded string that you can use in place of the password property in the SOAtest and Virtualize Server configuration file. See CLI Options for additional information about command line options. Example Usage
Setting the Property with the REST APIYou can also set this property after the server has been started using the REST API. See env.manager.server for details. env.manager.notifyThis option enables/disables notifications to Parasoft CTP when virtual assets are deployed. Example UsageThe following example enables notifications:
Setting the Property with the REST APIYou can also set this property after the server has been started using the REST API. See env.manager.server for details. env.manager.registry.idThis is a read-only setting used by CTP. soatest.license.enabledThis option enables/disables the license related to SOAtest functionality. The default is Example Usage
virtualize.license.enabledThis option enables/disables the license related to Virtualize functionality. The default is Example Usage
soatest.license.use_networkThis option enables/disables licensing over a network. If you are using a network license, you must also configure either a connection to License Server or to Parasoft DTP. Configure the following options to connect to License Server: Configure the following options to connect to DTP: Example UsageThe following example enables licensing over a network:
soatest.license.network.editionThis option specifies the type of license to retrieve from License Server or DTP. You can specify either Example Usage
soatest.license.custom_edition_featuresThis option specifies a comma separated list of features that should be requested for a custom edition license from License Server or DTP. Contact your Parasoft representative if you are unsure of which features you should specify. Example Usage
virtualize.license.use_networkThis option enables/disables licensing over a network. If you are using a network license, you must also configure either a connection to Parasoft DTP or to License Server (deprecated). Configure the following options to connect to License Server: Configure the following options to connect to DTP: Example UsageThe following example enables licensing over a network:
virtualize.license.network.editionThis option specifies the type of license to retrieve from DTP or License Server. You can specify either Example Usage
virtualize.license.custom_edition_featuresThis option specifies a comma separated list of features that should be requested for a custom edition license from DTP or License Server. Contact your Parasoft representative if you are unsure of which features you should specify. Example Usage
dtp.urlThis option specifies the URL of the DTP server. Remember to include the Example Usage
dtp.server (deprecated)This option specifies the host name of the DTP server. You must also set the Example Usage
dtp.port (deprecated)This option specifies the port number of the DTP server. You must also set the dtp.userThis option specifies the username for DTP authentication. You must also set the Example Usage
dtp.passwordThis option specifies the password for DTP authentication. You must also set the Example Usage
license.network.urlThis option specifies the URL of the License Server. Remember to include the Example Usage
license.network.host (deprecated)This option specifies the host name of the License Server. You must also set the license.network.port (deprecated)This option specifies the host port of the License Server. You must also set the license.network.userSpecifies the username for authentication on the License Server specified with the Example: license.network.passwordSpecifies the password for authentication on the License Server specified with the We strongly recommend encoding passwords to ensure successful authentication and a secure connection. The WAR distribution contains a script that can encode passwords. To use it, run:
or
as appropriate for your OS. You can also run a command line instance of SOAtest or Virtualize with the
Either method will generate an encoded string that you can use in place of the password property in the SOAtest and Virtualize Server configuration file. See CLI Options for additional information about command line options. license.network.use.specified.serverThis option enables the server to connect to connect to either DTP and License Server or two instances of DTP simultaneously. license.network.auth.enabledEnables or disables authentication on the License Server specified with the This option requires the virtualize.license.local.passwordThis option specifies the password for the local Virtualize license. You must also set the virtualize.license.local.expirationThis option specifies an expiration for the local Virtualize license. You must also set the usage.reporting.enabledThis setting enables or disables collecting anonymous usage information and sending it to Parasoft. Read our privacy statement to learn more at https://www.parasoft.com/privacy-policy. Example UsageThe following example enables anonymous usage data reporting:
security.kerberos.realmThis option specifies the Kerberos realm associated with your network. By convention, this is typically your domain name in all caps (for example, PARASOFT.COM). For more information, see "About Kerberos Authentication" in Security Settings on the Additional Preference Settings page. security.kerberos.kdc.serverThis option specifies the hostname of your Key Distribution Center (for example, kdc.parasoft.com). For more information, see "About Kerberos Authentication" in Security Settings on the Additional Preference Settings page. |
...
- Add the jar(s) using one of the following methods:
- Copy the jar(s) into the
<WORKSPACE>/VirtualAssets/system_jars
folder, which is where Parasoft Virtualize Server searches for custom/external jar files to load. Add this folder if it does not already exist. - Upload the jar(s) using the REST API upload operation (
/v5/files/upload
) as described in the Swagger documentation (see API の使用). The upload should specify the/VirtualAssets/system_jars
as the parent folder. The/VirtualAssets/system_jars
folder will be created if it did not already exist.
- Copy the jar(s) into the
- Reload the jars using one of the following methods:
- If the jars contain Virtualize custom extensions, restart the server.
Otherwise, either restart the server or call the
/v5/preferences/systemProperties/reload
REST API. If you are using CTP, you can also refresh the server from the Service Virtualization interface. See Refreshing Files in the CTP documentation.
Additional Configuration Notes
If you want to modify the value of the "Server" HTTP Header in Parasoft Virtualize Server's HTTP Response to ‘Parasoft Server’ (this is the default for traditional Eclipse-based Virtualize server deployments), you need to modify the servlet container configuration.
...