Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ways to test RESTful services? [closed]

I want to test my RESTful applications directly via HTTP and I am looking for tools that can help me with that task. Basically I am looking for an easy wrapper for HTTP requests that can submit e.g. HTML forms or serialized resources as JSON or XML.

It would be great if there is a way to verify if the service is actually following REST architectural guidelines (statelessness, URIs, content negotiation etc.), too.

Being able to use it with JUnit would be a convenient bonus. Do you know about any libraries that could help me with what I want to do (and that are a little more than just a simple http client)?

like image 247
Daff Avatar asked Jan 29 '10 22:01

Daff


People also ask

What is the best way to test REST API?

If you are not a big fan of command-line tools and rather like a GUI client to test your REST API then Postman is the best tool for you. It comes as a Chrome extension and you can install it on your chrome browser and from thereon. It is probably the most popular tool to test your REST API.


1 Answers

See if rest-client is of any help.

Edit: Currently I am using Postman - REST Client a google chrome plugin and it's awesome!

like image 173
Vishal Avatar answered Sep 21 '22 10:09

Vishal