1. 什么是 IIS 连接数(以 50 人在线为例):
a. 结束后正常端口,这些连接时按照瞬间计算的。
b. 50 个页面.
c. 在 B 的基础上,在线人数按用户最后一次点击以后的 20 分钟计算,在这个 20 分钟内不管用户如何点击,都算一个人在线.
d. 当你的页面内存在iframe,那么每多一个框架就要多一倍的在线 ! 因为相当于用户同一时间向服务器请求了多个页面。
e. 当用户打开页面然后正常关闭浏览器,用户的在线人数也会马上清除。
2. 改善 IIS 网站服务器效率:
(1). 启动 HTTP 的持续作用可以改善 15-20 的执行效率。
(2). 不启用记录可以改善 5-8 的执行效率. (主目录--记录访问)
(3). 使用[独立]的处理程序会损失 20 的执行效率。 ([应用程式保护]设定为[低(IIS处理程序)]时执行效率较高)
(4). 静态网页采用HTTP压缩,大约可以减少20的传输量。
Number of hits:测试间隔内虚拟用户点击页面的总次数。
TTFB Avg:从第一个请求发出到测试工具接收到服务器应答数据的第一个字节之间的平均时间。
TTLB Avg:从第一个请求发出到测试工具接收到服务器应答数据的最后一个字节之间的平均时间。
Number of hits vs. Users:随着虚拟用户的增加,服务器在规定时间内所能处理的总点击数;
你可以指定Stress level (threads)的值和Stress multiplier (sockets per thread)来控制对目标服务器的压力/负载程度。Stress level是
全部客户端所产生的Windows NT线程的总数。每个线程能产生多个socket而每个socket就是一个并发的请求。
在线用户:用户通过浏览器访问登录Web应用系统后,并不退出该应用系统。通常一个Web应用服务器的在线用户对应Web应用服务器的一个Session。
并发用户数:Web服务器在一段时间内为处理浏览器请求而建立的HTTP连接数或生成的处理线程数。当所有在线用户发送HTTP请求的思考时间为零时,Web服务器的并发用户数等于在线用户数。
General guidelines for using WAS
? As a rule, use between 10 and 100 threads. You will rarely have a need to run a stress test that requires more than 100 threads per client machine. Be sure to monitor the processor utilization on the clients. Anything below 80% should be OK. The client machine(s) may not be capable of sustaining the stress loads where the processor utilization is greater than 80%, at which point the test will become invalid.
? When adjusting the threads and sockets for a WAS stress test, use just one socket (stress multiplier) unless you are performing a special type of test. See the online help topic "Stress level vs. stress multiplier" if you require more information on this setting.
? Limit the number of users to less than 1,000 unless there is a specific reason that you require more unique users. Although the number of users allowable is only limited by the amount of memory on the client machine, you may find that it takes too long for a test to initialize when using a large number of users.
? Avoid creating scripts with more than 1000 script items. The number of scripts is only limited by the amount of memory on the client machine but you may find that it takes too long for a test to initialize when using a large number of script items.
->Stress level is the total number of Windows NT threads that are created across all of the clients. Each thread can create multiple sockets and each socket is a concurrent request. The following formula explains this relationship:
Total Concurrent Requests = Stress level (threads) x Stress multiplier (sockets per thread) = Total Number Sockets
Stress level vs. stress multiplier
分享到:
相关推荐
工具WAS可以模拟测试尾巴服务器的承受能力。在附件说明文档中,介绍了一种Web应用的性能优化方法,并利用WAS测试了它的性能改善程度。文件包中包含了mscvp50.dll文件
WAS压力测试工具中文使用说明,建 立新脚本、编辑脚本内容、web测试、测试报告、删除脚本、菜单说明
使用WAS进行压力测试过程测试要点总结,供大家参考,自己对WAS很多东西还不清楚望指教
负载测试和压力测试都属于性能测试,两者可以结合进行。通过负载测试,确定在各种工作负载下系统的性能,目标是测试当负载逐渐增加时,系统各项性能指标的变化情况。压力测试是通过确定一个系统的瓶颈或者不能接收的...
你的Web服务器和应用到底能够支持多少并发用户访问?在出现大量并发请求的情况下...工具WAS可以模拟测试尾巴服务器的承受能力。在附件说明文档中,介绍了一种Web应用的性能优化方法,并利用WAS测试了它的性能改善程度。
软件测试中,利用was进行压力测试的步骤说明
WAS测试的基本讲解 运用WAS进行Web负载测试
WAS-Microsoft Web Application Stress Tool 是由微软的网站测试人员所开发,专门用来进行实际网站压力测试的一套工具。透过这套功能强大的压力测试工具,您可以使用少量的客户端计算机仿真大量用户上线对网站服务所...
was 微软的 网站 压力 测试 工具 was 微软的 网站 压力 测试 工具 was 微软的 网站 压力 测试 工具
WEB压力测试整理文档,详细步骤,相关教程,
微软的Web压力测试工具WAS-Web A
微软Microsoft Web Application Stress Tool ,压力测试方案
Microsoft Web Application Stress Tool 是微软公司开发的一个非常 好用的服务器压力测试软件,但是这款软件在64位系统上会跑不了,是因为没有相兼容的dll的文件。 具体操作: 1、解压“msvcp50.DLL” 如果是win7 ...
web压力测试工具was-weba.rar 很好用 欢迎下载
此工具为Microsoft官方出的一款小巧功能强大的Web application 压力测试工具,能够支持自定义的Web流量模拟,真实的再现您网站潜在的安全威胁。 本包内同时包含安装在64位机上所缺的DLL文件
内部有文档说明书 WAS服务器负载测试软件使用说明 <br> WAS 服务器负载测试软件使用说明 <br>( Microsoft Web Application Stress Tool ) <br>一、建立新脚本 <br> 方法一、启动 WAS 软件后...
Microsoft Web Application Stress服务器负载测试软件,直接点击setup安装,安装时注意包中的dll文件不能少。
软件测试 图解用WAS对Web服务器进行压力测试 具体步骤
熟练运用WAS (web application stress tool)软件进行web 压力测试
was对web进行压力测试.pdf