What is Monkey Testing?

  • Monkey testing is a type of black box testing used to test the application by providing random inputs to check the system behavior such as to check the system, whether it is crashing or not.
  • This type of testing is performed automatically whenever the user provides the random inputs to check the system behavior
    There is no need to create test cases to perform monkey testing.
  • It can also be automated, i.e., we can write the programs or scripts to generate random inputs to check the system behavior.
    This technique is useful when we are performing stress or load testing.
    There are two types of monkeys:
  • Smart monkeys
  • Dumb monkeys
    Smart Monkeys
  • Smart monkeys are those which have a brief idea about the application.
  • They know that where the pages of an application will redirect to which page.
  • They also know that the inputs that they are providing are valid or invalid.
  • If they find any error, then they are smart enough to file a bug.
  • They also know that what are the menus and buttons.
    Dumb Monkeys
  • Dumb Monkeys are those which have no idea about the application.
  • They do not know about the pages of an application will redirect to.
  • They provide random inputs, and they do not know about the starting and ending point of the application.
  • They do not know much about the application, but still, they find bugs such as environmental failure or hardware failure.
  • They also do not know much about the functionality and UI of an application.