SauceLabs Integration

This is a companion discussion topic for the original entry at

I’m facing difficulty in integrating katalon studio to saucelabs can anyone help me in fixing it?

I have set up the remote url as per below link and on trying to run in remote server I get following error

Caused by: org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.
Caused by: java.lang.IllegalArgumentException: Illegal character in authority at index 8:

I’m having difficulty connecting a remote tunnel from Sauce via Katalon. the documentation isn’t really clarifying the configuration correctly. Any ideas of how to fix?

Hi all,

Sauce Labs Integration plugin is now available in Katalon Store! Hope it can help you solve all problems regarding integrating Katalon Studio to Sauce Labs.

Install the plugin here.

Katalon Store Team


Thanks for plugin! it is working for web-application successfully. But when i tried for hybrid application(mobile+web) it has failed out. Help me in fixing below:

  1. What all the details( Browser’s name, platform, version) has to be entered in sauce labs integration plugin when automating the application in mobile(simulator/emulator) browsers?
  2. What all the details( Browser’s name, platform, version) has to be entered in sauce labs integration plugin when automating mobile app?
  3. How to generated multiple saucelab custom profile, if we to run same script in different iOS version. It didn’t work when i tried entering with different job’s name.
  4. Is that possible writing one mobile script and running on andriod and iOS simulator/emulator in saucelabs?

@ThanhTo please have a look. Thanks

Any update for my request?

Hi @shruthikoki

Regarding 1/ and 2/, the plug-in helps you create a custom profile easily by providing you with a friendly interface. Currently this interface only provides inputs limited to Web testing.

However, when the custom profile is created it will be located under Desired Capabilities > Custom

You can choose the custom profile generated by the plug-in to further add more capabilities.

In order to integrate Sauce Labs with mobile testing and hybrid applications, please refer to their official document here.

There are some capabilities that are required to make testing on mobile works.

Regarding 3/, the document is missing a section on this. All custom profiles must have the name of the following convention: "saucelabs_customName" in order to be recognized as a Sauce Labs profile.

Cheers !

1 Like

Regarding 1/ and 2/,I have tried creating custom profile for saucelab+mobile, and it is failing out with below reason:

Test Cases/DemoMob FAILED.

com.kms.katalon.core.exception.StepFailedException: Unable to open browser with url: ‘



Can you give us the full error log, It’s available in Help > Error Log. The first line in the error log usually doesn’t provide enough context to know what the problem is.

Cheers !

Errorlog.txt (271.4 KB)
Sure… I have attached

My apology, I told you to get the wrong kind of log.

In this case please copy-paste the execution log that you have in the console tab when you execute your test. The whole stack trace starting with

Attached doc contains Logviewer detailsConsoleError.txt (8.0 KB)

Hi. There’s this line in the log that indicates the problem:

Caused by: org.openqa.selenium.WebDriverException: Unable to parse remote response: Invalid device name specified: iPhone Retina (4-inch 64-bit)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(

which means Sauce Labs is not recognizing the device’s name. Can you try other device names to see if it works ? You can try some of the configurations described in Sauce Labs’ documentation.

Thank you for helping me in resolving it :smiley:

1 Like

Did you resolve your issue @shruthikoki

Can you tell us how it was resolved, so that others can benefit from it they encounter the problem in the future ?

Cheers !

Hi @ThanhTo,

To automate mobile web, I have created custom desired capability of different devices in katalon as per the link which you had shared.
ex: DesiredCapabilities caps = DesiredCapabilities.iphone();
caps.setCapability(“appiumVersion”, “1.8.1”);
caps.setCapability(“deviceName”,“iPhone X Simulator”);
caps.setCapability(“deviceOrientation”, “portrait”);
caps.setCapability(“platformName”, “iOS”);
caps.setCapability(“browserName”, “Safari”);

Later i replaced mobile keywords with webUi (ex: tap to click) and executed script which has passed. I didn’t try for all keywords, I need to figure it out.

Still I have an issue in connecting to localhost URL, above one I tried on internet Url after setting up tunnel connection in sauce lab.


Feel free to correct me if I’m on the wrong path of resolving.

Looking forward for your inputs.

Hi @ThanhTo

I had used click keyword in a script and on executing, it is passing in katalon however click action is not performed on sauce simulator so it led to failure of subsequent steps. Later when I tried same script on other simulator it worked well.

I assume it might be failing for not finding the element on that simulator. Is their an option in katalon to spy object(except local/kobiton) on sauce simulator?


Hi can you provide the console log of the test execution where the keywords are failing ?