Skip to content

Instantly share code, notes, and snippets.

@MummanaSubramanya
Created October 29, 2018 15:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MummanaSubramanya/0ae2fee349d23bda9b9646b243a1291e to your computer and use it in GitHub Desktop.
Save MummanaSubramanya/0ae2fee349d23bda9b9646b243a1291e to your computer and use it in GitHub Desktop.
[HTTP] {"text":"Test123.","value":["T","e","s","t","1","2","3","."]}
[W3C] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Matched '/wd/hub/session/14b3e190-ea43-453f-b5f8-598dbe4a7695/element/0.6355064402770774-2/value' to command name 'setValue'
[JSONWP Proxy] Proxying [POST /wd/hub/session/14b3e190-ea43-453f-b5f8-598dbe4a7695/element/0.6355064402770774-2/value] to [POST http://127.0.0.1:8000/wd/hub/session/bc3d4c85c3b7c1518a244f0d0d751667/element/0.6355064402770774-2/value] with body: {"text":"Test123.","value":["T","e","s","t","1","2","3","."]}
[JSONWP Proxy] Got response with status 200: {"sessionId":"bc3d4c85c3b7c1518a244f0d0d751667","status":0,"value":null}
[JSONWP Proxy] Replacing sessionId bc3d4c85c3b7c1518a244f0d0d751667 with 14b3e190-ea43-453f-b5f8-598dbe4a7695
[HTTP] <-- POST /wd/hub/session/14b3e190-ea43-453f-b5f8-598dbe4a7695/element/0.6355064402770774-2/value 200 725 ms - 76
[HTTP]
[HTTP] --> POST /wd/hub/session/14b3e190-ea43-453f-b5f8-598dbe4a7695/appium/device/hide_keyboard
[HTTP] {}
[W3C] Calling AppiumDriver.hideKeyboard() with args: [null,null,null,null,"14b3e190-ea43-453f-b5f8-598dbe4a7695"]
[ADB] Running 'C:\AndroidSDK\platform-tools\adb.exe -P 5037 -s ce0718276bf16a2901 shell dumpsys input_method'
[ADB] Running 'C:\AndroidSDK\platform-tools\adb.exe -P 5037 -s ce0718276bf16a2901 shell input keyevent 4'
[BaseDriver] Shutting down because we waited 500 seconds for a command
[UiAutomator2] Deleting UiAutomator2 session
[UiAutomator2] Deleting UiAutomator2 server session
[JSONWP Proxy] Matched '/' to command name 'deleteSession'
[JSONWP Proxy] Proxying [DELETE /] to [DELETE http://localhost:8200/wd/hub/session/240cb3b4-6dbe-4fd8-91e7-69052a441667] with no body
[Appium] Closing session, cause was 'New Command Timeout of 500 seconds expired. Try customizing the timeout using the 'newCommandTimeout' desired capability'
[Appium] Removing session 6dffe2f3-dbd1-4545-b9f2-4082a2a1c5c1 from our master session list
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"240cb3b4-6dbe-4fd8-91e7-69052a441667\",\"status\":0,\"value\":\"Session deleted\"}"
[ADB] Running 'C:\AndroidSDK\platform-tools\adb.exe -P 5037 -s ce0718276bf16a2901 shell am force-stop com.xxx.xxx'
[Logcat] Stopping logcat capture
[Logcat] Logcat already stopped
[ADB] Removing forwarded port socket connection: 8200
[ADB] Running 'C:\AndroidSDK\platform-tools\adb.exe -P 5037 -s ce0718276bf16a2901 forward --remove tcp\:8200'
[UiAutomator2] [UIAutomator2] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:.
[UiAutomator2] [UIAutomator2] Time: 18.08
[UiAutomator2] [UIAutomator2] OK (1 test)
[W3C] Responding to client with driver.hideKeyboard() result: null
[HTTP] <-- POST /wd/hub/session/14b3e190-ea43-453f-b5f8-598dbe4a7695/appium/device/hide_keyboard 200 1343 ms - 14
[HTTP]
[HTTP] --> POST /wd/hub/session/14b3e190-ea43-453f-b5f8-598dbe4a7695/element
[HTTP] {"using":"xpath","value":"//button[normalize-space(.)='Login']"}
[W3C] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Matched '/wd/hub/session/14b3e190-ea43-453f-b5f8-598dbe4a7695/element' to command name 'findElement'
[JSONWP Proxy] Proxying [POST /wd/hub/session/14b3e190-ea43-453f-b5f8-598dbe4a7695/element] to [POST http://127.0.0.1:8000/wd/hub/session/bc3d4c85c3b7c1518a244f0d0d751667/element] with body: {"using":"xpath","value":"//button[normalize-space(.)='Login']"}
[JSONWP Proxy] Got response with status 200: {"sessionId":"bc3d4c85c3b7c1518a244f0d0d751667","status":100,"value":{"message":"chrome not reachable\n (Session info: chrome=70.0.3538.64)\n (Driver info: chromedriver=2.42.591088 (7b2b2dca23cca0862f674758c9a3933e685c27d5),platform=Windows NT 10.0.17134 x86_64)"}}
[W3C] Encountered internal error running command: ProxyRequestError: Could not proxy command to remote server. Original error: The request to /wd/hub/session/14b3e190-ea43-453f-b5f8-598dbe4a7695/element has failed
[W3C] at JWProxy.proxy$ (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:182:13)
[W3C] at tryCatch (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)
[W3C] at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22)
[W3C] at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
[W3C] at GeneratorFunctionPrototype.invoke (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)
[W3C] at run (C:\Program Files (x86)\Appium\resources\app\webpack:\~\babel-polyfill\~\core-js\modules\es6.promise.js:75:1)
[W3C] at C:\Program Files (x86)\Appium\resources\app\webpack:\~\babel-polyfill\~\core-js\modules\es6.promise.js:92:1
[W3C] at flush (C:\Program Files (x86)\Appium\resources\app\webpack:\~\babel-polyfill\~\core-js\modules\_microtask.js:18:1)
[W3C] at process._tickCallback (internal/process/next_tick.js:61:11)
[MJSONWP] Matched JSONWP error code 100 to UnknownError
[HTTP] <-- POST /wd/hub/session/14b3e190-ea43-453f-b5f8-598dbe4a7695/element 500 1359 ms - 2313
[HTTP]
[HTTP] --> GET /wd/hub/session/14b3e190-ea43-453f-b5f8-598dbe4a7695/screenshot
[HTTP] {}
[W3C] Calling AppiumDriver.getScreenshot() with args: ["14b3e190-ea43-453f-b5f8-598dbe4a7695"]
[JSONWP Proxy] Matched '/screenshot' to command name 'getScreenshot'
[JSONWP Proxy] Proxying [GET /screenshot] to [GET http://localhost:8203/wd/hub/session/6947d589-e207-4881-9d1c-6b92d8da264e/screenshot] with no body
[W3C] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: read ECONNRESET
[W3C] at JWProxy.command$ (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:238:13)
[W3C] at tryCatch (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)
[W3C] at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22)
[W3C] at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
[W3C] at GeneratorFunctionPrototype.invoke (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)
[W3C] at run (C:\Program Files (x86)\Appium\resources\app\webpack:\~\babel-polyfill\~\core-js\modules\es6.promise.js:75:1)
[W3C] at C:\Program Files (x86)\Appium\resources\app\webpack:\~\babel-polyfill\~\core-js\modules\es6.promise.js:92:1
[W3C] at flush (C:\Program Files (x86)\Appium\resources\app\webpack:\~\babel-polyfill\~\core-js\modules\_microtask.js:18:1)
[W3C] at process._tickCallback (internal/process/next_tick.js:61:11)
[HTTP] <-- GET /wd/hub/session/14b3e190-ea43-453f-b5f8-598dbe4a7695/screenshot 500 31 ms - 1757
[HTTP]
[HTTP] --> POST /wd/hub/session/14b3e190-ea43-453f-b5f8-598dbe4a7695/appium/app/close
[HTTP] {}
[W3C] Calling AppiumDriver.closeApp() with args: ["14b3e190-ea43-453f-b5f8-598dbe4a7695"]
[ADB] Running 'C:\AndroidSDK\platform-tools\adb.exe -P 5037 -s ce0718276bf16a2901 shell am force-stop com.xxx.xxx'
[AndroidDriver] Stopping chromedriver for context WEBVIEW_com.xxx.xxx
[Chromedriver] Changed state to 'stopping'
[JSONWP Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8000/wd/hub/session/bc3d4c85c3b7c1518a244f0d0d751667] with no body
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"bc3d4c85c3b7c1518a244f0d0d751667\",\"status\":0,\"value\":null}"
[Chromedriver] Changed state to 'stopped'
[W3C] Responding to client with driver.closeApp() result: null
[HTTP] <-- POST /wd/hub/session/14b3e190-ea43-453f-b5f8-598dbe4a7695/appium/app/close 200 444 ms - 14
[HTTP]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment