Editing the Properties of the Silk Test Information Service

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.
  1. 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/.
  2. Rename the file infoservice.properties.sample to infoservice.properties.
  3. Specify whether Silk Test Classic 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.
  4. 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 Classic 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.
  5. 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.
  6. 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 Classic should communicate with the information service as the infoservice.default.port. The default port is 22901.
  7. 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.
  8. 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