测试 Web 服务流量的免费工具?
我用 C# 编写了一个 Web 服务。现在,我需要测试 Web 服务流量以获取类似信息(需要多长时间才能获得响应、一小时内可以处理多少个响应等。有关 Web 服务的大量统计信息)。是否有任何工具(免费/付费)可以获取此信息?
I wrote a web service in C#. Now, i need to test the web service traffic to get information like (how long does it take to get response, how many responses can be handled in an hour etc. pretty much statistics about the web service). Is there any tools (free/paid) to get this information?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
Fiddler 可以帮助您。
您可以通过这种方式为一位客户进行衡量。但是,如果您需要同时为所有用户提供更广泛的信息,则您将需要不同的信息。
Fiddler can help you with that.
You can measure it for one client this way. However, if you need broader information for all users at once, you will need something different.
如果您的服务使用 WCF 技术,则可以使用 WCF 性能计数器。
使用此配置启用它们:
它几乎包含您需要的一切。
If your services use WCF techology, you can use WCF performance counters.
Enable them using this configuration:
It includes pretty much everything you need.
如果您正在寻找的话,有多种负载测试工具。我不确定它们在自定义 Web 服务上的工作效果如何或如何实现它们,但您可以从soapUI开始(http://www.soapui.org/About-SoapUI/what-is-soapui.html) 或 WCAT(http://www.iis.net/community/default .aspx?tabid=34&i=1466&g=6) 后者通常用于 IIS。我不知道你是如何构建你的网络服务的,所以这只是一个建议
There are variety of load testing tools if that is what you are looking for. I'm not sure how well they work on custom web services or how to implement them but you could start with soapUI (http://www.soapui.org/About-SoapUI/what-is-soapui.html) or WCAT(http://www.iis.net/community/default.aspx?tabid=34&i=1466&g=6) the latter of which is typically for IIS. I have no idea how you built your webservice though so its just a suggestion