- Stress testing
Stress testing is a form of testing that is used to determine the stability of a given system or entity. It involves testing beyond normal operational capacity, often to a breaking point, in order to observe the results. Stress testing may have a more specific meaning in certain industries.
software testing, stress testing often refers to tests that put a greater emphasis on robustness, availability, and error handlingunder a heavy load, rather than on what would be considered correct behavior under normal circumstances. In particular, the goals of such tests may be to ensure the software doesn't crash in conditions of insufficient computational resources (such as memory or disk space), unusually high concurrency, or denial of serviceattacks.
web servermay be stress tested using scripts, bots, and various denial of servicetools to observe the performance of a web site during peak loads. Hardware
When modifying the operating parameters of a CPU, such as in
overclocking, underclocking, overvolting, and undervolting, it may be necessary to verify if the new parameters (usually CPU core voltageand frequency) are suitable for heavy CPU loads. This is done by running a CPU-intensive program (usually Prime95) for a long time, to see if the computer hangs or crashes. CPU stress testing is also referred to as torture testing. Software that is suitable for torture testing should typically run instructions that utilise the entire chip rather than only a few of its units. Medicine
Cardiac stress testis used most commonly to detect marked imbalances in blood flow to the heart muscle.
obstetrics, both a stress test and a nonstress testare forms of cardiotocography.
* Instead of doing financial projection on a "best estimate" basis, a company may do stress testing where they look at how robust a financial instrument is in certain crashes. They may test the instrument under, for example, the following stresses:
** What happens if the market crashes by more than x% this year?
** What happens if interest rates go up by at least y%?
** What if half the instruments in the portfolio terminate their contacts in the 5th year?
** What happens if oil prices rise by 200%?
This type of analysis has become increasingly widespread, and has been taken up by various governmental bodies (such as the
FSAin the UK) as a regulatory requirement on certain financial institutions to ensure adequate capital allocation levels to cover potential losses incurred during extreme, but plausible, events. This emphasis on adequate, risk adjusted determination of capital has been further enhanced by modifications to banking regulations such as Basel II. Stress testing models typically allow not only the testing of individual stressors, but also combinations of different events. There is also usually the ability to test the current exposure to a known historical scenario (such as the Russian debt default in 1998 or 9/11 terrorist attacks) to ensure the liquidity of the institution.
Load and performance test tools
Black box testing
White box testing
* Concurrency testing using the
CHESS model checker
Wikimedia Foundation. 2010.