My organization is working on building RESTful webservices on JBoss appserver. The QA team is used to testing SOAP webservices so far using SoapUI. SoapUI has a new version that has REST capabilities. We're considering using that.
- Are there any publicly available RESTful services available on the net for free that someone could test ?
- What tools are available(and used) for testing RESTful web services ?
I've been using JMeter for this, especially for stuff like load testing. It's similar to SoapUI (which I've also used), but geared more toward testing web pages, which makes it pretty decent at testing RESTful services, too.
You can exercise web services using fairly trivial bits of Python. Depending on your security, you may be able to simply use Python's
urllib
orurllib2
to do do you REST requests and examine your answers.Additionally, you might want to use Python
unittest
to control the execution of the Python tests of your REST services.The RESTClient class uses urllib2 to pass through digest authentication for each request. It's rather complex, but I can share the essence if it's of interest.
Testing REST full web services is a easy task to do. Free ad-ons are available on the browsers as REST Client from where you have to send a web service with expected/required method type: GET/POST/PUT/DELETE If the parameters are matched then output will get generated in the body of browser.
I'm testing RESTful services with an in house .NET framework (no problem porting it in Java). Basic principles:
If you want more info, I'm glad to talk.
soapUI will do the job as well, check out this blog post to get started.
Check out Fiddler