Well-designed quality assurance strategies and plans generally include both functional testing and non-functional testing. Therefore, understanding the difference between functional and nonfunctional testing is crucial for testing and QA teams. While both constitute an important part of the application evaluation process, they serve very distinct purposes. Let’s start by asking what is functional testing? Functional testing is a type of software testing that verifies product features work according to requirements, identifying all areas where performance doesn’t meet expected results.On the other hand, non-functional testing performs checks on wider quality concerns, verifying all non-functional aspects of the software application (such as usability, performance, compliance, etc.).This post outlines the differences between the two testing types while also providing examples, strategies, and advice. The main difference between functional and nonfunctional testingBefore we can understand the difference between functional and nonfunctional testing, we need to know the difference between functional and non-functional requirements:Functional requirements: describe the behavior/execution of the software systemNon-functional requirements: describe the performance or usability of the software systemWhile a functional requirement will specify that a feature must execute some action, a non-functional requirement might specify the speed with which the feature performs that action. Functional requirements are the WHAT; nonfunctional requirements are the HOW.So, the testing of functional requirements is the verification that the software is executing actions as it should, while nonfunctional testing helps verify that customer expectations are being met.Examples of functional testing versus nonfunctional testingTo help make the difference even more clear, here are side by side examples:What is functional testing?What is nonfunctional testingWhen inputs are valid, app login functionsAfter login, the dashboard loads within 3 secondsWhen email notifications are on, and user receives a new message, an email notification is sentThe email notification is sent within 5 minutesWhen a JPG file under 1MB is uploaded, the uploader accepts the fileWhen eight files or less (each under 1MB) are uploaded at the same time, the queues allWhen the settings menu item is clicked, the settings page loadsThe settings page has a matching appearance to the rest of the GUIFunctional testing strategiesThere are a variety of functional testing strategies, and the best way to ensure functional test coverage is a mix of manual and automated testing. The most common functional testing strategies are black-box testing methods—wherein the tester does not need to review the internal source code, but validates functionality by testing various input combinations. Here are some of the common functional testing techniques:Installation testing – for desktop or mobile application, testing proper installationBoundary value analysis – testing of the boundaries of numerical inputsEquivalence partitioning – grouping tests together to reduce overlap of similar functional testsError guessing – assessing where functional issues are most likely to be found and testing these more extensively than other areasUnit testing – testing performed at the smallest level of the software—not how the system is functioning as a whole, but whether each unit is executing properlyAPI testing – checks that internal and external APIs are functioning properly, including data transfer and authorizationRegression testing – tests that are performed to verify that new software changes did not have adverse effects on existing functionality (most common automation technique)All functional tests have a specific output that is expected of any input. If you enter valid data, then you expect the data to be accepted. All functional tests can be scripted with very clear pass/fail criterion.Related: When to use functional testing vs. regression testingNonfunctional testing strategiesNon-functional testing can sometimes require more creativity and technical expertise, because you are testing what the customer expects for an overall quality experience—not X input leads to Y output. These are the chief nonfunctional testing techniques:Load testing – tests performed on a simulated environment to test the behavior of the system during expected conditions (various number of users)Stress testing – testing performance when low on resources, such as server issues or lack of hard drive space on a deviceScalability testing – checking a system’s ability to scale with increased usage and to what extent performance is affectedVolume testing – testing performance with a high volume of data, not necessarily high number of users, but could be one user performing a high-volume task, such as a multiple-file uploadSecurity testing – tests performed to uncover how vulnerable the system is to attacks, and how well data is protectedDisaster recovery testing – checks on how quickly a system can recover following a crash or major issueCompliance testing – tests of the software system against any set of standards (whether due to industry regulations or a company’s set of standards)Usability testing – testing whether the GUI is consistent and if the application as a whole is intuitive and easy to useWhile some nonfunctional testing techniques can have pass/fail criterion (such as volume testing), others can be more objective and based on the opinion of the tester (such as usability testing). However, nonfunctional tests should be written to be measurable and quantifiable wherever possible.Functional requirements are measured in simple yes/no terms as either present or absent in the completed system. Nonfunctional requirements are typically measured on some scale or interval.John TerzakisListening to customer feedback is essential for updating nonfunctional requirements. While a business might identify certain scalability and security factors during requirements gathering, customer feedback can expand the set of checks to include better testing of how an app recovers after a crash or how an app performs with minimal storage space left on a device. Customer feedback can help with risk assessment for functional testing but is even more valuable to nonfunctional testing because the feedback can help set the bar—whereas with functional tests the bar is already set. Ultimately, knowing the difference between these two types of tests can help during test planning, so that you are clear on what is being covered and why. For testing that fits in with your process and team, check out Testlio’s wide range of QA testing capabilities including functional testing, regression testing, usability testing, and many more.