51Testing软件测试论坛

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

QQ登录

只需一步,快速开始

微信登录,快人一步

查看: 1114|回复: 0
打印 上一主题 下一主题

LoadRunner:Load Testing -things to do

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2006-10-25 13:37:42 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Description

      Load testing


Solution

      Things to consider:
Always functionally test your site before load testing it. There is no point in load testing a broken site. There are several automated functional testing tools available. Often times you can take your functional test, and re-use it in the load-testing tool to save time.

Second, you want to test the scalability of your application, or architecture. You should test for 10 ?20% over you peak traffic levels. Many times peak traffic is in the form of concurrent users, but can be measured in pages/sec, hits/sec, MB/sec. For web based commerce concurrent users represents a very realistic load. So if you site has peak 500 people you should test at 550 to 600 concurrent users/sessions. Note that for this test you want to turn off functional checks, we are specifically testing to see if the hardware can handle the load.

Lastly, after you have SUCCESSFULLY completed the first two steps you move into load testing with functional checks. This determines if your application scales accurately with load, or if it starts to drop images, or links when heavily loaded. I recommend a stepped or incremental approach here. Try it with just the page layout, and links being functionally verified. Then move to checking the URLs of the links, then add images, and finally entire page checks. This process will allow you to identify what content may be suffering and when.

Where you find the problems and how to rectify them is more challenging, dependants on your system architectur, and comes with experience. Here are some things that I have found true. Web Server and Web Application Server software configuration are the most common culprits, not hardware. You should start your analysis with these two, then proceed to checking their hardware. (I.e. CPU load, memory usage, available hard drive cache, etc..) After those have been exhausted move to your network, check your load balance, routers, and gateway.
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

本版积分规则

关闭

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

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

GMT+8, 2024-5-8 05:56 , Processed in 0.059038 second(s), 23 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

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