Open In App

Fuzz Testing – Software Testing

Fuzz Testing is a Software Testing technique that uses invalid, unexpected, or random data as input and then checks for exceptions such as crashes and potential memory leaks. It is an automated testing technique that is performed to describe the system testing processes involving randomized or distributed approaches. During fuzz testing, a system or software application can have a lot of different bugs or glitches related to data input. Barton Miller at the University of Wisconsin in 1989 first developed fuzz testing, also known as fuzzing, which is a type of software testing that involves providing invalid, unexpected, or random data as inputs to a system to identify potential security vulnerabilities or crashes. The goal of fuzz testing is to identify issues that can be exploited by an attacker, such as buffer overflows, SQL injection, or other types of input-validation issues.

Fuzz testing can be done in a variety of ways, including:

It is essential to note that fuzz testing may require specialized tools and test environments and that it’s often a costly and time-consuming process. Additionally, it may require a thorough understanding of the system’s architecture, protocols, and data format.



 The objective of Fuzz Testing: The objective of the Fuzz Testing is:

Phases of Fuzz Testing: 
 



Phases of Fuzz Testing

  1. Identify Target System: The system or the software application which is going to be tested is marked. That system is known as the target system. Target system is identified by testing team.
  2. Identify Inputs: Once the target system is set after that the random inputs are created for the purpose of the testing. These random test cases are used as inputs to test the system or software application.
  3. Generate Fuzzed Data: After getting the random inputs i.e. unexpected and invalid, these invalid and unexpected inputs are converted into the fuzzed data. Fuzzed data is basically random input in form of fuzzy logic.
  4. Execute the test using fuzzed data: Now using the fuzzed data testing process is performed. Basically in this section, the code of program or the software is executed by giving the random input i.e. fuzzed data.
  5. Monitor System Behaviour: After the execution of the system or the software application, operated for crashes or any other exceptions like potential memory leaks. System behaviour is tested under the random input.
  6. Log Defects: In the last phase defects are identified, and these defects are fixed in order to get the better quality system or software application.

Types of defects detected by Fuzz Testing:

1. Number Fuzzing
2. Character Fuzzing
3. Application Fuzzing
4. Protocol Fuzzing
5. File Format Fuzzing.

Advantages of Fuzz Testing:

Disadvantages of Fuzz Testing:

Article Tags :