具有面向业务用户的界面的 Web 服务测试框架

发布于 2024-08-16 21:07:52 字数 338 浏览 3 评论 0原文

我正在寻找一个具有良好内置文本输入/输出 GUI 的 Web 服务测试框架。重点是让企业和其他非开发人员用户能够通过使用简单的 GUI 来测试需求,他们可以在其中输入值并查看 Web 服务的结果。我在 Stack Overflow 和网络上看到了很多优秀的开发人员 Web 服务测试工具的参考资料,但一个漂亮的内置 I/O gui 对我来说是关键功能。

我所说的 Web 服务测试是指通过 HTTP 发送 xml post 请求并测试响应的工具。

我一直在尝试fitnesse,但要使用它,我需要删除系统的某些部分,并且我非常想做端到端测试。 Fitnesse 显示结果的方式很棒,但 wiki 数据输入对于商业用户来说有点笨拙。

I'm looking for a web service testing framework that has a good built in text input / output gui. The point would be for business and other non developer users to be able to test requirements by using a simple gui that they could enter values into and see the results from the web service. I have seen lots of references on Stack Overflow and the web to great developer web service testing tool but a nice, built in, I/O gui is the key feature for me.

By web service testing I mean a tool that sends xml post requests over HTTP and tests the response.

I have been trying out fitnesse but to use it I need to cut out parts of the system and I very much want to do end to end testing. The way fitnesse displays its results is great but the wiki data entry is a bit clunky for business users imo.

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

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

发布评论

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

评论(5

芸娘子的小脾气 2024-08-23 21:07:52

我们大部分时间都使用FitNesse。开发人员维护一个固定装置,作为您的应用程序和 FitNesse 服务器之间的连接器。业务用户可以以 wiki 风格编写测试用例。对我们来说效果很好。

Rational Function Tester 也参与了讨论。不过,我没见过,但也能满足我们的要求。

We use FitNesse for the most part. The developers maintain a fixture that s the connector between your app and the FitNesse server. The business user can write the test cases in an wiki style. Works fine for us.

Rational Functional Tester was in the discussion too. However, I have never seen it, but would have met our requirements too.

天赋异禀 2024-08-23 21:07:52

您可能需要查看机器人框架。这是一个相当不错的测试库,可以轻松测试 Web 服务。还有一个库将Selenium集成到框架中进行前端测试。测试可以用几种纯文本格式以及 HTML 表格来指定。如果您愿意,您还可以选择让用户在电子表格中创建测试数据,然后以制表符分隔的格式保存它们。

You might want to look at the robot framework. It's a pretty decent testing library which makes it easy to test web services. There is also a library that integrates Selenium into the framework for front-end testing. Tests can be specified in a couple of plain text formats as well as in HTML tables. You also have the option to let users create test data in spreadsheets if you like, then save them in a tab-separated format.

混浊又暗下来 2024-08-23 21:07:52

我们使用 Concordion 进行业务测试。它与 Fitness 非常相似,但输入文件是由 JUnit“执行”的 HTML 文件。

如果您的 Web 服务不接受 500 个参数,则 HTML 表是定义输入值的好方法。我同意,没有 UI(尽管 WYSIWYG HTML 编辑器可以做到这一点),但好处是你的测试可以签入 Subversion(例如),定期执行(每晚阅读),并且结果 HTML 文件可以在内部发布。

We use Concordion for business testing. It's very similar to Fitness but the input files are HTML files "executed" by JUnit.

If your web services don't take 500 parameters, a HTML table is a great way to define input values. I agree, there no UI (although a WYSIWYG HTML editor would do it) but the benefit is that your tests can be checked into Subversion (for example), executed regularly (read every night) and the result HTML files be published internally.

人事已非 2024-08-23 21:07:52

我发现在 Netbeans 中测试复合应用程序非常容易使用...
正如您在问题中所要求的,您可以定义输入 XML 和所需的输出 XML,当您运行测试时,您将拥有一个经典的 JUnit结果是这样的:
替代文本 http://netbeans.org/images_www/ articles/61/soa/ep-understand-trs/testpassed.png

这里你可以找到一个很好的例子:
了解旅行预订服务

我使用 NetBeans 6.5.1 与 GlassFish ESB 2.1 捆绑在一起 ...我不确定最新的 NetBeans 版本是否支持此功能

I found testing composite application in Netbeans very easy to use ...
As you requested in your question you can define an input XML and a desired output XML, and when you run the test you have a classic JUnit result like this :
alt text http://netbeans.org/images_www/articles/61/soa/ep-understand-trs/testpassed.png

Here you can find a good example:
Understanding the Travel Reservation Service

I use NetBeans 6.5.1 bundled wit GlassFish ESB 2.1 ... I'm not sure that this feature is supported in the newest NetBeans Versions

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