What is Monkey?Monkey is a program that can run in the emulator or in the actual device . It sends pseudo-random user event streams (such as key input, touch input, gesture input, etc.) to the system, enabling stress testing of the application under development.Monkey IntroductionMonkey is a command-line tool that can be run in the emulator or in the actual device. It sends a pseudo-random user event stream
iosmonkey Test Tools:CrashmonkeyCharacteristics:
support * * True machine test, simulator Test * *
Support collection * * System log (systemlog) * *, Crash log (crashlog) * *, ***instrument behavior Log * * *
Support test report, draw behavior trajectory
Supports test device information collection
Using the latest version of Uiautomonkey, join UI Holes and application not repsonding ("ANR") are processed, adding custom.js as the portal script.
Support original article, reprint please indicate the source: http://blog.csdn.net/friendan/article/details/8829530
--------------------------------------------------------------------------------------------------------------- -------------------
have such a problem;
Monkey Eating Peach problem: The first day the monkey picked a number of peaches, immediately ate half, still not enjoyable, and eat a more,T
In recent years, countless entrepreneurs have flocked to the field of app Development. however, The brutal reality is that a large number of apps have not been developed to live in the womb, some births that died, more although still in the
Dispatchkey (Downtime,eventtime,action,code,repeat,metastatue,device,scancode)
Send a key message
Launchinstrumentation (Test_name,runner_name)
Run a instrumentation test case
Dispatchtrackball
Simulate sending Trackball events
Profilewait
Wait 5 seconds
Startcaptureframerate ()
Get frame rate
Endcaptureappframerate (Input)
End Get frame rate
Startcaptureappframerate (
Monkey是一款通过命令行来对我们APP进行测试的工具,可以运行在模拟器里或真机上。它向系统发送伪随机的用户事件流,实现对正应用程序进行压力测试。Monkey parameter Daquan-p Use this parameter to specify one or more packages. After the package is specified, monkey will only allow the system to launch the specified app. If you do not specify a pack
CCTV Spring Festival New Year's Eve live on the same time, the audience according to the host's prompt, open payment Treasure app participate in the Spring Festival Evening Interactive, get the corresponding red envelopes. The users who get the red envelopes can also share them with their friends and family, let them share the good fortune, and have more chances to accomplish the task together and get bigger red envelopes.
According to the disclosure
[option] Number of references[Option]-PUse this parameter to specify a package or multiple packages (package, app) for constraint restrictions. Once specified, monkey only agrees that the system launches the specified app, assuming it is not specified, monkey will consent to the system launching all apps[Option]-vUsed
to specify one or more packages (that is, Apps ). Once specified, Monkey only allows the system to start the specified APP. If not specified, Monkey allows the system to start all apps.
[Option]-vThis parameter is used to specify the level of feedback information (the information level is the log details). It consists of three levels. The parameters are as foll
constraint restrictions, use this parameter to specify a package or multiple packages (the package, which is app). Once specified, monkey only allows the system to launch the specified app, and if not specified, monkey will allow the system to start all apps[Option]-vUsed to specify the level of feedback information (
constraint restrictions, use this parameter to specify a package or multiple packages (the package, which is app). Once specified, monkey only allows the system to launch the specified app, and if not specified, monkey will allow the system to start all apps[Option]-vUsed to specify the level of feedback information (
implementations:
monkeysourcenetwork: The event is from the network Monkeyrunner client, dealing with the interface control operations related events, such as press, etc.
monkeysourcenetworkvars: The event is also from the network, such as Monkeyrunner, processing is to get the system properties of this GetProperties event
monkeysourcenetworkviews: Events are also from the network such as Monkeyrunner, dealing with control-related events
monkeysourcerandom: Event is a set o
No Nonsense direct loading!Monkey is the program that comes with the Android system, location:/sdk/tools/lib/monkey.jar,monkey.jar is executed by a monkey shell script, the script path is/sdk/tools/bin/monkey;Monkey can therefore be executed directly in the shell environment. (Note configuration environment)Official sh
First, Monkey 1) What is Monkey? Monkey is a tool that comes with the SDK. is a command-line tool in Android that can be run in the emulator or in the actual device. It sends pseudo-random user event streams (such as key input, touch input, gesture input, etc.) to the system, enabling stress testing of the application under development.
The android debugging bridge (ADB) shell in the android SDK contains a tool for testing --Monkey.I do not know the origins of the earliest monkey name, but he is indeed like a naughty monkey, In the Android app, all kinds of chaos, chaos, and touch.
How to Use: Enter the command line, go to the platform-tools directory of the android SDK, and enter the commandUse
subscription, it's easier to create a virtual machine for Ubuntu on Docker directly.If not, please refer to the official website documentation ...Installing Docker on WindowsInstalling Docker on Mac OSTipsDocker is not only Linux, but also Windows (currently in preview), that is, if you want to install the two images below.It's just that Windows is really used, and it's generally used with the full. NET Framework instead mono .To imprison a monkey to
command interface, enter the ADB shell > then enter the PM list packages to view the package name Demo Display: 9. Check the package name of the mobile app Input command adb shell PM list Packages 10. Check the package name for the APK path and name ADB shell PM List packages-f 11. adb Shell Dumpsys List all apk details 12. Get the files in the emulator: ADB pull 13. Write the file to the emulator: ADB push 14. Enter the shell mode of the
Golden Sun Video:Http://v.youku.com/v_show/id_XODcyMjM1MDA4.html?from=y1.2-1-87.4.4-1.1-1-2-31. Installing JDK,SDK,TT2. Stress test (performance test) of the app, both simulator and real machine can send pseudo-random event stream (not repeat for a period of time) (random event stream: coin toss)3.monkey is the Android system comes with, location/system/bin/monkey
Monkey stress testADB-D shell monkey-p your. Package. Name-V 6000
1. What is monkey?
Monkey is a command line tool in Android and can be run in a simulator or on a real device. It sends a pseudo-random user event stream (such as key input, touch screen input, and gesture input) to the system to perform stress testing o
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.