How to automate API testing?

by (473 points)
0 votes
How to automate API testing? What are the tool present? Are they free?

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

1 Answer

answered by (151 points)
0 votes

There are many tools you can use for automating your API testing. Those are free and open source as well.

I mostly use SOAP UI, JMeter and Axis 2 framework for test automation of API.

SoapUI https://www.soapui.org/

SoapUI is one of the most widely used open source API testing tool  for SOAP and REST APIs. SoapUI offers SOAP Web Services functional testing, REST API functional testing, WSDL coverage, message assertion testing and test refactoring. 

JMeter http://jmeter.apache.org/

The Apache JMeter™ application is open source software, a 100% pure Java application designed to load test functional behavior and measure performance. It was originally designed for testing Web Applications but has since expanded to other test functions.

Axis 2 framework https://axis.apache.org/axis2/java/core/

Apache Axis2™ is a Web Services / SOAP / WSDL engine, the successor to the widely used Apache Axis SOAP stack. There are two implementations of the Apache Axis2 Web services engine - Apache Axis2/Java and Apache Axis2/C
I use SoapUI if I have to just automate API functinality testing. I use Axis 2 if I happen to integrate API functionality testing with existing test suite. And I use JMeter if I am using REST API.
Hope that helps!