Unable to create a session using Appium
Hi, I've got issues while trying to set up Android automated tests with Automation Testingservice. Through my local Java Appium project, whenever I try to create new instance of AndroidDriver, the server responds with following error: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: org.apache.http.client.ClientProtocolException (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 1.67 seconds Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: '…', ip: '…', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.16', java.version: '1.8.0_281' Driver info: driver.version: AndroidDriver Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: '…', ip: '…', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.16', java.version: '1.8.0_281' Driver info: driver.version: AndroidDriver at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:216) at io.appium.java_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:225) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213) at io.appium.java_client.AppiumDriver.startSession(AppiumDriver.java:363) at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:131) at io.appium.java_client.DefaultGenericMobileDriver.<init>(DefaultGenericMobileDriver.java:37) at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:89) at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:99) at io.appium.java_client.android.AndroidDriver.<init>(AndroidDriver.java:97) … I've tried to contact Appium server "manually" but ended with not much informations regarding the cause: { "sessionId": null, "message": "org.apache.http.client.ClientProtocolException", "value": { "message": "org.apache.http.client.ClientProtocolException", "origValue": "org.apache.http.client.ClientProtocolException" }, "status": 33 } The project is using Appium java-client 7.6.0as Maven dependency. I've also checked that there are no conflicts regarding HttpClient dependency (using same as java-client's which is 4.5.13). Capabilities used are the ones recommended while completing the form here:https://cloud.bitbar.com/#testing/test-run-creator { "bitbar_appiumVersion": "1.22.3", "bitbar_description": "Implementation of BitBar in stack", "bitbar_testrun": "Implementation test", "noReset": "true", "bitbar_testTimeout": "1200", "bitbar_target": "android", "deviceName": "Android Device", "fullReset": "false", "bitbar_locale": "FR", "bitbar_apiKey": "<my-api-key>", "automationName": "Appium", "bitbar_app": "<my-app-id>", "platformName": "Android", "bitbar_device": "Google Pixel 3a Android 12", "bitbar_project": "MyProject" } Targeted Appium server is this one:https://eu-mobile-hub.bitbar.com/wd/hub/ Since there are no informations returned from the server, could anyone provide a bit of help regarding this matter ? Thanks a lot.1.2KViews0likes1CommentApp Automation :How to Set Google Play Store credentials using Capabilities in bitbar?
App Automation 1.How to Test Google in-app purchase flows 2.How to Test accepting payments using Google Pay 3.How to Test production version of your apps by downloading it from Google Play Store609Views0likes0Comments