May 5, 2010

[SOLVED] Android: How to stress/test your app with random streams of user events

The Monkey is a program that runs on your emulator or device and generates pseudo-random streams of user events such as clicks, touches, or gestures, as well as a number of system-level events. You can use the Monkey to stress-test applications that you are developing, in a random yet repeatable manner.


$ adb shell monkey -p your.package.name -v 500



UI/Application Exerciser Monkey Android Developers.

2 comments:

  1. Where should i run this command..I tried in CMD...in windows..it is not working

    ReplyDelete
  2. yes, if you on windows you should run it in your command prompt aka cmd

    Your adb should be in the %PATH%

    ReplyDelete