使用WCAT对ASP.NET / IIS进行压力测试
发布时间:2020-05-24 10:11:42 所属栏目:asp.Net 来源:互联网
导读:我正在尝试使用IIS资源中包含的WCAT工具包设置压力/负载测试. 使用LogParser,我已经处理了一个带配置的UBR文件.它看起来像这样: [Configuration]NumClientMachines: 1 # number of distinct client machines to useNumClientThreads: 100 # number
|
我正在尝试使用IIS资源中包含的WCAT工具包设置压力/负载测试. 使用LogParser,我已经处理了一个带配置的UBR文件.它看起来像这样: [Configuration]
NumClientMachines: 1 # number of distinct client machines to use
NumClientThreads: 100 # number of threads per machine
AsynchronousWait: TRUE # asynchronous wait for think and delay
Duration: 5m # length of experiment (m = minutes,s = seconds)
MaxRecvBuffer: 8192K # suggested maximum received buffer
ThinkTime: 0s # maximum think-time before next request
WarmupTime: 5s # time to warm up before taking statistics
CooldownTime: 6s # time to cool down at the end of the experiment
[Performance]
[Script]
SET RequestHeader = "Accept: */*rn"
APP RequestHeader = "Accept-Language: en-usrn"
APP RequestHeader = "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.0.3705)rn"
APP RequestHeader = "Host: %HOST%rn"
NEW TRANSACTION
classId = 1
NEW REQUEST HTTP
ResponseStatusCode = 200
Weight = 45117
verb = "GET"
URL = "http://Url1.com"
NEW TRANSACTION
classId = 3
NEW REQUEST HTTP
ResponseStatusCode = 200
Weight = 13662
verb = "GET"
URL = "http://Url1.com/test.aspx"
它看起来不错吗? 我用这个命令执行控制器:wcctl -z StressTest.ubr -a localhost 客户端执行如下:wcclient localhost 当客户端执行时,我收到此错误:主客户端线程Connect Attempt 0失败.错误= 10061 这个世界上有没有人曾经使用过WCAT? 解决方法我想看看更新到WCat 6.3 – 可用 here for x86和 here for x64他们已经改变了设置/场景文件结构,这有点痛苦,但应该适合您的需求. (编辑:安卓应用网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- asp.net – 无法安装Microsoft.AspNet.Razor 3.0.0
- asp.net-mvc – ActionResult返回类型的要点是什么?
- asp.net-mvc – ASP.NET MVC:访问集合中项目的ModelMetada
- asp.net-mvc – 如何将MEF与ASP.NET MVC 4和ASP.NET Web AP
- ASP.NET [图像处理程序]
- asp.net – 想要在ModalPopExtender之上显示Update Progres
- asp.net-mvc – 在braintree的localhost上测试Webhook
- ASP.NET MVC模型绑定IList 参数
- asp.net – 在IIS 7.5上使用传出异步Web请求时的可扩展性问
- asp.net-core – 虚拟目录中的IIS站点Swagger UI端点
推荐文章
站长推荐
- asp.net – 当绑定到XmlDataSource时如何编程设置
- 防止ASP.Net中的重复回发(C#)
- 令人敬畏的ASP.NET和C#教程初学者
- asp.net-mvc-3 – StructureMap初学者|物业注入
- asp.net-mvc-4 – 使用Twitter Bootstrap 3放置验
- asp.net-mvc – 我们可以为ASP.NET MVC 5中的角色
- asp.net-mvc-3 – 在MVC3中使用强类型视图时可能
- asp.net-mvc – 如何在会话较少的负载平衡环境中
- .net – 只有在配置中enableSessionState设置为t
- asp.net-mvc – Chrome34忽略域名为“.cloudapp.
热点阅读
