Silk Test Image Environment Variables

The following table lists the environment variables that you can use to control how the Silk Test Docker container runs.

Environment Variable Description
SILK_LICENSE_SERVER The host name or IP address of the Silk Meter license server.
SILK_SELENIUM_SERVER_PORT

Optional: The listening port for the built-in Selenium server. If this environment variable is not set, the Selenium support is turned off.

For example:
SILK_SELENIUM_SERVER_PORT=4444
SILK_RMI_SERVER_PORT

Optional: The listening port for the RMI server for the JTF. If this environment variable is not set, a dynamic port is calculated. Only set this if you need to interact with the Open Agent by using the JTF outside the Docker container and you require a fixed port for port forwarding.

For example:
SILK_RMI_SERVER_PORT=30000
SILK_LOG_FILE_PATH

Optional: The path to the folder into which the test reports should be generated.

For example:
SILK_LOG_FILE_PATH=/output
SILK_CONSOLE_LOG

Optional: Specifies whether to write the log to the console in addition to the Open Agent log file:

For example:
SILK_CONSOLE_LOG=true
SILK_LOG_LEVEL

Optional: The log level.

For example:
SILK_LOG_LEVEL=DEBUG
Prefix each variable with -e, for example:
docker run -e SILK_LOG_FILE_PATH=/logs
  -v c:/temp/ChromeExample/logs:/logs
  -e SILK_SELENIUM_SERVER_PORT=4444
  -e SILK_RMI_SERVER_PORT=30000
  -e SILK_CONSOLE_LOG=true
  -e SILK_LOG_LEVEL=DEBUG 
  -e SILK_LICENSE_SERVER=<license-server address>
  --name agent
  functionaltesting/silktest:latest