如何对.net tcp绑定WCF服务进行负载测试(任何工具或方法)?

发布于 2025-01-13 12:08:58 字数 254 浏览 2 评论 0原文

我们正在开发其中一个项目,我们的要求是对 Windows 中托管的 WCF 服务执行负载/性能测试,其中客户端使用 .net tcp 绑定与服务进行通信。 我们通常使用 Jmeter 和 Gadling 进行任何负载测试,但据我们所知,这些工具不支持 TCP 协议服务。我们做了一些研究,发现了一些工具,例如 Visual studio 2010 终极版,可以用于 wcf 服务的负载测试。 任何人都可以就相同的工具、方法或任何参考资料提出任何建议/提供任何帮助吗? 任何帮助将不胜感激。谢谢。

We are working on one of the project and our requirement is to perform load/performance testing of wcf services hosted in windows where client uses .net tcp binding to communicate with the services.
We generally use Jmeter and Gatling for any load testing but as far as we know, these tools does not support TCP protocol services. We did some research and found some tools like like Visual studio 2010 ultimate edition which can be used for load testing of wcf services.
can anyone suggest anything/provide any assistance regarding the same e.g. tools, approach or any references?
Any help would be greatly appreciated. Thank you.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

毁梦 2025-01-20 12:08:58

您可以参考此处 用于WCF服务的负载和性能测试。

这里快速介绍如何使用 jmeter 实施 WS 测试。

当绑定允许时,您可以在托管服务器中启动服务并对其运行 NUnit 测试。
https://www.codeproject。 com/Articles/73714/A-Better-Visual-Studio-2008-2010-Development-Serve

您还可以选择单元测试

并查看这 2 个帖子 - 它们似乎与您的问题相关:

使用 JMeter 进行 tcp.net 绑定测试的 WCF

如何使用 JMeter 测试 WCF Web 服务?

You can refer the simple steps from here for load and performance testing of WCF service.

Here a quick how-to to implement WS testing using jmeter.

When the binding allows, you can start the service in the managed server and run NUnit tests against it.
https://www.codeproject.com/Articles/73714/A-Better-Visual-Studio-2008-2010-Development-Serve

You can also choose unit tests

And look into these 2 posts - they seem relate to your problem:

WCF with tcp.net binding testing with JMeter

How to test a WCF Webservice with JMeter?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文