The information in this topic may be out of date. The current SDK reference guide has moved here.

setServerUrl method

Class: EyesPlatform: EspressoLanguage: Java SDK:

Use this method to set the URL of the Eyes server used to process the captured images.

Use this if you have a dedicated cloud or an on-premise server. By default, the test will run on the public cloud. If you set the environment variable APPLITOOLS_SERVER_URL to the server URL then Eyes uses that value as the default.


eyes.setServerUrl(new URI('https://myEyesServer');


The URL of the Eyes server. Pass a value of null to use the default cloud server.

Return value

Type: void