vikramvi / AppiumSerenityPOC

POC showing native android app automation with Appium & Serenity BDD framework
https://www.linkedin.com/pulse/managing-automation-projects-efficiently-one-best-bdd-v-ingleshwar/
36 stars 26 forks source link

POST /wd/hub/session 500 20406 ms - 603 #15

Closed ITester2020 closed 3 years ago

ITester2020 commented 3 years ago

My emulator is not opening and i don't think so server is successfully started. How to fix below issuie? My requirement is Starting the server then emulator.?

I followed exact Appium controller and Test runner file mentioned in this repo.It would be great if anybody helps me tpo resolve this?

Issue: [Appium] Welcome to Appium v1.20.2 [Appium] Non-default server args: [Appium] address: 127.0.0.1 [Appium] loglevel: info [Appium] Appium REST http interface listener started on 127.0.0.1:4723 [HTTP] --> POST /wd/hub/session [HTTP] {"desiredCapabilities":{"app":"/Users/390099/repo/mob-qa-nlapp-android/src/test/resources/APK/NoelLeeming-qat-release.apk","appPackage":"nz.co.noelleeming.mynlapp.qat","allowTestPackages":"true","loggingPrefs":{},"deviceName":"emulator-5554","fullReset":"true","appActivity":"nz.co.noelleeming.mynlapp.MainActivity","chromedriverExecutable":".//src//test//resources//BrowserDrivers//chromedriver_2.43.exe","newCommandTimeout":"500","automationName":"uiautomator2","platformName":"Android","udid":"emulator-5554","autoAcceptAlerts":"true"},"capabilities":{"firstMatch":[{"appium:allowTestPackages":"true","appium:app":"/Users/390099/repo/mob-qa-nlapp-android/src/test/resources/APK/NoelLeeming-qat-release.apk","appium:appActivity":"nz.co.noelleeming.mynlapp.MainActivity","appium:appPackage":"nz.co.noelleeming.mynlapp.qat","appium:autoAcceptAlerts":"true","appium:automationName":"uiautomator2","appium:chromedriverExecutable":".//src//test//resources//BrowserDrivers//chromedriver_2.43.exe","appium:deviceName":"emulato... [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix: [BaseDriver] loggingPrefs [BaseDriver] Number capability passed in as string. Functionality may be compromised. [Appium] Appium v1.20.2 creating new AndroidUiautomator2Driver (v1.61.2) session [BaseDriver] Number capability passed in as string. Functionality may be compromised. [BaseDriver] Capability 'fullReset' changed from string to boolean. This may cause unexpected behavior [BaseDriver] Capability 'allowTestPackages' changed from string to boolean. This may cause unexpected behavior [BaseDriver] Capability 'newCommandTimeout' changed from string ('500') to integer (500). This may cause unexpected behavior [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [BaseDriver] loggingPrefs [BaseDriver] autoAcceptAlerts [BaseDriver] Session created with session id: 50d82f31-9853-4218-811f-4b3c4a709ce0 [BaseDriver] Using local app '/Users/390099/repo/mob-qa-nlapp-android/src/test/resources/APK/NoelLeeming-qat-release.apk' [ADB] Found 1 'build-tools' folders under '/Users/390099/Library/Android/Sdk' (newest first): [ADB] /Users/390099/Library/Android/Sdk/build-tools/30.0.3 [ADB] Using 'adb' from '/Users/390099/Library/Android/Sdk/platform-tools/adb' [AndroidDriver] Retrieving device list [HTTP] <-- POST /wd/hub/session 500 20406 ms - 603 [HTTP]

ITester2020 commented 3 years ago

closing as no response.