monkey 测试命令,保存到SD,遇到崩溃继续

开始测试:

1
monkey -p com.itings.myradio -c android.intent.category.LAUNCHER -s 500 --hprof --ignore-crashes --ignore-timeouts --ignore-security-exceptions --monitor-native-crashes --throttle 50 -v -v 600000>/mnt/sdcard/monkey1.txt &

保存monkey 和 logcat 的日志

1
monkey -p com.itings.myradio -c android.intent.category.LAUNCHER -s 500 --hprof --ignore-crashes --ignore-timeouts --ignore-security-exceptions --monitor-native-crashes --throttle 50 -v -v -v 15000000>>/mnt/sdcard/monkey_kaola.txt & logcat  -v time >>/mnt/sdcard/logcat.txt

终止:

1
2
3
adb shell
ps|grep monkey
kill id
adb logcat -s com.xx.xx
gdky005 wechat
加微信好友,一起交流