REST 工具支持开发和测试 [英] REST tools support for development and testing

查看:57
本文介绍了REST 工具支持开发和测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此处有一个类似的问题,但它仅涵盖以下部分问题.

There is a similar question here but it only covers some of the issues below.

我们有一个客户需要使用 REST 的网络服务.

We have a client who requires web services using REST.

我们在使用 SOAP 方面拥有大量经验,并且随着时间的推移收集了一套非常好的 SOAP 开发和测试工具,例如

We have tons of experience using SOAP and over time have gathered together a really good set of tools for SOAP development and testing e.g.

  • soapUI
  • Eclipse 插件
  • wsdl2java
  • WSStudio

工具"是指我们可以开始使用的开箱即用"产品.我不是在谈论使用 Ajax 或其他方式削减代码以推出我们自己的".

By "tools" I mean a product "out of the box" that we can start using. I'm not talking about cutting code to "roll our own" using Ajax or whatever.

REST 的工具集似乎没有那么成熟?

The tool set for REST doesn't seem to be nearly as mature?

  • 有哪些工具(我们主要使用 C# 和 Java)?

  • What tools are out there (we use C# and Java mainly) ?

这些工具是否处理 GET、POST、PUT 和 DELETE?

Do the tools handle GET, POST, PUT, and DELETE?

有没有不错的 Eclipse 插件?

Is there a decent Eclipse plugin?

是否有像 WSStudio 这样不错的客户端测试应用程序,您可以在其中将该工具指向 WSDL,它会使用适当的方法和输入动态生成代理,然后您只需输入数据?

Is there a decent client testing application like WSStudio where you point the tool to the WSDL and it generates a proxy on the fly with the appropriate methods and inputs and you simple type the data in?

有什么好的包监控工具可以让你查看数据?(我在这里考虑的不是 Wireshark 之类的嗅探器,而是允许您查看请求/响应的soapUI 之类的东西)?

Are there any good package monitoring tools that allow you to look at the data? (I'm not thinking about sniffers like Wireshark here but rather things like soapUI that allow you to see the request / response) ?

推荐答案

就 Java 而言,有 JAX-RS API,它是使用 Restful Services 或类似内容的 Xml 的 Java Api.基本上,JAX-RS 提供了一种更标准的方式来用 Java 构建 RESTful 服务.

In terms of Java, there is the JAX-RS API, which is the Java Api for Xml using Restful Services or something like that. Basically, JAX-RS provides a more standard way to build RESTful services in Java.

还有 Restlet,它允许轻松开发 Restful 服务,并且基于 JAX-RS 规范.

There is also Restlet, which allows easily development of Restful services and is based on the JAX-RS specification.

此外,请查看最近添加了对 REST 的良好支持的 SOAP-UI.

Also, checkout SOAP-UI which has recently added nice support for REST.

http://www.restlet.org/

http://jcp.org/en/jsr/detail?id=311 - JAX-RS

http://www.eviware.com/content/view/134/1/ - SOAP-UI

http://sourceforge.net/projects/soapui - SOAP-UI

这篇关于REST 工具支持开发和测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆