(for example, select a contact), the packages also need to be specified here. If no package is specified, monkey allows the system to start the activity in all the packages. To specify multiple packages, you need to use multiple-P options. Each-P option can only be used for one package.
-C If this parameter is used to specify one or more categories, monkey allows the system to start only the activities lis
This article is aimed at the data structure Basic Series Network course (5): Array and generalized table practice project."Project-Monkey King (array version)"A group of monkeys, numbering is three-way ... m, the monkeys (m) sit around in the order of 1-m. Starting from the 1th number, every number to Nth, the monkey will leave this circle, so in turn, the last one out of the circle of the
find the cause of the bug.II. Events1,-S Function: The seed value of the pseudo-random number generator. If you run monkey again with the same seed value, the same sequence of events will be generated.Example: adb shell monkey-s 12345-v 102 、--Throttle action : Inserting a fixed time (ms) delay between events, you can use this setting to slow down the monkey, an
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
, Adbchimpdevice decides whether to send commands through Chimpmanager monkey or via device to the ADB server.Figure 8-6-1 Key classes involved in starting the monkey processWe first analyze the relationship of each class in the class diagram and briefly describe how the Monkeyrunner starts monkey, and then analyze their associated implementation code.
Monkey
How to solve the php monkey election problem, Monkey King
This article describes how to solve the php monkey dawang problem. Share it with you for your reference. The specific analysis is as follows:
Problem description:
A group of monkeys are arranged in a circle and numbered by 1, 2,... and n. Then start counting from 1st, count to m, kick it out of the circ
will be generated. For best results, combine it with-V, one or several package constraints, and a non-0 value that keeps Monkey running for 30 seconds or longer, providing an environment to monitor conversions between packages called by the application.--hprofSet this option to generate the profiling report immediately before and after the Monkey event sequence. This will generate a large file (~5MB) in th
following paste Monkey Help command printed out the help document, You can see which command line parameter options are supported by Monkey:
Figure 5-4-1 Monkey Support Command options
The "–port" option is to specify the ports that the monkey service needs to listen on, so that the client can connect to
Environment IntroductionL Install mobile Baidu app in simulatorL The machine is randomly tested by the monkey command.L All commands are entered in cmd command mode.Execution processSyntax: ADB shell MONKEY-P Package name Random event number, asPS: Everyone's environment is different, results may be slightly differentHow to view the package name in the mobile app Test series video (http://edu.51cto.com/topi
Before using a circular link list, Java just learned, do not know how to use the linked list, with a small algorithm itCode:Import java.util.scanner;/** * *//** * @author John * @ Joseph Loop/monkeyking */public class Monkeyking {/** * @param args * /public static void Main (string[] args) {//TODO auto-generated method StubSystem.out.print ("Please enter m,n:"); Scanner Scanner = new Scanner (system.in); int m =scanner.nextint (); int n =scanner.nextint (); System.out.print ("+findking" (m,n) +
: intent. category_launcher or intent. category_monkey. To specify multiple categories, you need to use multiple-C options. Each-C option can only be used for one category.
Debugging-- Dbg-no-Events
When this option is set, monkey will start initially, enter a test activity, and no further event will be generated. In order to get the best result, it is combined with-V, one or more package constraints, and a
. script file: Monkey_findyou.bat
@ECHO OFF
ECHO.::::::::::::-----:::------------:--::--::
ECHO.:: Monkey Test::
ECHO.:: findyou::
ECHO.:: Version V1.0.1::
ECHO.:: Time: 2014.08.25::
ECHO.::::::::::::-----:::------------:--::--::
IF not EXIST%~dp0\config.conf GOTO EXIT
ECHO. [INFO] Prepare monkey test
ECHO. [INFO] Read information in config.conf
REM get the package name from the con
package) and has certain limitations. (2) The event stream data stream used for monkey testing is random, you cannot customize it. (3) You can set the monkeytest object, event quantity, type, and frequency. Although the monkey tool is not complete, it is enough to meet the basic test needs of the application. If you need more powerful testing tools, you can use
down the execution speed of the Monkey. If this option is not specified, the Monkey will not be delayed and the event will be produced as soon as possible. So I suggest to add a certain delay, because the average person's finger click speed, it is not possible to follow the machine's click speed, so I think, if it is because the click too fast caused by the bug, then can be ignored.60000This command repres
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.
xx.apk: Installs the specified install package apk file into the test device
2,ADB Shell Monkey: Sends a stress test to the specified device, number is the count to be tested. The effect of executing this command is to have a finger on your phone. I tried 10,000 times, and it took a while to get my phone back to the effect I thought.
3,ADB Shell Monkey-p Pkgname: As with the above effect, just test the
specified package name (pkgname) apk.
Application of 4,monkey Advanced parameters4.1.throttle parameter: Specify the interval between eventsADB Shell Monkey-throttle:milliseconds is a time value, in milliseconds4.2.seed parameter: The seed value of the pseudo-random number generator.ADB Shell monkey-s: If you run monkey
Android App Stress Test (iii) Monkey log automatic analysis scriptObjectivelast said to share monkey log Analysis script, this time paste out share, nonsense not to say, please look at the text. Directory1. Monkey Log Analysis Script2. Script principle3. Operation Example1. Monkey Log Analysis Script
1), script fil
This article is the learning note, video address of "Android app stress test" of Mu-class network
http://www.imooc.com/video/13007
Monkey is a tool for sending pseudo-random user events.Monkeyscript Implementation of the automated test script, is a set of monkey can be recognized by the collection of commands, you can complete the repeated fixed ope
, enabling stress testing of the application under development. Monkey testing is a fast and effective method to test the stability and robustness of the software.Characteristics of Monkey1, the test object is only the application package, there are certain limitations.2. The event stream data stream used by the Monky test is random and cannot be customized.3, can set the Monkeytest object, the number of ev
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.