51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 7597|回复: 7
打印 上一主题 下一主题

[讨论] 容量/负载/压力 测试的定义和区别是什么

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2007-12-31 14:37:58 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
容量/负载/压力 测试的定义和区别是什么?
小弟希望能弄清它们单个的定义 和 区别!!

容量测试-负载测试-压力测试  ,好搞呕!!
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
发表于 2008-1-2 11:05:48 | 只看该作者
负载测试(Load Test):负载测试是一种性能测试,指数据在超负荷环境中运行,程序是否能够承担。
关注点:how much
压力测试(Stress Test): 也就是强度测试,是一种性能测试,他在系统资源特别低的情况下软件系统运行情况,目的是找到系统在哪里失效以及如何失效的地方。尤其感兴趣的是这些对系统的处理时间有甚么影响,这类测试在一种需要反常数量、频率或资源的方式吓执行系统。包括
Spike testing:短时间的极端负载测试
Extreme testing:在过量用户下的负载测试
Hammer testing:连续执行所有能做的操作
目标:通过极限测试方法,发现系统在极限或恶劣环境中自我保护能力。主要验证系统的可靠性。
容量测试:(volume testing)的目的是使系统承受超额的数据容量来发现它是否能够正确处理。
容量测试是面向数据的,并且它的目的是现实系统可以处理目标内确定的数据容量。
eg : 使用编译器编译一个极其庞大的源程序
      一个操作系统的任务列队被充满
      庞大的Email信息和文件充满了Internet
回复 支持 反对

使用道具 举报

该用户从未签到

3#
发表于 2008-1-2 12:12:46 | 只看该作者
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.
回复 支持 反对

使用道具 举报

该用户从未签到

4#
发表于 2008-1-24 12:13:45 | 只看该作者

感谢LZ

感谢!二楼能否再提供一些软件性能测试英文名词解释的文档和资料!
回复 支持 反对

使用道具 举报

该用户从未签到

5#
发表于 2008-1-25 16:29:41 | 只看该作者

回复 1# 的帖子

容量测试:通过测试预先反映出软件的某项极限值(如最大并发用户数),测试系统在极限情况下   
         没有出现问题或主要功能正常使用
负载测试:在一定工作负荷下给系统造成的负荷和系统的响应时间
压力测试:系统在超负荷情况下的表现,尤其是他对系统的处理时间有什么影响!
回复 支持 反对

使用道具 举报

该用户从未签到

6#
发表于 2008-6-5 08:44:14 | 只看该作者
回复 支持 反对

使用道具 举报

  • TA的每日心情
    奋斗
    2015-8-9 22:49
  • 签到天数: 17 天

    连续签到: 1 天

    [LV.4]测试营长

    7#
    发表于 2015-4-8 09:57:21 | 只看该作者
    压力测试应该是负载测试的一种特例。负载是从零负载一直到中等负载,再到高负载,再到超负载这个过程。压力测试就是直接超负载,找能让系统达到失效,出错的那个点。我是这样理解的。
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    奋斗
    2015-8-9 22:49
  • 签到天数: 17 天

    连续签到: 1 天

    [LV.4]测试营长

    8#
    发表于 2015-4-8 09:57:40 | 只看该作者
    压力测试应该是负载测试的一种特例。负载是从零负载一直到中等负载,再到高负载,再到超负载这个过程。压力测试就是直接超负载,找能让系统达到失效,出错的那个点。我是这样理解的。
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条

    小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

    GMT+8, 2024-9-22 03:39 , Processed in 0.109134 second(s), 26 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

    快速回复 返回顶部 返回列表