Web服务-“当前连接”性能计数器
最近我开始使用 VSTS,并制作了一些测试脚本来针对网站运行。 这些脚本基本上由同步 WebService 请求组成。
我与 2000 个用户一起运行此脚本并检查了当前连接性能计数器,但它从未高于 17。 运行的测试数量始终接近 150,并且由于测试仅包含一个 WebService 请求,我认为当前连接数将与此数字类似。
有人可以解释一下当前连接计数器的真正含义吗,因为它似乎不是一次处理的请求数?
提前致谢!
Recently I start to work with VSTS and I made some test scripts to run against an website.
The scripts consists basically of a synchronous WebService request.
I ran this script with 2000 users and checked the Current Connections Performance Counter but it was never higher than 17.
The amount of Tests Running is always near 150 and since the test only contains one WebService request I thought the Current Connections would be similar to this number.
Can someone explain me what the Current Connections counter really means since it doesn't seems be the number of requests been processed at a time?
Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
从负载测试中运行设置的属性中查看 WebTest 连接模型和 WebTest 连接池大小。这些设置与服务器的连接重用有很大关系。
当前连接记录打开的连接数,无论当前是否活动。
本文 更深入地描述计数器。
“这些计数器可能会夸大同时连接的数量,因为在任何给定时刻,某些条目可能尚未被删除,即使它们所基于的连接已关闭。”
Have a look at the WebTest Connection Model and WebTest Connection Pool Size from the properties of your Run Settings in the load test. These settings have a lot to do with connection re-use to the server.
Current connections records the number of connections open, whether currently active or not.
This article describes the counter in more depth.
" These counters can exaggerate the number of simultaneous connections because, at any given moment, some entries may not have been deleted even though the connections on which they are based have been closed. "