android ab 测试服务器,[Help] macaca android 环境运行测试失败

index.js:18:12 [master] pid:84872 webdriver server start with config:

{ port: 3456,

verbose: true,

always: true,

ip: '192.168.3.43',

host: 'bogon',

loaded_time: '2017-11-09 17:58:59' }

middlewares.js:17:10 [master] pid:84872 base middlewares attached

router.js:133:10 [master] pid:84872 router set

webdriver sdk launched

responseHandler.js:11:12 [master] pid:84872 Recieve HTTP Request from Client[2017-11-09 17:59:01]: method: POST url: /wd/hub/session, jsonBody: {"desiredCapabilities":{"app":"https://npmcdn.com/android-app-bootstrap@latest/android_app_bootstrap/build/outputs/apk/android_app_bootstrap-debug.apk,platformName:android}"}

session.js:47:10 [master] pid:84872 Creating session, sessionId: d9a2153b-f9f1-41c2-ab5b-a6fd45d28417.

get /Users/jinlong/.macaca-temp/android_app_bootstrap-debug.apk from cache

sha:9656cdf14170f899681bebe9d58a1de4

helper.js:176:12 [master] pid:84872 Using local app form /Users/jinlong/.macaca-temp/android_app_bootstrap-debug.apk

uiautomator-client.js:61:14 [master] pid:84872 INSTRUMENTATION_STATUS: numtests=1

INSTRUMENTATION_STATUS: stream=

com.macaca.android.testing.UIAutomatorWD:

INSTRUMENTATION_STATUS: id=AndroidJUnitRunner

INSTRUMENTATION_STATUS: test=MacacaTestRunner

INSTRUMENTATION_STATUS: class=com.macaca.android.testing.UIAutomatorWD

INSTRUMENTATION_STATUS: current=1

INSTRUMENTATION_STATUS_CODE: 1

uiautomator-client.js:61:14 [master] pid:84872 INSTRUMENTATION_STATUS: stream=

UIAutomatorWD->http://localhost:9005

INSTRUMENTATION_STATUS_CODE: 0

UIAutomatorWD http server ready

macaca-android.js:294:10 [master] pid:84872 start app with: {"package":"com.github.android_app_bootstrap","activity":"com.github.android_app_bootstrap.activity.WelcomeActivity"}

responseHandler.js:49:14 [master] pid:84872 Send HTTP Respone to Client[2017-11-09 17:59:20]: {"sessionId":"d9a2153b-f9f1-41c2-ab5b-a6fd45d28417","status":0,"value":"{\"app\":\"/Users/jinlong/.macaca-temp/android_app_bootstrap-debug.apk\",\"platformName\":\"android\"}"}

responseHandler.js:11:12 [master] pid:84872 Recieve HTTP Request from Client[2017-11-09 17:59:20]: method: POST url: /wd/hub/session/d9a2153b-f9f1-41c2-ab5b-a6fd45d28417/elements, jsonBody: {"using":"class name","value":"android.widget.EditText"}

uiautomator-client.js:88:12 [master] pid:84872 get pids of com.macaca.android.testing failed, ignore this log

proxy.js:55:14 [master] pid:84872 Proxy: /wd/hub/session/d9a2153b-f9f1-41c2-ab5b-a6fd45d28417/elements:POST to http://127.0.0.1:9005/wd/hub/session/d9a2153b-f9f1-41c2-ab5b-a6fd45d28417/elements:POST with body: {"using":"class name","value":"android.widget.EditText"}

proxy.js:85:20 [master] pid:84872 Got response with status 200: {"status":0,"value":[{"ELEMENT":"1"},{"ELEMENT":"2"}],"sessionId":null}

session.js:109:14 [master] pid:84872 Send HTTP Respone to Client[2017-11-09 17:59:21]: {"status":0,"value":"[{\"ELEMENT\":\"1\"},{\"ELEMENT\":\"2\"}]","sessionId":null}

responseHandler.js:11:12 [master] pid:84872 Recieve HTTP Request from Client[2017-11-09 17:59:21]: method: POST url: /wd/hub/session/d9a2153b-f9f1-41c2-ab5b-a6fd45d28417/element/1/value, jsonBody: {"value":["中文 +Test+12345678"]}

uiautomator-client.js:88:12 [master] pid:84872 get pids of com.macaca.android.testing failed, ignore this log

proxy.js:55:14 [master] pid:84872 Proxy: /wd/hub/session/d9a2153b-f9f1-41c2-ab5b-a6fd45d28417/element/1/value:POST to http://127.0.0.1:9005/wd/hub/session/d9a2153b-f9f1-41c2-ab5b-a6fd45d28417/element/1/value:POST with body: {"value":["中文 +Test+12345678"]}

proxy.js:85:20 [master] pid:84872 Got response with status 200: {"status":0,"sessionId":"d9a2153b-f9f1-41c2-ab5b-a6fd45d28417"}

session.js:109:14 [master] pid:84872 Send HTTP Respone to Client[2017-11-09 17:59:21]: {"status":0,"sessionId":"d9a2153b-f9f1-41c2-ab5b-a6fd45d28417"}

responseHandler.js:11:12 [master] pid:84872 Recieve HTTP Request from Client[2017-11-09 17:59:21]: method: POST url: /wd/hub/session/d9a2153b-f9f1-41c2-ab5b-a6fd45d28417/elements, jsonBody: {"using":"class name","value":"android.widget.EditText"}

uiautomator-client.js:88:12 [master] pid:84872 get pids of com.macaca.android.testing failed, ignore this log

proxy.js:55:14 [master] pid:84872 Proxy: /wd/hub/session/d9a2153b-f9f1-41c2-ab5b-a6fd45d28417/elements:POST to http://127.0.0.1:9005/wd/hub/session/d9a2153b-f9f1-41c2-ab5b-a6fd45d28417/elements:POST with body: {"using":"class name","value":"android.widget.EditText"}

proxy.js:85:20 [master] pid:84872 Got response with status 200: {"status":0,"value":[{"ELEMENT":"1"},{"ELEMENT":"2"}],"sessionId":"d9a2153b-f9f1-41c2-ab5b-a6fd45d28417"}

session.js:109:14 [master] pid:84872 Send HTTP Respone to Client[2017-11-09 17:59:21]: {"status":0,"value":"[{\"ELEMENT\":\"1\"},{\"ELEMENT\":\"2\"}]","sessionId":"d9a2153b-f9f1-41c2-ab5b-a6fd45d28417"}

responseHandler.js:11:12 [master] pid:84872 Recieve HTTP Request from Client[2017-11-09 17:59:21]: method: POST url: /wd/hub/session/d9a2153b-f9f1-41c2-ab5b-a6fd45d28417/element/2/value, jsonBody: {"value":["111111"]}

uiautomator-client.js:88:12 [master] pid:84872 get pids of com.macaca.android.testing failed, ignore this log

proxy.js:55:14 [master] pid:84872 Proxy: /wd/hub/session/d9a2153b-f9f1-41c2-ab5b-a6fd45d28417/element/2/value:POST to http://127.0.0.1:9005/wd/hub/session/d9a2153b-f9f1-41c2-ab5b-a6fd45d28417/element/2/value:POST with body: {"value":["111111"]}

proxy.js:85:20 [master] pid:84872 Got response with status 200: {"status":0,"sessionId":"d9a2153b-f9f1-41c2-ab5b-a6fd45d28417"}

session.js:109:14 [master] pid:84872 Send HTTP Respone to Client[2017-11-09 17:59:21]: {"status":0,"sessionId":"d9a2153b-f9f1-41c2-ab5b-a6fd45d28417"}

responseHandler.js:11:12 [master] pid:84872 Recieve HTTP Request from Client[2017-11-09 17:59:21]: method: POST url: /wd/hub/session/d9a2153b-f9f1-41c2-ab5b-a6fd45d28417/element, jsonBody: {"using":"id","value":"com.github.android_app_bootstrap:id/mobileNoEditText"}

uiautomator-client.js:88:12 [master] pid:84872 get pids of com.macaca.android.testing failed, ignore this log

proxy.js:55:14 [master] pid:84872 Proxy: /wd/hub/session/d9a2153b-f9f1-41c2-ab5b-a6fd45d28417/element:POST to http://127.0.0.1:9005/wd/hub/session/d9a2153b-f9f1-41c2-ab5b-a6fd45d28417/element:POST with body: {"using":"id","value":"com.github.android_app_bootstrap:id/mobileNoEditText"}

proxy.js:85:20 [master] pid:84872 Got response with status 200: {"status":0,"value":{"ELEMENT":"1"},"sessionId":"d9a2153b-f9f1-41c2-ab5b-a6fd45d28417"}

session.js:109:14 [master] pid:84872 Send HTTP Respone to Client[2017-11-09 17:59:22]: {"status":0,"value":"{\"ELEMENT\":\"1\"}","sessionId":"d9a2153b-f9f1-41c2-ab5b-a6fd45d28417"}

responseHandler.js:11:12 [master] pid:84872 Recieve HTTP Request from Client[2017-11-09 17:59:22]: method: GET url: /wd/hub/session/d9a2153b-f9f1-41c2-ab5b-a6fd45d28417/element/1/displayed, jsonBody: {}

uiautomator-client.js:88:12 [master] pid:84872 get pids of com.macaca.android.testing failed, ignore this log

proxy.js:55:14 [master] pid:84872 Proxy: /wd/hub/session/d9a2153b-f9f1-41c2-ab5b-a6fd45d28417/element/1/displayed:GET to http://127.0.0.1:9005/wd/hub/session/d9a2153b-f9f1-41c2-ab5b-a6fd45d28417/element/1/displayed:GET with body: {}

proxy.js:85:20 [master] pid:84872 Got response with status 200: {"status":0,"value":true,"sessionId":"d9a2153b-f9f1-41c2-ab5b-a6fd45d28417"}

session.js:109:14 [master] pid:84872 Send HTTP Respone to Client[2017-11-09 17:59:22]: {"status":0,"value":"true","sessionId":"d9a2153b-f9f1-41c2-ab5b-a6fd45d28417"}

responseHandler.js:11:12 [master] pid:84872 Recieve HTTP Request from Client[2017-11-09 17:59:22]: method: POST url: /wd/hub/session/d9a2153b-f9f1-41c2-ab5b-a6fd45d28417/element/1/click, jsonBody: {}

uiautomator-client.js:88:12 [master] pid:84872 get pids of com.macaca.android.testing failed, ignore this log

proxy.js:55:14 [master] pid:84872 Proxy: /wd/hub/session/d9a2153b-f9f1-41c2-ab5b-a6fd45d28417/element/1/click:POST to http://127.0.0.1:9005/wd/hub/session/d9a2153b-f9f1-41c2-ab5b-a6fd45d28417/element/1/click:POST with body: {}

>> proxy.js:85:20 [master] pid:84872 Got response with status 200: {"status":13,"value":"An unknown server-side error occurred while processing the command.","sessionId":"d9a2153b-f9f1-41c2-ab5b-a6fd45d28417"}

session.js:109:14 [master] pid:84872 Send HTTP Respone to Client[2017-11-09 17:59:22]: {"status":13,"value":"\"An unknown server-side error occurred while processing the command.\"","sessionId":"d9a2153b-f9f1-41c2-ab5b-a6fd45d28417"}

responseHandler.js:11:12 [master] pid:84872 Recieve HTTP Request from Client[2017-11-09 17:59:22]: method: POST url: /wd/hub/session/d9a2153b-f9f1-41c2-ab5b-a6fd45d28417/element, jsonBody: {"using":"name","value":"HOME"}

uiautomator-client.js:88:12 [master] pid:84872 get pids of com.macaca.android.testing failed, ignore this log

proxy.js:55:14 [master] pid:84872 Proxy: /wd/hub/session/d9a2153b-f9f1-41c2-ab5b-a6fd45d28417/element:POST to http://127.0.0.1:9005/wd/hub/session/d9a2153b-f9f1-41c2-ab5b-a6fd45d28417/element:POST with body: {"using":"name","value":"HOME"}

proxy.js:85:20 [master] pid:84872 Got response with status 200: {"status":32,"value":"Argument was an invalid selector (e.g. XPath/CSS).","sessionId":"d9a2153b-f9f1-41c2-ab5b-a6fd45d28417"}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值