What tools can I use to test Web services and APIs?

by on October 7, 2013

Can you be specific.

 

#SQASolutionShare on FacebookShare on Google+Share on LinkedInTweet about this on TwitterEmail this to someone

{ 10 comments… read them below or add one }

Shridhar October 7, 2013 at 7:26 pm

Popular tools are Jmeter and SOAP UI

Dimitry Rubinovich October 7, 2013 at 7:26 pm

How complex is Soup UI, does it require a lot of configuration? How good is the Smart Bear’s support?

shailesh October 7, 2013 at 7:26 pm

SOAP UI.

Mark Drury October 7, 2013 at 7:26 pm

JMeter is a good choice given that it’s open source/free, it’s relatively easy to use, and because it gives you rudimentary performance data with your test runs (average, min, max, median response times for all requests).

Anand Ramdeo October 7, 2013 at 7:26 pm

Just answered to a similar question – whatever make sense in your context.

Testing WebServices is much easier than testing GUI. In nut-shall, you need to understand how HTTP requests are made & how responses can be consumed? Requests and responses are usually in the form of JSON or XML so you need to know relevant libraries (depending on the language you are using).

You can find relevant libraries in all the major languages such as Java, Ruby, Python etc.. I suggest you use one of these languages with their relevant libraries.

As suggested by others, you can use tools as well – it’s all depends on your context.

BTW, leaving tools aside – I wrote a blog post recently on what you might want to test in RESTful web services – . You may find it useful.

Hope it helps.

Pankaj October 7, 2013 at 7:26 pm

Selenium.

To Test SOAP API We can use SOAPpy in Python and for testing REST urllib2 module of python can be used.

Radhika Kande October 7, 2013 at 7:26 pm

You really don’t need selenium web driver to test REST or SOAP APIs. All major languages have built in methods/classes to do this.

I am using Ruby, in particular http client , httparty and JSON gems. Api testing is quite simple than UI testing .

V. Mark Lehky test automation guru October 7, 2013 at 7:26 pm

For SoapUI have a look at http://blog.smartbear.com/api-testing/getting-started-with-soapui-pro/ The author of that post (Michael) frequents the SoapUI LinkedIn forum, and they have pretty good support forum http://www.soapui.org/forum/ .

Jeff Ekhardt October 7, 2013 at 7:26 pm

If you’re open to a programming approach to testing, I’ve become a fan of REST Assured over JMeter or similar tool. http://code.google.com/p/rest-assured/ A combination of TestNG and RESTAssured makes things pretty simple.

Andrew Thompson October 7, 2013 at 7:26 pm

For ease of use, breadth of features, you cannot beat Parasoft SOAtest. If you want your testers up & running asap, SOAtest will have them writing functional tests within the hour of installing the tool.
Functional tests can be instantly used for regression testing, security penetration testing as well as load testing, with NO rework!
Whilst scripting is supported, the bult of the work (100% in alot of cases) is via the gui, with no scripting required.
http://www.parasoft.com/jsp/products/soatest.jsp

Previous post:

Next post: