Mobile Salesforce Testing with Katalon: iOS Simulator encountered unable to start application

To whom It May Concern,

I was following tutorial below

but I’ve hit a bump in the road

Please help me to find the solution, many thanks

1 Like

Hi,

Can you please help copy the error log and send us? I guess this is due to Appium version problem. Which Katalon version are you using and can you please update it?

1 Like

Hello,
Thanks for response

Appium v2.2.2
Katalon studio version 8.6.8

Details

java.util.concurrent.ExecutionException: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped resource (WARNING: The server did not provide any stacktrace information)

Command duration or timeout: 53 milliseconds

Build info: version: 'unknown', revision: 'unknown', time: 'unknown'

System info: host: 'P10386890MBP.mshome.net', ip: 'fe80:0:0:0:1450:8d91:f5f6:3514%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '14.1.1', java.version: '1.8.0_362'

Driver info: driver.version: IOSDriver

Build info: version: 'unknown', revision: 'unknown', time: 'unknown'

System info: host: 'P10386890MBP.mshome.net', ip: 'fe80:0:0:0:1450:8d91:f5f6:3514%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '14.1.1', java.version: '1.8.0_362'

Driver info: driver.version: IOSDriver

at com.kms.katalon.composer.components.impl.dialogs.ProgressMonitorDialogWithThread.runAndWait(ProgressMonitorDialogWithThread.java:49)

at com.kms.katalon.composer.mobile.objectspy.components.RemoteAppComposite$1.run(RemoteAppComposite.java:114)

at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)

Caused by: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped resource (WARNING: The server did not provide any stacktrace information)

Command duration or timeout: 53 milliseconds

Build info: version: 'unknown', revision: 'unknown', time: 'unknown'

System info: host: 'P10386890MBP.mshome.net', ip: 'fe80:0:0:0:1450:8d91:f5f6:3514%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '14.1.1', java.version: '1.8.0_362'

Driver info: driver.version: IOSDriver

Build info: version: 'unknown', revision: 'unknown', time: 'unknown'

System info: host: 'P10386890MBP.mshome.net', ip: 'fe80:0:0:0:1450:8d91:f5f6:3514%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '14.1.1', java.version: '1.8.0_362'

Driver info: driver.version: IOSDriver

at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:208)

at io.appium.java_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:217)

at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239)

at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)

at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)

at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)

at io.appium.java_client.ios.IOSDriver.execute(IOSDriver.java:1)

at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213)

at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:131)

at io.appium.java_client.DefaultGenericMobileDriver.<init>(DefaultGenericMobileDriver.java:38)

at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:84)

at io.appium.java_client.ios.IOSDriver.<init>(IOSDriver.java:85)

at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:508)

at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory.startRemoteMobileDriver(MobileDriverFactory.java:575)

at com.kms.katalon.composer.mobile.objectspy.dialog.MobileInspectorController.startMobileAppOnCloudDevices(MobileInspectorController.java:239)

at com.kms.katalon.composer.mobile.objectspy.components.RemoteAppComposite$1$1.call(RemoteAppComposite.java:117)

at com.kms.katalon.composer.components.impl.dialogs.ProgressMonitorDialogWithThread.startThreadAndWait(ProgressMonitorDialogWithThread.java:36)

at com.kms.katalon.composer.components.impl.dialogs.ProgressMonitorDialogWithThread.runAndWait(ProgressMonitorDialogWithThread.java:48)

... 2 more

Caused by: java.lang.reflect.InvocationTargetException

at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:186)

... 19 more

Caused by: org.openqa.selenium.UnsupportedCommandException: The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped resource (WARNING: The server did not provide any stacktrace information)

Command duration or timeout: 53 milliseconds

Build info: version: 'unknown', revision: 'unknown', time: 'unknown'

System info: host: 'P10386890MBP.mshome.net', ip: 'fe80:0:0:0:1450:8d91:f5f6:3514%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '14.1.1', java.version: '1.8.0_362'

Driver info: driver.version: IOSDriver

at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)

at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166)

at org.openqa.selenium.remote.JsonWireProtocolResponse.lambda$errorHandler$0(JsonWireProtocolResponse.java:54)

at org.openqa.selenium.remote.HandshakeResponse.lambda$getResponseFunction$0(HandshakeResponse.java:30)

at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:126)

at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:128)

... 20 more
1 Like

@Elly_Tran
I hope the above information is enough for you to clarify the problem. If you need more information, please feel free to ask.

@chialun15
Currently, Katalon Studio supports Appium v1 only, you can install Appium v1 instead.
In case you still want to use Appium v2, you can try v8.5.4.beta: Release v8.5.4.beta3 · katalon-studio/katalon-studio · GitHub

@duyluong
Alright, I will try it and how about version of node.js? any suggestion?

Hi @ryanyang182

I think NodeJS v12 to v20 is OK

Hi there @chialun15,

I found the below topics from our Product Support team which may be worth taking a look at: :point_down:

Let us know if this helps.

Thanks,
Albert

Hi @duyluong , I did try
Node.js 18
Appium v1.22.3
Katalon studio version 8.5.4.beta3
But seems like Appium v1 can not be installed appium driver
And according tutorial need to use appium driver


Therefore I tried
Node.js 18
Appium v2.0.0
Katalon studio version 8.5.4.beta3
And I got same error

1 Like