adb shell monkey -p cn.businesstravel.user –ignore-crashes –ignore-timeouts –ignore-native-crashes –pct-touch 30 -s 1 -v -v –throttle 200 100000 2>C:\Users\paddy\Desktop\error.txt 1>C:\Users\paddy\Desktop\info.txt
参数 描述
-p com.lenovo.ideafriend 只仅针对特定包名进行测试
–ignore-crashes 忽略应用程序崩溃(Force & Close错误),继续发送执行事件,直到事件数执行完成
–ignore-timeouts 忽略应用程序发生ANR(Application No Responding)错误时,直到事件数执行完成
–ignore-native-crashes 忽略本地应用程序发生奔溃,直到事件数执行完成
–pct-touch 30 调整触摸事件为30%。即整个事件过程中触摸事件占30%
-s 1 伪随机数生成器seed值。Seed值为1。相同的seed值再次执行monkey,将产生相同的事件序列
-v -v 日志级别为Leve1 1。将提供较为详细的日志,包括每个发送到Activity的事件信息
–throttle 200 事件之间延时200毫秒。可以控制monkey的执行速度,如果不指定该选项,monkey事件间将不会延时
100000 执行事件数为10万次
2>/sdcard/error.txt Leve1 2日志保存到sdcard上的error.txt中
1>/sdcard/info.txt Leve1 1日志保存到sdcard上的info.txt中


0:无响应问题可以在日志中搜索 “ANR” ,
1:崩溃问题搜索 “CRASH” ,
3:异常问题搜索 “Exception”(如果出现空指针, NullPointerException,需格外重视)

About the author: tangtao

1,994 comments to “monkey使用分享”

You can leave a reply or Trackback this post.

  1. porta johns rentals - 2019年9月15日 at 17:35 Reply

    Today, I went to the beach front with my kids.
    I found a sea shell and gave it to my 4 year old daughter and said “You can hear the ocean if you put this to your ear.” She placed the shell to her
    ear and screamed. There was a hermit crab inside and it
    pinched her ear. She never wants to go back! LoL I
    know this is completely off topic but I had to tell someone!

  2. Tattoo Shops - 2019年9月13日 at 18:44 Reply

    I went over this internet site and I think you have a lot of great information, saved to bookmarks (:.

  3. vsloopisy - 2019年9月13日 at 17:17 Reply

    online pharmacy drugstore [url=]24 hour pharmacy[/url] pharm canadian online pharmacy online pharmacy drugstore

  4. droid admin apk - 2019年9月13日 at 12:59 Reply

    This is one awesome article post.Much thanks again. Cool.

  5. iptv player latino download for pc - 2019年9月13日 at 09:40 Reply

    Some really choice blog posts on this site, saved to my bookmarks.

  6. genuine watch - 2019年9月13日 at 06:19 Reply

    You can certainly see your enthusiasm in the work you write. The world hopes for even more passionate writers like you who aren at afraid to say how they believe. Always follow your heart.

  7. SEO Case Study - 2019年9月13日 at 02:59 Reply

    Thanks for sharing this information with us.

  8. movierulz apk download for pc - 2019年9月12日 at 15:36 Reply

    to check it out. I am definitely loving the

  9. chatib app download for pc - 2019年9月12日 at 12:24 Reply

    This blog is obviously entertaining additionally factual. I have picked a bunch of interesting tips out of this amazing blog. I ad love to return again soon. Thanks a bunch!

  10. flenix for windows 7 - 2019年9月12日 at 09:12 Reply

    I was recommended this website by my cousin. I am not sure whether this post is written by him as nobody else know such detailed about my trouble. You are wonderful! Thanks!

  11. mobdro apk download for pc - 2019年9月12日 at 05:59 Reply

    Terrific work! That is the type of info that are supposed to be shared around the web. Shame on Google for now not positioning this submit upper! Come on over and discuss with my web site. Thanks =)

  12. yjgcPhync - 2019年9月12日 at 01:38 Reply

    sildenafil generic [url=]sildenafil 100mg[/url] sildenafil 100 sildenafil citrate online sildenafil citrate 100mg

  13. - 2019年9月11日 at 18:38 Reply

    I think other web-site proprietors should take this website as an model, very clean and magnificent user genial style and design, as well as the content. You are an expert in this topic!

  14. rhvcPhync - 2019年9月9日 at 19:24 Reply

    personal loans online [url=]unsecured personal loan[/url] quick personal loan personal installment loans poor credit small personal loans

  15. states where kratom is illegal - 2019年9月9日 at 00:49 Reply

    extract pills white vein kratom dosage

  16. £346 per year for insurance - 2019年9月8日 at 23:41 Reply

    I am actually thankful to the holder of this web page who has
    shared this great piece of writing at at this

  17. ujkmopisy - 2019年9月7日 at 13:09 Reply

    personal loan online [url=]quick personal loans[/url] small personal loans online personal loans online online personal loans

  18. ETIAS - 2019年9月7日 at 04:23 Reply

    fantastic issues altogether, you simply gained a logo new reader.
    What might you recommend about your submit that you just made
    a few days in the past? Any certain?

  19. rhvcPhync - 2019年9月5日 at 19:56 Reply

    easy personal loans [url=]apply personal loan[/url] personal loans online personal loan bad credit personal loan

  20. ujkmopisy - 2019年9月3日 at 17:06 Reply

    personal loan [url=]personal loan[/url] small personal loans personal loan quick personal loans

  21. Fesseln und Ficken - 2019年9月3日 at 03:48 Reply

    Greetings from California! I’m bored to death at work so
    I decided to browse your website on my iphone during lunch
    break. I enjoy the info you provide here and can’t wait to take a look
    when I get home. I’m amazed at how quick your blog loaded on my mobile ..
    I’m not even using WIFI, just 3G .. Anyways,
    great blog!

  22. rhvcPhync - 2019年9月2日 at 01:11 Reply

    apply personal loan [url=]bank of america personal loan[/url] quick personal loans online personal loan rates personal loan interest rates

  23. Melvin Hutter - 2019年9月1日 at 21:51 Reply

    I’ve been surfing on-line greater than 3 hours as of late, but I by no
    means found any interesting article like yours.
    It’s beautiful price sufficient for me. In my opinion, if all site owners and bloggers made good content material
    as you probably did, the net can be a lot
    more helpful than ever before.

  24. comprare visto Cina - 2019年9月1日 at 18:31 Reply

    I do believe all the ideas you have presented for your post.

    They’re very convincing and can definitely work.
    Still, the posts are very short for newbies.
    May just you please lengthen them a little from subsequent time?

    Thank you for the post.

  25. Visto Cina - 2019年9月1日 at 17:13 Reply

    Hey there are using WordPress for your site platform? I’m new to
    the blog world but I’m trying to get started
    and create my own. Do you require any coding expertise to make your own blog?
    Any help would be greatly appreciated!

  26. Fletcher Ross - 2019年9月1日 at 08:46 Reply

    Wow, this paragraph is fastidious, my younger sister is
    analyzing these things, thus I am going to tell her.

  27. Damaris - 2019年8月31日 at 22:28 Reply

    This is really attention-grabbing, You’re an excessively skilled blogger.
    I’ve joined your feed and stay up for searching for extra of your fantastic post.
    Additionally, I’ve shared your site in my social networks

  28. cheap £1495 sale price - 2019年8月31日 at 21:28 Reply

    Hello, I think your website might be having browser compatibility issues.
    When I look at your blog in Safari, it looks fine but
    when opening in Internet Explorer, it has some overlapping.
    I just wanted to give you a quick heads up! Other then that, fantastic blog!

  29. Mohammad - 2019年8月30日 at 03:32 Reply

    Thanks for the good writeup. It if truth be told used to be a entertainment account
    it. Glance complex to far introduced agreeable from you!
    However, how can we keep up a correspondence?

  30. - 2019年8月30日 at 02:47 Reply

    what does himalayan viagra do mecanismo de accion del sildenafil citrato.

  31. Ivan - 2019年8月28日 at 13:08 Reply

    Your mode of describing all in this post is truly nice, every one be capable of effortlessly
    be aware of it, Thanks a lot.

  32. generic viagra at walmart - 2019年8月28日 at 02:46 Reply

    sildenafil mk precio en colombia
    viagra online prescription
    medicine sildenafil citrate
    [url=]generic viagra sildenafil[/url]

  33. Kirby - 2019年8月27日 at 11:08 Reply

    Do you have any video of that? I’d love to find
    out more details.

  34. Travis Gatling - 2019年8月26日 at 20:17 Reply

    I have been browsing online more than 3 hours today, yet I never found any interesting article like yours.
    It’s pretty worth enough for me. In my view, if all web owners and bloggers made good content as you
    did, the net will be a lot more useful than ever before.

  35. Henry Jeffries - 2019年8月26日 at 14:30 Reply

    It is the best time to make a few plans for the future and it’s time to be happy.
    I have read this submit and if I may I want to suggest you some interesting issues or suggestions.
    Perhaps you could write subsequent articles referring
    to this article. I desire to read more issues approximately it!

  36. Jayne Kinnett - 2019年8月26日 at 07:55 Reply

    I have been browsing on-line more than three hours lately, but I by no means found any interesting article like
    yours. It’s beautiful worth enough for me. In my opinion, if
    all website owners and bloggers made excellent content as you did, the internet will likely be a lot more
    helpful than ever before.

  37. Belinda Bingham - 2019年8月26日 at 02:43 Reply

    Every weekend i used to visit this web page, because i
    want enjoyment, for the reason that this this site conations actually nice funny stuff too.

  38. buy viagra - 2019年8月25日 at 15:51 Reply

    what is the best site to buy viagra online [url=]generic viagra[/url] como usar sildenafil citrato.

  39. buy generic viagra online - 2019年8月24日 at 14:08 Reply

    therefore history [url=][/url] super
    cheap pitch generic viagra sildenafil citrate frequently aspect

  40. Christi Cahall - 2019年8月22日 at 08:33 Reply

    I visited many sites however the audio quality for audio
    songs existing at this site is truly fabulous.

  41. Helen Aguilar - 2019年8月22日 at 06:00 Reply

    Hola! I’ve been reading your web site for a long time
    now and finally got the courage to go ahead and give you a shout
    out from Kingwood Tx! Just wanted to say keep up the good job!

  42. cialis online - 2019年8月22日 at 03:32 Reply

    heartburn cialis [url=]buy cialis online[/url] can i take cialis 20mg two days
    in a row.

  43. - 2019年8月21日 at 23:09 Reply

    erythromycin sildenafil can you take viagra before food.

  44. Bryant Hara - 2019年8月21日 at 21:24 Reply

    I just could not leave your website prior to suggesting that
    I actually loved the standard info an individual provide for your guests?
    Is going to be again continuously in order
    to check up on new posts

Comment pages
1 38 39 40

Leave a Reply

Your email address will not be published.