google搜索 站内搜索                 软件测试门户 | 软件测试培训 | 文章资料精选 | 软件测试论坛 | 测试解决方案 | 软件测试博客 | 测试招聘求职 
打印

[资源] What's the difference between load and stress testing ?

What's the difference between load and stress testing ?


One of the most common, but unfortunate misuse of terminology
is treating "load testing" and "stress testing" as synonymous.   The
consequence of this ignorant semantic abuse is usually that the system
is neither properly "load tested" nor subjected to a meaningful  stress
test.

1.    Stress testing is subjecting a system to an unreasonable load
while denying it the resources (e.g., RAM, disc, mips, interrupts,
etc.) needed to process that load.  The idea is to stress a system to
the breaking point in order to find bugs that will make that break
potentially harmful.  The system is not expected to process the
overload without adequate resources, but to behave (e.g., fail) in a
decent manner (e.g., not corrupting or losing data).  Bugs and failure
modes discovered under stress testing may or  may not be repaired
depending on the application, the failure mode, consequences, etc.  
The load (incoming transaction stream) in stress testing is often
deliberately distorted so as to force the system into resource
depletion.

2.    Load testing is subjecting a system to a statistically
representative (usually) load.  The two main reasons for using such
loads is in support of software reliability testing and in
performance testing.  The term "load testing" by itself is too vague
and imprecise to warrant use.  For example, do you mean representative
load," "overload," "high load," etc.  In performance testing, load is
varied from a minimum (zero) to the maximum level the system can
sustain without running out of resources or having, transactions
suffer (application-specific) excessive delay.

3.    A third use of the term is as a test whose objective is to
determine the maximum sustainable load the system can handle.   
In this usage, "load testing" is merely testing at the highest
transaction arrival rate in performance testing.

TOP

 
当前时区 GMT+8, 现在时间是 2008-11-23 03:18Copyright(C)上海博为峰软件技术有限公司 2001-2007 电话:021-64471599-8017
当您在访问网站、论坛及博客过程中遇到问题时可发送email:webmaster@51testing.com或发送论坛短信至管理员风在吹