- 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.
In
software testing , stress testing often refers to tests that put a greater emphasis on robustness,availability , anderror handling under 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, ordenial of service attacks.Examples:
* Aweb server may be stress tested using scripts, bots, and variousdenial of service tools 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 , andundervolting , it may be necessary to verify if the new parameters (usuallyCPU core voltage and frequency) are suitable for heavy CPU loads. This is done by running a CPU-intensive program (usuallyPrime95 ) 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 * A
Cardiac stress test is used most commonly to detect marked imbalances in blood flow to the heart muscle.* In
obstetrics , both a stress test and anonstress test are forms ofcardiotocography .* 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
FSA in 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 asBasel 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.ee also
*
Load and performance test tools
*Black box testing
*Load testing
*Performance testing
*Software testing
*White box testing
* Concurrency testing using theCHESS model checker
Wikimedia Foundation. 2010.