Monkey Testing & Gorilla Testing

Tram Ho

What is monkey testing?

Monkey testing is a type of testing involving random input. In this type of test, the tester (sometimes also the developer) is considered to be ‘Monkey’. Suppose there is a monkey using a computer, it will randomly perform any task on the system. My understanding is that, like the tester, he will apply random test cases on the testing system to find errors without predetermining any test cases. , monkey testing is exclusively for testing or GUI testing unit.

What is Gorilla Testing?

Gorilla Testing is a software testing technique in which a module of a program is tested multiple times to ensure that it works correctly and that there are no errors in that module. A module can be tested more than a hundred times, and in the same manner. Therefore, Gorilla Testing is also known as “Frustrating Testing” / “Frustrating Testing”.

Advantages of Monkey testing

  1. With new types of errors: Testers can fully contact with the implementation of the test according to their knowledge in addition to the situations mentioned earlier, this can detect new bugs / errors still exist. now in the system.
  2. Easy to carry out: Arranging random checks based on random data is an easy way to test the system
  3. Less skilled people: Monkey tests can be done without skilled testers (but not always)
  4. Less expensive: Requires significantly less spending money to set up and run test cases

Cons of Monkey testing

  1. No errors can be repeated: Because the tester who performs random tests with random data copies any errors or errors that may not be made.
  2. Less accuracy: Testers cannot determine the exact test scenario and cannot even guarantee the accuracy of test cases.
  3. Very good technical expertise: It is not always necessary to compromise with accuracy, so in order to make the test cases more accurate, testers must have good technical knowledge about the domain.
  4. Fewer errors and more time consuming: This test can be longer because there are no predefined tests and it is possible to find fewer bugs that can cause loopholes in the system.

Compare Monkey Testing Vs Gorilla Testing

Monkey TestingGorilla Testing
Test 1 at randomTestcase is not predefined but it is not accidental
This is done on the whole systemSelect some test cases and work on some modules
Often used to check the system has crashed or notUsually only used to check if the module works well or not

Monkey Testing Category

For Monkey Testing we have the following classification:

  • Dumb Monkey: Tester has no knowledge of the system and its function, nor is there a guarantee of testcase validity.
  • Smart Monkey: Tester is knowledgeable about the system, understands its purpose and functions, and the input of the testcase is valid.
  • Brilliant Monkey: Tester performs tests according to user behavior, some special bugs may occur.

Monkey Testing can also be done for Android. Monkey Testing can be effective with the use of test tools. It can even be used to find additional errors like other types of testing. If we used the tool for Monkey Testing, what would be the common process with it? We need a quick look;

  1. Like any other testing tool, the first step is to register your software with a dedicated server
  2. Make sure you are well prepared with all the references needed to build the test suite.
  3. Run the built-in test suite
  4. Remember that testing will continue until the system reaches the point of failure at which the action is logged into a log file.
  5. Finally, the test report is shared with the relevant person and test data can be stored and used for future reference. The Monkey Testing process can be automated even when using the tools but because This is a new type of testing that has just been introduced and has not been established at a common level, these tools have less identity, unlike other tools. This situation can be changed with the upcoming era of Testing Process, then we will consider the upcoming impact of Monkey Testing and its significant impact on industry standards. This is an introductory guide for Monkey Testing to cover the basics of it.

Reference source: https://www.guru99.com/monkey-testing.html http://istqbexamcertification.com/what-is-monkey-testing-advantages-and-disadvantages/

Share the news now

Source : Viblo