Monkey testing tool Android automated stress testing tool


浏览:870 次

Recently, I began to study Android automated testing methods, and made some simple arrangements for some of the tools, methods and frameworks, including Android testing framework, CTS, Monkey, Monkeyrunner, benchmark, and other testing tools.

It includes a monkey test program and a monkey runner tool, which can be used to automatically test applications. The former can randomly send the events to the application during the strength test, while the latter can use python script to automatically test and check the relevant results through screenshots to test the stability of the application.

1、   What is Monkey Monkey is a command line tool in Android that can be run in a simulator or an actual device. It sends a pseudo-random stream of user events (such as key input, touch screen input, gesture input, etc.) to the system, enabling stress testing of applications under development. Monkey testing is a fast and effective method to test the stability and robustness of software.

2、 Monkey characteristics 1. The test object is only the application package, which has certain limitations.

2. The event stream data stream used by the monkey test is random and cannot be customized.

3. The object, number, type and frequency of events tested by monkeys can be set.

3、 The basic usage and grammar of monkeys are as follows:

$adb shell monkey [options]

If you do not specify an option, Monkey will start in a feedback free mode and send any event to all packages installed in the target environment. The following is a more typical command line example, which starts the specified application and sends 500 pseudo random events to it:

$adb shell monkey-p your.package。 Name - v 500

Come to API Cloud to learn more:,,,, and so on for free. API cloud support. You can generate your own applications with a website by clicking.

 ;

, a free development package for novices upon registration

Submit the demand and obtain the quotation and cycle free of charge:

Computer, please click

Please click

相关资讯:
农产品电子商务向企业个人农产品电子贸易方向发展的效益

农产品电子商务向企业个人农产品电子贸易方向发展的效益

查看
Web 3.0技术的基本方向

Web 3.0技术的基本方向

查看
认知

认知

查看
面向对象的

面向对象的

查看
2018-12-25

2018-12-25

查看