Back to the glossary

Test levels and methods

Non-functional testing

Non-functional testing checks not what a system does, but how well it does it: for example performance, load, reliability, security, usability or energy consumption.

Also known as: performance testing, load testing, stress testing, security testing

Functional and non-functional

A functional test asks: does the search return the right results? A non-functional test asks: does it return them in under a second with a thousand concurrent users? Both are part of quality, but non-functional requirements are more often forgotten or stated only vaguely.

Common kinds

  • Performance and load tests: response times and throughput under expected and increased load
  • Stress tests: behaviour beyond the load limit and recovery afterwards
  • Endurance tests: memory leaks or drift over hours and days
  • Security tests: attack surface, vulnerabilities, permissions
  • Usability and accessibility
  • Embedded-specific: real-time behaviour, current draw, thermal behaviour, EMC

Make it measurable

“The system should be fast” can’t be tested. “95 % of requests are answered in under 200 ms” can. Non-functional requirements need concrete numbers, otherwise no test can confirm or refute them.