Thursday, March 20, 2014

SoapUI - A powerful web services testing tool

Recently I happened to Review/Test a few web services implemented for one of my client. 
SoapUI Pro

SoapUI is the defacto standard for validating webservices. Apart from technical deliverables, I also got to evaluate the product and compare it with free version. I downloaded free version and Pro (14 days evaluation) and was pleasantly surprised at the advancements and ease of use. I developed webservices a few years ago and hardly any useful tool was there to test it. 

SoapUI Pro interface 










Some of the notable features I liked and used are

  • Dynamic Duo/The Editors - You can visually enter data rather than searching though XML and entering the data. I used this extensively and is a very neat feature. 
  • Point and Click Testing - Almost ready to test the webservices just with few clicks. You can click on the web service response xml contents and right click and few more clicks and SoapUI writes the xpath qeury and associated test case. Its that simple. 
  • Test Debugging - Helps creating test flows, other testing related constructs like conditional execution, looping etc. I mostly utilized connecting to DB (data source) and groovy script.
  • Data Sources - Provides options to connect to most popular data sources. You can write queries/get the data from these sources and then use use the data as part of inputs to your webservice calls or compare the data to validate the webservice response.
  • Multi-Environment Support - If you have multiple environments on which you need to do same webservice testing, this is a major timesaver. I created my own config file and imported those settings as project's properties. Client code, end points. connection string, user name and such commonly used strings were stored and the imported properties could be used in test cases as variables with a few clicks(Again I did not type any of these).
  • Reporting - Provides nice reporting of all test suites/cases executed with their status. You can also customize the template of reporting. I mostly created HTML reports as they were very easy to use and store but PDF, CSV and other formats are also available. 
  • The SQL builder - Sql builder allows you to visually choose the tables and build query, our huge database with few thousand schemas was too much for SoapUI . I preferred using my ready to use queries and it worked flawlessly.
  • Stop the Hackers - XML Bomb, sql injection, malformed XML and plenty of other ready to use test cases are available under security category  - Just few clicks away.  

SoapUI had plenty of other features but these were the features that I ended up using and was pleased with the self explanatory and user friendly interface.
You can take a look at their SoapUI : 12 reasons to go pro page for more details.


SoapUI also has a free version. Free version is very limited but lets you create your test cases with basic features.

6 comments:

Unknown said...

SoapUI , testing tool is realy good tool for webservices. I have read our your artical . Thanks for sharing such kind of information .
SM Technologhies

Unknown said...


I’m glad to locate so much of informative data in your blog.
Us Technical Support

viswa said...

I am Glad to read Your post Actually I’m happy to hear that. thanks for sharing us.

varun mishra said...

Thanks for sharing such a informative post with us

SANDY said...

Cool........

http://heertec.com/

Can Crusher said...

SoapUi is looking powerful tool and that will make our work easy. Thanks for sharing that valuable information.