• MTSC2020 Live 重磅登场! at 2020年08月13日

    有 ppt 或者视频回看吗?

  • 求一个能在 windows 上 ios 最简便的录屏方案。除了 airplay

    —— 来自 TesterHome 官方 安卓客户端

  • #25 楼 @neven7 又遇到个问题,python 的测试脚本,如何在本地调试呢

  • #25 楼 @neven7 感谢多日来的耐心答疑!

  • #20 楼 @neven7 第一种 easy 模式终于起来了,一个大坑就是 h2 的数据库,必须是 2014 年那个版本,新版 2016 的会报错

  • #21 楼 @neven7 在 nGrinder 里面的 TPS,和 jmeter 里面说的 QPS,是一个概念吗?? 在我看来,虚拟用户的数量 n,qps 最大值不是 n 请求/s,可能比 n 大,虚拟用户是在不停的请求,说不定 1 个虚拟用户,每秒不一定只请求一下咯

  • #17 楼 @neven7 jmeter 上,有个 constant throughput Timer,可以控制每分钟最多请求数来控制吞吐量,不知道 ngrinder 能实现吗

  • #17 楼 @neven7 嗯,我还在尝试………还未成功

  • #14 楼 @neven7 我上看了 1.Easy Clustering Guide; http://www.cubrid.org/wiki_ngrinder/entry/easy-clustering-guide 2.Advanced Clustering Guide; http://www.cubrid.org/wiki_ngrinder/entry/advanced-clustering-guide 企图搭建试试,然而没有成功。。。。启动会报错,不知道您是否有成功的经验

  • #8 楼 @neven7 nGrinder 的集群模式有试过吗??不知道能不能满足我北京、上海不同机房的问题 http://my.oschina.net/u/939534/blog/103943

  • #8 楼 @neven7 还有,A 用户部署的 agent,B 用户是否可以使用?

  • #8 楼 @neven7 那还涉及到另外一个问题,这个平台能同时多个人运行测试吗?如果只有 2 台 agent。4 个人同时运行脚本,可否?

  • 请教,比如我有 2 台 agent 在北京,2 台 agent 在上海,我一会儿进行压测,需要使用北京的机器,有办法指定吗?

  • nGrinder 这个来源项目,是不是没人维护了??最新版本还是 2014 的?

  • 支持!!!望继续出好文

  • #11 楼 @chenhengjie123 开了,不开都无法启动 app 的

  • 希望大家能帮帮我,谢谢

  • 贴一段出现这个问题是的 appium log

    info: --> GET /wd/hub/status {}

    info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.3.6","revision":"004f52f249d3513809e7d0734d9205d1fec19f8e"},"isShuttingDown":false},"sessionId":"7eae8267-552c-49cf-819b-a613cbdbb98e"}
    info: <-- GET /wd/hub/status 200 1.039 ms - 178 {"status":0,"value":{"build":{"version":"1.3.6","revision":"004f52f249d3513809e7d0734d9205d1fec19f8e"},"isShuttingDown":false},"sessionId":"7eae8267-552c-49cf-819b-a613cbdbb98e"}

    info: [IOS_SYSLOG_ROW ] Mar 26 11:50:53 A050002673-iPhone6 mediaserverd[1931] : 'FigPlayer - 116' (pid = 116) setting DiscoveryMode = DiscoveryMode_None, currentDiscoveryMode = DiscoveryMode_PresenceScan

    info: [IOS_SYSLOG_ROW ] Mar 26 11:50:53 A050002673-iPhone6 mediaserverd[1931] : 2015-03-26 11:50:53.897410 AM [AirPlay] BTLE client stopping to browse for AirPlay Solo Target Presence.
    info: [IOS_SYSLOG_ROW ] Mar 26 11:50:53 A050002673-iPhone6 mediaserverd[1931] : 2015-03-26 11:50:53.897830 AM [AirPlay] BTLE discovery stopped

    info: [IOS_SYSLOG_ROW ] Mar 26 11:50:53 A050002673-iPhone6 wirelessproxd[186] : (Error) trying to stop a scan while the central isn't available

    info: [debug] [INST] 2015-03-26 03:50:54 +0000 Debug: Got new command 42 from instruments: au.getElementsByName('取消')

    info: [debug] [INST] 2015-03-26 03:50:54 +0000 Debug: evaluating au.getElementsByName('取消')

    info: [debug] [INST] 2015-03-26 03:50:55 +0000 Debug: evaluation finished

    info: [debug] [INST] 2015-03-26 03:50:55 +0000 Debug: Lookup returned [object UIAButton] with the name "取消" (id: 18).

    info: [debug] [INST] 2015-03-26 03:50:55 +0000 Debug: responding with:

    info: [debug] [INST] 2015-03-26 03:50:55 +0000 Debug: Running system command #43: /Applications/Appium.app/Contents/Resources/node/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{"status":0,"value":[{"ELEMENT":"18"}]}...

    info: [debug] Socket data received (41 bytes)

    info: [debug] Socket data being routed.
    info: [debug] Got result from instruments: {"status":0,"value":[{"ELEMENT":"18"}]}
    info: [debug] Responding to client with success: {"status":0,"value":[{"ELEMENT":"18"}],"sessionId":"7eae8267-552c-49cf-819b-a613cbdbb98e"}
    info: <-- POST /wd/hub/session/7eae8267-552c-49cf-819b-a613cbdbb98e/elements 200 1625.583 ms - 90 {"status":0,"value":[{"ELEMENT":"18"}],"sessionId":"7eae8267-552c-49cf-819b-a613cbdbb98e"}

    info: --> POST /wd/hub/session/7eae8267-552c-49cf-819b-a613cbdbb98e/elements {"using":"name","sessionId":"7eae8267-552c-49cf-819b-a613cbdbb98e","value":"取消"}
    info: [debug] Waiting up to 0ms for condition
    info: [debug] Pushing command to appium work queue: "au.getElementsByName('取消')"
    info: [debug] Sending command to instruments: au.getElementsByName('取消')

    info: [IOS_SYSLOG_ROW ] Mar 26 11:50:55 A050002673-iPhone6 ReportCrash[2216] : MS:Notice: Injecting: (null) ReportCrash

    info: [IOS_SYSLOG_ROW ] Mar 26 11:50:55 A050002673-iPhone6 ReportCrash[2216] : task_set_exception_ports(B07, 400, F03, 0, 0) failed with error (4: (os/kern) invalid argument)
    info: [IOS_SYSLOG_ROW ] Mar 26 11:50:55 A050002673-iPhone6 ReportCrash[2216] : ReportCrash acting against PID 2205

    info: [IOS_SYSLOG_ROW ] Mar 26 11:50:55 A050002673-iPhone6 diagnosticd[705] : error evaluating process info - pid: 2205, punique: 2205

    info: [IOS_SYSLOG_ROW ] Mar 26 11:50:55 A050002673-iPhone6 ReportCrash[2216] : Formulating crash report for process ScriptAgent[2205]

    info: [IOS_SYSLOG_ROW ] Mar 26 11:50:55 A050002673-iPhone6 backboardd[74] : ALS: SetDisplayFactor: factor=1.0000

    info: [debug] [INST STDERR] 2015-03-26 11:50:53.978 instruments[37140:6307] Automation Instrument ran into an exception while trying to run the script. UIAScriptAgentSignaledException
    info: [IOS_SYSLOG_ROW ] Mar 26 11:50:55 A050002673-iPhone6 ReportCrash[2216] : Saved report to /var/mobile/Library/Logs/CrashReporter/ScriptAgent_2015-03-26-115055_A050002673-iPhone6.ips

    info: [debug] [INST] 2015-03-26 03:50:53 +0000 Fail: An error occurred while trying to run the script.

    info: [IOS_SYSLOG_ROW ] Mar 26 11:50:55 A050002673-iPhone6 locationd[111] : Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0

    info: [IOS_SYSLOG_ROW ] Mar 26 11:50:55 A050002673-iPhone6 SpringBoard[48] : Unable to get short BSD proc info for 2204: No such process
    info: [IOS_SYSLOG_ROW ] Mar 26 11:50:55 A050002673-iPhone6 mediaserverd[1931] : '' com.tudou.tudouiphone(pid = 2204) setting DiscoveryMode = DiscoveryMode_None, currentDiscoveryMode = DiscoveryMode_None
    info: [IOS_SYSLOG_ROW ] Mar 26 11:50:55 A050002673-iPhone6 mediaserverd[1931] : '' com.tudou.tudouiphone(pid = 2204) setting DiscoveryMode = DiscoveryMode_None, currentDiscoveryMode = DiscoveryMode_None

    info: [IOS_SYSLOG_ROW ] Mar 26 11:50:55 A050002673-iPhone6 SpringBoard[48] : [MPUSystemMediaControls] Updating supported commands for now playing application.
    info: [IOS_SYSLOG_ROW ] Mar 26 11:50:55 A050002673-iPhone6 SpringBoard[48] : [MPUSystemMediaControls] Updating supported commands for now playing application.

    info: [IOS_SYSLOG_ROW ] Mar 26 11:50:55 A050002673-iPhone6 com.apple.xpc.launchd1 : Service exited due to signal: Killed: 9
    info: [IOS_SYSLOG_ROW ] Mar 26 11:50:55 A050002673-iPhone6 mediaserverd[1931] : 'FigPlayer - 116' (pid = 116) setting DiscoveryMode = DiscoveryMode_None, currentDiscoveryMode = DiscoveryMode_None

    info: [debug] [INST] Instruments Trace Complete (Duration : 96.331673s; Output : /tmp/appium-instruments/instrumentscli0.trace)

    info: [debug] [INSTSERVER] Instruments exited with code 0
    info: [debug] Cleaning up after instruments exit
    info: [debug] Instruments exited unexpectedly
    info: [debug] Shutting down command proxy and ignoring any errors
    info: [debug] Closing socket server.
    info: [debug] Instruments socket server was closed
    info: [debug] Stopping iOS log capture
    info: [debug] Running ios sim reset flow
    info: [debug] Killing the simulator process
    info: [debug] Killall iOS Simulator
    info: [debug] Killing any other simulator daemons
    info: [IOS_SYSLOG_ROW ] Mar 26 11:50:55 A050002673-iPhone6 DTMobileIS[630] : Could not create service named com.apple.instruments.server.services.processcontrol.posixspawn

    info: [debug] On a real device; cannot clean device state

    info: [debug] We were in the middle of processing a command when instruments died; responding with a generic error
    info: [debug] Cleaning up appium session
    info: [debug] Condition unmet after 376ms. Timing out.
    info: [debug] Responding to client with error: {"status":13,"value":{"message":"Instruments died while responding to command, please check appium logs","name":"UnknownError","origValue":"Instruments died while responding to command, please check appium logs"},"sessionId":null}
    *info: <-- POST /wd/hub/session/7eae8267-552c-49cf-819b-a613cbdbb98e/elements 500 378.844 ms - 230 *

    info: --> GET /wd/hub/session/7eae8267-552c-49cf-819b-a613cbdbb98e/screenshot {}
    info: <-- GET /wd/hub/session/7eae8267-552c-49cf-819b-a613cbdbb98e/screenshot 404 1.685 ms - 40

    info: --> POST /wd/hub/session/7eae8267-552c-49cf-819b-a613cbdbb98e/elements {"using":"xpath","sessionId":"7eae8267-552c-49cf-819b-a613cbdbb98e","value":"//UIAApplication[1]/UIAWindow[2]/UIATableView[1]/UIATableCell[1]"}
    info: <-- POST /wd/hub/session/7eae8267-552c-49cf-819b-a613cbdbb98e/elements 404 1.053 ms - 40
    info: --> GET /wd/hub/session/7eae8267-552c-49cf-819b-a613cbdbb98e/screenshot {}
    info: <-- GET /wd/hub/session/7eae8267-552c-49cf-819b-a613cbdbb98e/screenshot 404 0.618 ms - 40

  • Appium for Mac at 2015年03月26日

    用 dmg 安装的话,这个 the node binary could not be found,无所谓

  • 你们说,这个问题是 appium 的问题??还是 app 自身的问题??

  • 我这个是时常出现的,没有特定的场景出现,出现的地方都是不定的,出现之后,再重新跑,就可能好了。。。。。所以很愁,不知道哪里不对。iphone5s 表示这个情况出现的比 iphone6 要少一些

  • #1 楼 @lihuazhang 为啥会挂呢????时常这样啊,受不鸟

  • 目前我也只试过 chorme,其他也不知道能不能。

  • 方法 1:正常的点出日历,点击上面的日期。(比较麻烦,而且如果不是测试这个日历控件的话,没必要)
    方法 2:如果不是 readonly 的话,直接倒输入框输入日期
    方法 3:直接执行 js 赋值