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 series of events at the system level. You can use the monkey for stress testing applications that you develop in a random but repeatable way. here . The easiest way to use the monkey is the following command, which launches your application and sends it 500 pseudo-random events.
adb shell monkey -v -p your.package.name 500
source share