What is Monkey Testing?
Monkey testing is a technique where random inputs and actions are fed to an application, often automatically, to see whether it crashes or behaves unexpectedly, without regard to valid workflows.
Free to start · 7-day trial on paid plans
In depth.
The name comes from the idea of a monkey randomly hitting keys. The goal is robustness: can the system survive chaotic, unexpected input without crashing, leaking memory, or corrupting data? It is especially useful for stability and stress, and for finding the bizarre edge cases real users eventually trigger.
There are two flavors. Dumb monkey testing knows nothing about the application and fires completely random inputs, good at finding crashes, poor at reaching deep states. Smart monkey testing has some knowledge of the app (valid screens, likely actions) and makes random but plausible moves, reaching deeper and reporting more meaningful failures. Tools like Android's UI/Application Exerciser Monkey automate this by firing thousands of random events.
Monkey testing is related to but distinct from fuzz testing (which targets input parsing with malformed data, often for security) and from gorilla testing (hammering one module repeatedly). It complements structured testing rather than replacing it: it finds stability bugs but proves little about correctness.
Why interviewers ask about this.
Interviewers use monkey testing to probe whether you know unstructured robustness techniques and can distinguish them. Knowing dumb vs smart, and monkey vs fuzz, signals breadth beyond happy-path scripting.
Example scenario.
Before shipping a mobile app, the team runs Android's Monkey tool to fire 10,000 random taps, swipes, and inputs. It uncovers a crash triggered by rapidly rotating the device during a network call, an edge case no scripted test covered but real users hit.
Interview tip.
Distinguish dumb vs smart monkey testing, and separate monkey testing (random actions for stability) from fuzz testing (malformed input, often security). Mentioning a real tool like Android Monkey adds credibility.
Frequently asked questions.
What is the difference between dumb and smart monkey testing?
Dumb monkey testing fires completely random inputs with no knowledge of the app, good at finding crashes but shallow. Smart monkey testing knows valid screens and likely actions, so it reaches deeper states and reports more meaningful failures.
Is monkey testing the same as fuzz testing?
No. Monkey testing fires random user actions to test stability. Fuzz testing feeds malformed or random data to input parsers, often to find security and crash bugs. They overlap in randomness but differ in target and intent.
Related Terms
Explore related glossary terms to deepen your understanding.
Related Resources
Dive deeper with these related interview prep pages.
Free QA career tools, no account needed
Instant and private, everything runs in your browser. Try them before you sign up.
QA Resume Checker
Instant 0-100 score on automation keywords, impact, and ATS formatting.
QA Cover Letter Generator
A tailored 3-paragraph QA cover letter from your resume and a job post.
QA Application Tracker
Drag-and-drop kanban to track every QA application from Applied to Offer.
QA Take-Home Test Generator
A realistic take-home assignment with a scenario, tasks, and a rubric.
QA LinkedIn Headline Generator
A recruiter-searchable headline, About section, and skills list.
QA STAR Story Builder
Structure a QA behavioral answer with the STAR method and instant checks.
QA Bug Report Generator
Build a clean, reproducible bug report for Markdown, Jira, or plain text.
Boundary Value Analysis Generator
Generate boundary value and equivalence partitioning test cases from a range.
QA Metrics Calculator
Calculate DRE, defect leakage, defect density, and pass rate with interpretation.
QA Test Plan Generator
Build a structured test plan (scope, approach, criteria, risks) in Markdown.
Ready to Ace Your QA Interview?
Practice explaining monkey testing and other key concepts with our AI interviewer.
Join 1,200+ QA engineers already practicing with AssertHired.
Start your free QA interview