Reputation:
I am a novice in web services. I am totally new to testing web services. A new project demands that I test the web services, and the customer is in favor of any open source tool. What is the approach to testing web services? Also Please suggest a tool(with minimal scripting) to test web services?
Upvotes: 5
Views: 6298
Reputation: 386342
You might want to consider robot framework. It is a generic, keyword-driven testing framework. There are libraries for testing REST and SOAP based web services. It can also be used to test web pages (via a selenium library), databases, and a whole lot more.
robotframework has a ton of built-in keywords, and there are additional libraries that do much more. You are also able to develop your own keywords in python, java, .NET languages, or any other language.
Upvotes: 0
Reputation: 9899
SoapUI is a great tool to test SOAP webservices. It allows you to test a SOAP client or a SOAP server.
Another very useful tool is Fiddler. Fiddler isn't necessarily aimed at testing webservices (it's a HTTP debugger), but since SOAP webservices run over HTTP, you can use it to testing. Another very important advantage of using Fiddler is the fact that you can test REST webservices also.
Upvotes: 2
Reputation: 6979
Additionally you could use Firefox Poster in order to test your web service by passing XML-packets manually.
Check it here:
Upvotes: 2
Reputation: 755321
Check out SoapUI - one of the best web service test tools - plus it's free!!
They also have a "Pro" version which costs - you can do more stuff, like load testing etc., but the free version is quite good enough for most of your testing, I'd say!
Given a WSDL (online or stored as file), it'll create stubs for each method, which you can then use to create requests (as XML), fill in the blanks (the parameter values), and then you can send off your request to the web service and see what comes back as a response.
SoapUI also allows you to write scripted tests than can be run over and over again.
Excellent tool - can't praise it enough!
Marc
Upvotes: 8