Skip to content

Instantly share code, notes, and snippets.

@vikramvi
Created April 3, 2017 14:42
Show Gist options
  • Select an option

  • Save vikramvi/c18c280af8384cd52858359452b36de3 to your computer and use it in GitHub Desktop.

Select an option

Save vikramvi/c18c280af8384cd52858359452b36de3 to your computer and use it in GitHub Desktop.
Could not proxy command to remote server. Original error: Error: socket hang up
[Appium] Welcome to Appium v1.6.4-beta
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"newCommandTimeout":999999,"automationName":"uiautomator2","platformName":"Android","deviceName":"placeholder string","app":"/Users/vikram-anna/Documents/Noa/Workspace/Mobile-Automation/iOS-Automation/Rider-App-Automation/Rider.apk"}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"newCommandTimeout":999999,"automationName":"uiautomator2","platformName":"Android","deviceName":"placeholder string","app":"/Users/vikram-anna/Documents/Noa/Workspace/Mobile-Automation/iOS-Automation/Rider-App-Automation/Rider.apk"},null,null,null,null]
[Appium] Creating new AndroidUiautomator2Driver (v0.2.11) session
[Appium] Capabilities:
[Appium] newCommandTimeout: 999999
[Appium] automationName: 'uiautomator2'
[Appium] platformName: 'Android'
[Appium] deviceName: 'placeholder string'
[Appium] app: '/Users/vikram-anna/Documents/Noa/Workspace/Mobile-Automation/iOS-Automation/Rider-App-Automation/Rider.apk'
[BaseDriver] Session created with session id: b9b76f9d-1079-4461-9009-4109fc5e2753
[BaseDriver] Using local app '/Users/vikram-anna/Documents/Noa/Workspace/Mobile-Automation/iOS-Automation/Rider-App-Automation/Rider.apk'
[debug] [UiAutomator2] Checking whether app is actually present
[UiAutomator2] UIAutomator2 Driver version:0.2.11
[debug] [AndroidDriver] Getting Java version
[AndroidDriver] Java version is: 1.8.0_102
[ADB] Checking whether adb is present
[ADB] Using adb from /Users/vikram-anna/Library/Android/sdk/platform-tools/adb
[AndroidDriver] Retrieving device list
[debug] [ADB] Trying to find a connected android device
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[AndroidDriver] Using device: 0a2b30b20337dd16
[ADB] Checking whether adb is present
[ADB] Using adb from /Users/vikram-anna/Library/Android/sdk/platform-tools/adb
[debug] [ADB] Setting device id to 0a2b30b20337dd16
[debug] [AndroidDriver] Parsing package and activity from app manifest
[ADB] Checking whether aapt is present
[ADB] Using aapt from /Users/vikram-anna/Library/Android/sdk/build-tools/25.0.2/aapt
[ADB] Extracting package and launch activity from manifest
[debug] [ADB] badging package: one.noatech.rider.nightly
[debug] [ADB] badging act: one.noatech.rider.ui.auth.OnboardingActivity
[debug] [AndroidDriver] Parsed package and activity are: one.noatech.rider.nightly/one.noatech.rider.ui.auth.OnboardingActivity
[ADB] Getting device platform version
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","shell","getprop","ro.build.version.release"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","shell","wm","size"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","shell","getprop","ro.product.model"]
[debug] [ADB] Current device property 'ro.product.model': Nexus 5
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","shell","getprop","ro.product.manufacturer"]
[debug] [ADB] Current device property 'ro.product.manufacturer': LGE
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","shell","am","force-stop","io.appium.uiautomator2.server"]
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","wait-for-device"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","shell","echo","ping"]
[debug] [Logcat] Starting logcat capture
[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","install","/usr/local/lib/node_modules/appium/node_modules/io.appium.settings/bin/settings_apk-debug.apk"]
[debug] [AndroidDriver] Pushing unlock helper app to device...
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","install","/usr/local/lib/node_modules/appium/node_modules/appium-unlock/bin/unlock_apk-debug.apk"]
[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8200
[debug] [ADB] Forwarding system: 8200 to device: 6790
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","forward","tcp:8200","tcp:6790"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","shell","dumpsys","window"]
[AndroidDriver] Screen already unlocked, doing nothing
[debug] [AndroidDriver] Extracting strings from apk /Users/vikram-anna/Documents/Noa/Workspace/Mobile-Automation/iOS-Automation/Rider-App-Automation/Rider.apk null /var/folders/xk/ryk32cv91t700bvnr4z3f5fw0000gn/T/one.noatech.rider.nightly
[debug] [ADB] Extracting strings for language: default
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","shell","getprop","ro.build.version.sdk"]
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","shell","getprop","persist.sys.locale"]
[debug] [ADB] Current device property 'persist.sys.locale': en-GB
[debug] [ADB] No strings.xml for language 'en', getting default strings.xml
[debug] [ADB] Reading strings from converted strings.json
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","push","/var/folders/xk/ryk32cv91t700bvnr4z3f5fw0000gn/T/one.noatech.rider.nightly/strings.json","/data/local/tmp"]
[debug] [ADB] Checking app cert for /Users/vikram-anna/Documents/Noa/Workspace/Mobile-Automation/iOS-Automation/Rider-App-Automation/Rider.apk.
[debug] [ADB] App already signed.
[debug] [ADB] Zip-aligning '/Users/vikram-anna/Documents/Noa/Workspace/Mobile-Automation/iOS-Automation/Rider-App-Automation/Rider.apk'
[ADB] Checking whether zipalign is present
[ADB] Using zipalign from /Users/vikram-anna/Library/Android/sdk/build-tools/25.0.2/zipalign
[debug] [ADB] Zip-aligning apk.
[AndroidDriver] Remote apk path is /data/local/tmp/a997b4a5fb9b6d78f40d913c8ff8e38a.apk
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","shell","ls","/data/local/tmp/a997b4a5fb9b6d78f40d913c8ff8e38a.apk"]
[debug] [AndroidDriver] Checking if app is installed
[debug] [ADB] Getting install status for one.noatech.rider.nightly
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","shell","pm","list","packages","one.noatech.rider.nightly"]
[debug] [ADB] App is installed
[AndroidDriver] Apk is already on remote and installed, resetting
[debug] [AndroidDriver] Running fast reset (stop and clear)
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","shell","am","force-stop","one.noatech.rider.nightly"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","shell","pm","clear","one.noatech.rider.nightly"]
[ADB] Checking whether aapt is present
[ADB] Using aapt from /Users/vikram-anna/Library/Android/sdk/build-tools/25.0.2/aapt
[debug] [ADB] Getting install status for io.appium.uiautomator2.server
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","shell","pm","list","packages","io.appium.uiautomator2.server"]
[debug] [ADB] App is installed
[debug] [ADB] Getting install status for io.appium.uiautomator2.server.test
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","shell","pm","list","packages","io.appium.uiautomator2.server.test"]
[debug] [ADB] App is installed
[ADB] Checking whether aapt is present
[ADB] Using aapt from /Users/vikram-anna/Library/Android/sdk/build-tools/25.0.2/aapt
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","shell","dumpsys","package","io.appium.uiautomator2.server"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","shell","am","force-stop","io.appium.uiautomator2.server"]
[UiAutomator2] Starting uiautomator2 server v0.1.3 with cmd: am,instrument,-w,io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner
[UiAutomator2] running command...
adb -s 0a2b30b20337dd16 shell am instrument -w io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner...
[UiAutomator2] Waiting for UiAutomator2 to be online...
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"SESSIONID\",\"status\":0,\"value\":\"Status Invoked\"}"
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8200/wd/hub/session] with body: {"desiredCapabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"newCommandTimeout":999999,"automationName":"uiautomator2","platformName":"Android","deviceName":"placeholder string","app":"/Users/vikram-anna/Documents/Noa/Workspace/Mobile-Automation/iOS-Automation/Rider-App-Automation/Rider.apk"},"newCommandTimeout":999999,"automationName":"uiautomator2","platformName":"Android","deviceName":"0a2b30b20337dd16","app":"/Users/vikram-anna/Documents/Noa/Workspace/Mobile-Automation/iOS-Automation/Rider-App-Automation/Rider.apk","deviceUDID":"0a2b30b20337dd16","platformVersion":"6.0.1","deviceScreenSize":"1080x1920","deviceModel":"Nexus 5","deviceManufacturer":"LGE","appPackage":"one.noatech.rider.nightly"}}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"7416723e-8910-4e3c-a2b5-012a5d8326e0","status":0,"value":"Created Session"}
[UiAutomator2] UiAutomator2 did not start the activity we were waiting for, 'one.noatech.rider.nightly/one.noatech.rider.ui.auth.OnboardingActivity'. Starting it ourselves
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","shell","am","start","-W","-n","one.noatech.rider.nightly/one.noatech.rider.ui.auth.OnboardingActivity","-S","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"]
[debug] [ADB] Waiting for pkg: 'one.noatech.rider.nightly' and activity: 'one.noatech.rider.ui.auth.OnboardingActivity' to be focused
[debug] [ADB] Possible activities, to be checked: one.noatech.rider.ui.auth.OnboardingActivity, one.noatech.rider.nightly.one.noatech.rider.ui.auth.OnboardingActivity
[debug] [ADB] Getting focused package and activity
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0a2b30b20337dd16","shell","dumpsys","window","windows"]
[debug] [ADB] Found package: 'one.noatech.rider.nightly' and fully qualified activity name : 'one.noatech.rider.ui.auth.OnboardingActivity'
[Appium] New AndroidUiautomator2Driver session created successfully, session b9b76f9d-1079-4461-9009-4109fc5e2753 added to master session list
[debug] [MJSONWP] Responding to client with driver.createSession() result: {"newCommandTimeout":999999,"automationName":"uiautomator2","platformName":"Android","deviceName":"placeholder string","app":"/Users/vikram-anna/Documents/Noa/Workspace/Mobile-Automation/iOS-Automation/Rider-App-Automation/Rider.apk"}
[HTTP] <-- POST /wd/hub/session 200 403008 ms - 306
[HTTP] --> GET /wd/hub/status {}
[debug] [MJSONWP] Calling AppiumDriver.getStatus() with args: []
[debug] [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.6.4-beta","revision":null}}
[HTTP] <-- GET /wd/hub/status 200 46 ms - 88
[HTTP] --> POST /wd/hub/session/b9b76f9d-1079-4461-9009-4109fc5e2753/timeouts/implicit_wait {"ms":0}
[debug] [MJSONWP] Calling AppiumDriver.implicitWait() with args: [0,"b9b76f9d-1079-4461-9009-4109fc5e2753"]
[debug] [BaseDriver] Set implicit wait to 0ms
[debug] [MJSONWP] Responding to client with driver.implicitWait() result: null
[HTTP] <-- POST /wd/hub/session/b9b76f9d-1079-4461-9009-4109fc5e2753/timeouts/implicit_wait 200 24 ms - 76
[HTTP] --> POST /wd/hub/session/b9b76f9d-1079-4461-9009-4109fc5e2753/element {"using":"id","value":"one.noatech.rider.nightly:id/ao_btn_login"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["id","one.noatech.rider.nightly:id/ao_btn_login","b9b76f9d-1079-4461-9009-4109fc5e2753"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/7416723e-8910-4e3c-a2b5-012a5d8326e0/element] with body: {"strategy":"id","selector":"one.noatech.rider.nightly:id/ao_btn_login","context":"","multiple":false}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"7416723e-8910-4e3c-a2b5-012a5d8326e0","status":0,"value":{"ELEMENT":"fe8cfb2f-9ecd-416d-9a6e-5313684582d8"}}
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"fe8cfb2f-9ecd-416d-9a6e-5313684582d8"}
[HTTP] <-- POST /wd/hub/session/b9b76f9d-1079-4461-9009-4109fc5e2753/element 200 86 ms - 122
[HTTP] --> POST /wd/hub/session/b9b76f9d-1079-4461-9009-4109fc5e2753/element/fe8cfb2f-9ecd-416d-9a6e-5313684582d8/click {"{}":""}
[debug] [MJSONWP] Calling AppiumDriver.click() with args: ["fe8cfb2f-9ecd-416d-9a6e-5313684582d8","b9b76f9d-1079-4461-9009-4109fc5e2753"]
[debug] [JSONWP Proxy] Proxying [POST /element/fe8cfb2f-9ecd-416d-9a6e-5313684582d8/click] to [POST http://localhost:8200/wd/hub/session/7416723e-8910-4e3c-a2b5-012a5d8326e0/element/fe8cfb2f-9ecd-416d-9a6e-5313684582d8/click] with body: {"element":"fe8cfb2f-9ecd-416d-9a6e-5313684582d8"}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"7416723e-8910-4e3c-a2b5-012a5d8326e0","status":0,"value":true}
[debug] [MJSONWP] Responding to client with driver.click() result: true
[HTTP] <-- POST /wd/hub/session/b9b76f9d-1079-4461-9009-4109fc5e2753/element/fe8cfb2f-9ecd-416d-9a6e-5313684582d8/click 200 37 ms - 76
[HTTP] --> POST /wd/hub/session/b9b76f9d-1079-4461-9009-4109fc5e2753/element {"using":"id","value":"one.noatech.rider.nightly:id/fl_btn_forgot_password"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["id","one.noatech.rider.nightly:id/fl_btn_forgot_password","b9b76f9d-1079-4461-9009-4109fc5e2753"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/7416723e-8910-4e3c-a2b5-012a5d8326e0/element] with body: {"strategy":"id","selector":"one.noatech.rider.nightly:id/fl_btn_forgot_password","context":"","multiple":false}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"7416723e-8910-4e3c-a2b5-012a5d8326e0","status":0,"value":{"ELEMENT":"d22ee1af-51f4-44d0-8489-657f13f4f7f6"}}
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"d22ee1af-51f4-44d0-8489-657f13f4f7f6"}
[HTTP] <-- POST /wd/hub/session/b9b76f9d-1079-4461-9009-4109fc5e2753/element 200 92 ms - 122
[HTTP] --> POST /wd/hub/session/b9b76f9d-1079-4461-9009-4109fc5e2753/element/d22ee1af-51f4-44d0-8489-657f13f4f7f6/click {"{}":""}
[debug] [MJSONWP] Calling AppiumDriver.click() with args: ["d22ee1af-51f4-44d0-8489-657f13f4f7f6","b9b76f9d-1079-4461-9009-4109fc5e2753"]
[debug] [JSONWP Proxy] Proxying [POST /element/d22ee1af-51f4-44d0-8489-657f13f4f7f6/click] to [POST http://localhost:8200/wd/hub/session/7416723e-8910-4e3c-a2b5-012a5d8326e0/element/d22ee1af-51f4-44d0-8489-657f13f4f7f6/click] with body: {"element":"d22ee1af-51f4-44d0-8489-657f13f4f7f6"}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"7416723e-8910-4e3c-a2b5-012a5d8326e0","status":0,"value":true}
[debug] [MJSONWP] Responding to client with driver.click() result: true
[HTTP] <-- POST /wd/hub/session/b9b76f9d-1079-4461-9009-4109fc5e2753/element/d22ee1af-51f4-44d0-8489-657f13f4f7f6/click 200 38 ms - 76
[HTTP] --> GET /wd/hub/session/b9b76f9d-1079-4461-9009-4109fc5e2753/source {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/b9b76f9d-1079-4461-9009-4109fc5e2753/source] to [GET http://localhost:8200/wd/hub/session/7416723e-8910-4e3c-a2b5-012a5d8326e0/source] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"7416723e-8910-4e3c-a2b5-012a5d8326e0\",\"status\":0,\"value\":\"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?><hierarchy rotation=\\\"0\\\"><android.widget.FrameLayout index=\\\"0\\\" text=\\\"\\\" class=\\\"android.widget.FrameLayout\\\" package=\\\"one.noatech.rider.nightly\\\" content-desc=\\\"\\\" checkable=\\\"false\\\" checked=\\\"false\\\" clickable=\\\"false\\\" enabled=\\\"true\\\" focusable=\\\"false\\\" focused=\\\"false\\\" scrollable=\\\"false\\\" long-clickable=\\\"false\\\" password=\\\"false\\\" selected=\\\"false\\\" bounds=\\\"[0,0][1080,1776]\\\" resource-id=\\\"\\\" instance=\\\"0\\\"><android.widget.LinearLayout index=\\\"0\\\" text=\\\"\\\" class=\\\"android.widget.LinearLayout\\\" package=\\\"one.noatech.rider.nightly\\\" content-desc=\\\"\\\" checkable=\\\"false\\\" checked=\\\"false\\\" clickable=\\\"false\\\" enabled=\\\"true\\\" focusable=\\\"false\\\" focused=\\\"false\\\" scrollable=\\\"false\\\" long-clickable=\\\"false\\\" password=\\\"false\\\" selected...
[JSONWP Proxy] Replacing sessionId 7416723e-8910-4e3c-a2b5-012a5d8326e0 with b9b76f9d-1079-4461-9009-4109fc5e2753
[HTTP] <-- GET /wd/hub/session/b9b76f9d-1079-4461-9009-4109fc5e2753/source 200 104 ms - 9074
[HTTP] --> POST /wd/hub/session/b9b76f9d-1079-4461-9009-4109fc5e2753/appium/app/strings {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/b9b76f9d-1079-4461-9009-4109fc5e2753/appium/app/strings] to [POST http://localhost:8200/wd/hub/session/7416723e-8910-4e3c-a2b5-012a5d8326e0/appium/app/strings] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"7416723e-8910-4e3c-a2b5-012a5d8326e0","status":0,"value":{"abc_action_bar_home_description":"Navigate home","abc_action_bar_home_description_format":"%1$s, %2$s","abc_action_bar_home_subtitle_description_format":"%1$s, %2$s, %3$s","abc_action_bar_up_description":"Navigate up","abc_action_menu_overflow_description":"More options","abc_action_mode_done":"Done","abc_activity_chooser_view_see_all":"See all","abc_activitychooserview_choose_application":"Choose an app","abc_capital_off":"OFF","abc_capital_on":"ON","abc_search_hint":"Search…","abc_searchview_description_clear":"Clear query","abc_searchview_description_query":"Search query","abc_searchview_description_search":"Search","abc_searchview_description_submit":"Submit query","abc_searchview_description_voice":"Voice search","abc_shareactionprovider_share_with":"Share with","abc_shareactionprovider_share_with_application":"Share with %s","abc_toolbar_collapse_description":"Collapse","common_google_play_services_enable_button":"Enable","commo...
[JSONWP Proxy] Replacing sessionId 7416723e-8910-4e3c-a2b5-012a5d8326e0 with b9b76f9d-1079-4461-9009-4109fc5e2753
[HTTP] <-- POST /wd/hub/session/b9b76f9d-1079-4461-9009-4109fc5e2753/appium/app/strings 200 54 ms - 24177
[HTTP] --> POST /wd/hub/session/b9b76f9d-1079-4461-9009-4109fc5e2753/element {"using":"id","value":"one.noatech.rider.nightly:id/ffp_et_email"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["id","one.noatech.rider.nightly:id/ffp_et_email","b9b76f9d-1079-4461-9009-4109fc5e2753"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/7416723e-8910-4e3c-a2b5-012a5d8326e0/element] with body: {"strategy":"id","selector":"one.noatech.rider.nightly:id/ffp_et_email","context":"","multiple":false}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"7416723e-8910-4e3c-a2b5-012a5d8326e0","status":0,"value":{"ELEMENT":"fb146a4f-e547-45b3-aa9c-7dea8a3e7f95"}}
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"fb146a4f-e547-45b3-aa9c-7dea8a3e7f95"}
[HTTP] <-- POST /wd/hub/session/b9b76f9d-1079-4461-9009-4109fc5e2753/element 200 75 ms - 122
[HTTP] --> POST /wd/hub/session/b9b76f9d-1079-4461-9009-4109fc5e2753/element {"using":"id","value":"one.noatech.rider.nightly:id/ffp_et_email"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["id","one.noatech.rider.nightly:id/ffp_et_email","b9b76f9d-1079-4461-9009-4109fc5e2753"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/7416723e-8910-4e3c-a2b5-012a5d8326e0/element] with body: {"strategy":"id","selector":"one.noatech.rider.nightly:id/ffp_et_email","context":"","multiple":false}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"7416723e-8910-4e3c-a2b5-012a5d8326e0","status":0,"value":{"ELEMENT":"9970c922-edf9-44b0-ab82-ebb6d95df6ee"}}
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"9970c922-edf9-44b0-ab82-ebb6d95df6ee"}
[HTTP] <-- POST /wd/hub/session/b9b76f9d-1079-4461-9009-4109fc5e2753/element 200 78 ms - 122
[HTTP] --> POST /wd/hub/session/b9b76f9d-1079-4461-9009-4109fc5e2753/element/9970c922-edf9-44b0-ab82-ebb6d95df6ee/value {"value":["vikram@noa.one"]}
[debug] [MJSONWP] Calling AppiumDriver.setValue() with args: [["vikram@noa.one"],"9970c922-edf9-44b0-ab82-ebb6d95df6ee","b9b76f9d-1079-4461-9009-4109fc5e2753"]
[debug] [JSONWP Proxy] Proxying [POST /element/9970c922-edf9-44b0-ab82-ebb6d95df6ee/value] to [POST http://localhost:8200/wd/hub/session/7416723e-8910-4e3c-a2b5-012a5d8326e0/element/9970c922-edf9-44b0-ab82-ebb6d95df6ee/value] with body: {"elementId":"9970c922-edf9-44b0-ab82-ebb6d95df6ee","text":"vikram@noa.one","replace":false}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"7416723e-8910-4e3c-a2b5-012a5d8326e0","status":0,"value":""}
[debug] [MJSONWP] Responding to client with driver.setValue() result: ""
[HTTP] <-- POST /wd/hub/session/b9b76f9d-1079-4461-9009-4109fc5e2753/element/9970c922-edf9-44b0-ab82-ebb6d95df6ee/value 200 634 ms - 74
[HTTP] --> POST /wd/hub/session/b9b76f9d-1079-4461-9009-4109fc5e2753/element {"using":"id","value":"one.noatech.rider.nightly:id/ffp_btn_submit"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["id","one.noatech.rider.nightly:id/ffp_btn_submit","b9b76f9d-1079-4461-9009-4109fc5e2753"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/7416723e-8910-4e3c-a2b5-012a5d8326e0/element] with body: {"strategy":"id","selector":"one.noatech.rider.nightly:id/ffp_btn_submit","context":"","multiple":false}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"7416723e-8910-4e3c-a2b5-012a5d8326e0","status":0,"value":{"ELEMENT":"0faceaa0-8a59-4165-80f8-f3967772ab72"}}
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"0faceaa0-8a59-4165-80f8-f3967772ab72"}
[HTTP] <-- POST /wd/hub/session/b9b76f9d-1079-4461-9009-4109fc5e2753/element 200 99 ms - 122
[HTTP] --> POST /wd/hub/session/b9b76f9d-1079-4461-9009-4109fc5e2753/element/0faceaa0-8a59-4165-80f8-f3967772ab72/click {"{}":""}
[debug] [MJSONWP] Calling AppiumDriver.click() with args: ["0faceaa0-8a59-4165-80f8-f3967772ab72","b9b76f9d-1079-4461-9009-4109fc5e2753"]
[debug] [JSONWP Proxy] Proxying [POST /element/0faceaa0-8a59-4165-80f8-f3967772ab72/click] to [POST http://localhost:8200/wd/hub/session/7416723e-8910-4e3c-a2b5-012a5d8326e0/element/0faceaa0-8a59-4165-80f8-f3967772ab72/click] with body: {"element":"0faceaa0-8a59-4165-80f8-f3967772ab72"}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"7416723e-8910-4e3c-a2b5-012a5d8326e0","status":0,"value":true}
[debug] [MJSONWP] Responding to client with driver.click() result: true
[HTTP] <-- POST /wd/hub/session/b9b76f9d-1079-4461-9009-4109fc5e2753/element/0faceaa0-8a59-4165-80f8-f3967772ab72/click 200 23 ms - 76
[HTTP] --> GET /wd/hub/session/b9b76f9d-1079-4461-9009-4109fc5e2753/source {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/b9b76f9d-1079-4461-9009-4109fc5e2753/source] to [GET http://localhost:8200/wd/hub/session/7416723e-8910-4e3c-a2b5-012a5d8326e0/source] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"7416723e-8910-4e3c-a2b5-012a5d8326e0\",\"status\":0,\"value\":\"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?><hierarchy rotation=\\\"0\\\"><android.widget.FrameLayout index=\\\"0\\\" text=\\\"\\\" class=\\\"android.widget.FrameLayout\\\" package=\\\"one.noatech.rider.nightly\\\" content-desc=\\\"\\\" checkable=\\\"false\\\" checked=\\\"false\\\" clickable=\\\"false\\\" enabled=\\\"true\\\" focusable=\\\"false\\\" focused=\\\"false\\\" scrollable=\\\"false\\\" long-clickable=\\\"false\\\" password=\\\"false\\\" selected=\\\"false\\\" bounds=\\\"[60,527][1020,1321]\\\" resource-id=\\\"\\\" instance=\\\"0\\\"><android.widget.LinearLayout index=\\\"0\\\" text=\\\"\\\" class=\\\"android.widget.LinearLayout\\\" package=\\\"one.noatech.rider.nightly\\\" content-desc=\\\"\\\" checkable=\\\"false\\\" checked=\\\"false\\\" clickable=\\\"false\\\" enabled=\\\"true\\\" focusable=\\\"false\\\" focused=\\\"false\\\" scrollable=\\\"false\\\" long-clickable=\\\"false\\\" password=\\\"false\\\" selec...
[JSONWP Proxy] Replacing sessionId 7416723e-8910-4e3c-a2b5-012a5d8326e0 with b9b76f9d-1079-4461-9009-4109fc5e2753
[HTTP] <-- GET /wd/hub/session/b9b76f9d-1079-4461-9009-4109fc5e2753/source 200 93 ms - 8799
[HTTP] --> POST /wd/hub/session/b9b76f9d-1079-4461-9009-4109fc5e2753/element {"using":"id","value":"android:id/button1"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["id","android:id/button1","b9b76f9d-1079-4461-9009-4109fc5e2753"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/7416723e-8910-4e3c-a2b5-012a5d8326e0/element] with body: {"strategy":"id","selector":"android:id/button1","context":"","multiple":false}
[MJSONWP] Encountered internal error running command: ProxyRequestError: Could not proxy command to remote server. Original error: Error: socket hang up
at JWProxy.proxy$ (../../../lib/jsonwp-proxy/proxy.js:144:13)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[HTTP] <-- POST /wd/hub/session/b9b76f9d-1079-4461-9009-4109fc5e2753/element 500 63210 ms - 250
[HTTP] --> POST /wd/hub/session/b9b76f9d-1079-4461-9009-4109fc5e2753/element {"using":"id","value":"android:id/button1"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["id","android:id/button1","b9b76f9d-1079-4461-9009-4109fc5e2753"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/7416723e-8910-4e3c-a2b5-012a5d8326e0/element] with body: {"strategy":"id","selector":"android:id/button1","context":"","multiple":false}
[MJSONWP] Encountered internal error running command: ProxyRequestError: Could not proxy command to remote server. Original error: Error: socket hang up
at JWProxy.proxy$ (../../../lib/jsonwp-proxy/proxy.js:144:13)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[HTTP] <-- POST /wd/hub/session/b9b76f9d-1079-4461-9009-4109fc5e2753/element 500 63210 ms - 250
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment