美文网首页软件测试软件测试
monkey: 压力测试计时 (六)

monkey: 压力测试计时 (六)

作者: 云层_ | 来源:发表于2018-12-06 01:08 被阅读1次

    1、脚本如下

    start "C:\Windows\System32\cmd.exe" echo %date% %time:~0,8%

    adb uninstall com.xiaoyun.witcity

    adb install D:\apk\app-release.apk

    adb shell monkey -p com.xiaoyun.witcity --throttle 1000 --pct-touch 25 --pct-motion 20 --pct-pinchzoom 5 --pct-trackball 5 --pct-rotation 5 --pct-nav 10 --pct-majornav 10 --pct-syskeys 10 --pct-appswitch 10 --ignore-crashes --ignore-timeouts --ignore-security-exceptions --ignore-native-crashes --monitor-native-crashes -v -v -v 10 >D:\apk\monkeyLog3.txt

    start "C:\Windows\System32\cmd.exe" echo %date% %time:~0,8%

    2、monkey执行后的结果如下

    相关文章

      网友评论

        本文标题:monkey: 压力测试计时 (六)

        本文链接:https://www.haomeiwen.com/subject/lcdmcqtx.html