Use the
infoservice.properties file to specify the port for the
Silk Test Information Service, whether to use a secure connection through HTTPS, or the capabilities that are applied each time
Silk Test executes a test on the machine on which the
Silk Test Information Service is running.
-
Navigate to the directory in which the
infoservice.properties.sample file is located.
- On a Windows machine, navigate to
%PROGRAMDATA%\Silk\SilkTest\conf, for example
C:\ProgramData\Silk\SilkTest\conf.
- On macOS, navigate to
~/.silk/silktest/conf/.
-
Rename the file
infoservice.properties.sample to
infoservice.properties.
-
Specify whether
Silk Test Workbench should communicate with the information service over a secure connection through HTTPS.
- To use a secure connection through HTTPS, set
infoservice.https.enabled to
true. This is the default setting.
- To disable using a secure connection through HTTPS, set
infoservice.https.enabled to
false.
-
Optional: If you have specified that you want to use a secure connection through HTTPS, you can specify a different port that is not
in use through which
Silk Test Workbench should communicate with the information service as the
infoservice.default.https.port.
The default HTTPS port is 48561. Port numbers can be any number from 1 to 65535.
-
Optional: To redirect all HTTP requests to the HTTPS port, if you have specified that you want to use a secure connection through HTTPS,
set
infoservice.http-to-https.enabled to
true.
The default value is
false.
-
Optional: If you have specified that you do not want to use a secure connection through HTTPS, you can specify a different port that
is not in use through which
Silk Test Workbench should communicate with the information service as the
infoservice.default.port.
The default port is 22901.
-
Optional: To replace the certificates that are used by
Silk Test for the HTTPS connection with your own certificates, see
Replacing the Certificates that are Used for the HTTPS Connection to the Information Service.
-
To specify capabilities, add the following line to the
infoservice.properties file:
customCapabilities=<custom capability_1>;<custom_capability_2>;...
Example: Running an
iOS Simulator in a Specified Language
To always run a specific
iOS Simulator on a Mac in the same language, for example Japanese, specify the custom capabilities
language and
locale. To do so, add the following line to the
infoservice.properties file:
customCapabilities=language=ja;locale=ja_JP