International Journal of Computer Applications (0975 – 8887)
Volume 167 – No.2, June 2017
23
Web Service Testing Automation using SoapUI Tool
Meenakshi Garg
Department of MCA
VESIT
Mumbai, India
Niveta Lavhate
Department of MCA
VESIT
Mumbai, India
ABSTRACT
In today’s world, web services have become an integral part
of web. A web service is a service offered by one device to
another device electronically, for communicating with each
other over the World Wide Web. The web services can be
also act as an API which facilitates various services for
devices over network. Today majority of web applications
which keep running makes the use of web services and use
service-oriented architecture. A service-oriented architecture
(SOA) is a way of designing software where services are
provided to the other components by application components,
through a communication protocol over the network. The
testing of these web services should be considered as an
important factor now. Testing the web service manually
becomes complicated. The solution is test automation! Web
services can be tested by using test automation frameworks.
SOAPUI is such an open source tool which can be used for
testing of web services. SOAPUI provides a variety of testing
facilities. This tool provides the web service tester a modern
way through which he can save his time and perform testing
efficiently.
Keywords
SOAP, SOAPUI, REST, Automation testing, Web Service
Testing
1. INTRODUCTION
Test automation has become a trend in today’s world.
Automation tests are more efficient and exact when contrasted
with the manual testing. [1] There are various open source
tools available for web service testing. SOAPUI is one most
commonly used tool for web service testing. It can discover
the imperfections which can be easily missed out while
manual testing. It can be used for web service and API
testing. [2] It can provide instant and accurate results. Testing
is a basic necessity of any application since it gives chance to
measure the quality of programming. There is no other way to
check if the web service is serving its purpose or not. The web
service is not used only by a single system; it is used widely
by multiple systems. [3] It becomes necessary to test the web
services efficiently as they serve a large number of software
systems in order to guarantee the reliability. Web services do
not have any user interface which becomes another obstacle
in testing of web services. [4] Web service testing includes
functional testing, regression testing, load/stress testing and
monitoring. In any scenario, manual testing requires excessive
human efforts and it is prone to fail due to human mistakes.
[5], [6] whenever the programming code changes everything
needs to be retested. Manually testing it again and again
becomes tedious and unreasonable.
2. REVIEW OF SOAPUI
The SOAPUI appeared in 2005. The person behind its
existence is Ole Lensmar. [7] He was working in Eviware
software’s as an architect of a huge SOA project and he
realized that there is no test tool available for testing agile
development process and he decided to develop it. He worked
on SOAPUI in his free time and when Ole and his colleagues
realized what SOAPUI can do they made it available to other
people working with SOA and result was the open source
SOAPUI version got released. [7] Eviware Software was
acquired by SmartBear later in 2011.The open source
SOAPUI tool is licensed under European Union Public
License. This tool is downloaded 2,000,000 times since its
initial release. SoapUI NG Pro is a commercial version of
SAOPUI which focuses on additional functionalities and
enhanced productivity. The SOAPUI tool is completely
developed using Java platform which makes it cross-platform.
It makes use of Swings framework for user interface. IDEA,
Eclipse and Net Beans are also supported by SOAPUI at
today’s date. SOAP, REST web services, JMS, AMF can be
tested by using SOAPUI and it can also be used for making
HTTP(S) and JDBC calls.
3. CHOOSING THE SOAPUI TOOL
There will be a lot of reasons available for choosing SOAPUI
tool. SOAPUI is an open source tool which means it is freely
and easily available for use by anybody. This tool is also
available in a commercial version called SoapUI NG Pro with
extra functionalities for mission critical web services.
SOAPUI is considered as a standard for API testing in today’s
world. With this tool, functional testing, load testing,
regression testing, performance testing, interoperability
testing and many more things are possible. [8] It aims on
testing to be easy. For instance, we can just right click on
functional test and run it as a load test, it is that simple to use.
Web services can be simulated by using this tool. Test
recording and later reusing are most convenient features
available in SOAPUI. Code stubs from WSDL can be created
using it. Even the creation of the REST specifications
(WADL) from recorded communication is possible.
3.1 Platforms supported by SOAPUI
As the SOAPUI is java based tool, it can be easily run across
various operating systems, it has been tested with multiple
Windows versions, Mac and multiple Linux dialects. So, the
operating system will not be an issue for those who are
willing to make use of this tool. The basic requirements are
1.6+ versions of the JRE (Java Runtime Environment), at
least 1GB memory and 100MB of disk space which are again
not difficult to be available. [8]
4. SOAPUI TOOL IMPLEMENTATION
There is multiple ways for implementing the web services.
Two of the most common approaches are –
a) SOAP - (Simple Object Access Protocol)
b) REST-(Representational State Transfer architecture)
XML format is used by SOAP for sending and receiving
request and data is platform independent. Exchange of
messages between SOAP provider applications and receiving
applications happens in the form of SOAP envelopes. [9]