用于测试 Web 服务的工具

发布于 2024-07-10 04:21:37 字数 174 浏览 5 评论 0原文

我想在发布网络服务之前对其进行集成测试,并且想知道是否有人可以指出一些自动执行这些测试的工具?

我有 ASMX Web 服务以及一些 WCF 服务。

我希望能够将其作为任务添加到我的构建脚本中,并在可能的情况下自动执行。

集成测试 Web 服务时存在哪些陷阱(如果有的话)?

I want to perform integration testing of my webservices before shipping them out and am wondering if anyone can point out some tools for performing these tests automatically?

I have both ASMX webservices as well as a few WCF ones.

I want to be able to add this as a task to my build scripts and execute automatically if possible.

What are the pitfalls if any when it comes to integration testing webservices?

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

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

发布评论

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

评论(3

左耳近心 2024-07-17 04:21:38

您可以使用 SoapUI

You could use SoapUI.

与风相奔跑 2024-07-17 04:21:38

JMeter 是一个java应用程序,但当然它也可以用于.NET Web服务。 您可以创建脚本(发送 SOAP 请求)并以文本和图形方式监视结果。 它可以模拟高流量条件,并且通常是非常可配置的。

我没有任何专门用于测试 Web 服务的技巧,除了您肯定需要在重负载条件下进行压力测试之外。

关于在脚本中运行测试,有一个 ant 任务 用于运行 JMeter。 由于您正在构建 .NET 服务,我知道这可能意味着设置测试环境的工作量过多。 当然有Nant,但不知道是否与具体任务兼容。

JMeter is a java application, but of course it can also be used for .NET web services. You can create scripts (sending SOAP requests) and monitor the results both in text and graphically. It can emulate high - traffic conditions and in general is very configurable.

I don't have any tips specific for testing web services, other than you definitely need to stress test under heavy load conditions.

Regarding running the tests in a script, there is an ant task for running JMeter. Since you are building .NET services, I understand that this may mean too much work for setting up the testing environment. There is of course Nant, but I don't know if it is compatible with the specific task.

情徒 2024-07-17 04:21:38

查看 Watin - .Net 中的 Web 应用程序测试。
也许它可以对 Web 服务有所帮助。

Have a look at Watin - Web Application Testing In .Net .
Maybe it can help with Web Services.

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