Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

REST tools support for development and testing [closed]

Tags:

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

We have a client who requires web services using REST.

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 plugins
  • wsdl2java
  • WSStudio

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.

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

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

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

  • Is there a decent Eclipse plugin?

  • 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?

  • 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) ?

like image 652
rbrayb Avatar asked Nov 20 '08 00:11

rbrayb


People also ask

What is REST in software testing?

REST stands for Representational State Transfer. It is a software architecture style that relies on a stateless communications protocol, most commonly, HTTP. REST structures data in XML, YAML, or any other format that is machine-readable, but usually JSON is most widely used.

What is REST API tools?

A REST API (also known as RESTful API) is an application programming interface (API or web API) that conforms to the constraints of REST architectural style and allows for interaction with RESTful web services. REST stands for representational state transfer and was created by computer scientist Roy Fielding.


2 Answers

I googled and found this plugin for chrome.

POSTman REST Client.

like image 163
AechoLiu Avatar answered Nov 23 '22 23:11

AechoLiu


For starters, you need a tool that lets you construct an arbitrary HTTP request (including headers such as content-type, HTTP method, HTTP authentication and request body) and inspect the HTTP response (including status code, headers and response body). It's nice if it's scriptable tool.

Have a look at:

  • Eclipse HTTP Client
  • rest-client - standalone Java GUI application and plugin (See also at nodeclipse)

To auto-generate a proxy I guess you are looking for something that parses WADL, the REST answer to WSDL. Unfortunately, I do not know anything like that.

like image 31
Peter Hilton Avatar answered Nov 23 '22 23:11

Peter Hilton