SoapUI is an open source testing tool which is used to test web services built on both SOA (Service Oriented Architecture) and REST protocol (REpresentational State Transfer). As discussed in earlier tutorials, SoapUI is a robust testing application which can allows testers to conduct automated functional testing, regression testing, compliance testing, security testing and load testing. It also have functionalities that covers inspection, development, invoking, simulation and mocking of web services.
SoapUI tool is available in two versions: SoapUI and SoapUI Pro. We will compare the features present in both SoapUI and SoapUI Pro version below in this tutorial before that let’s dig into little history of SoapUI tool. It was first released in year 2005 at Source Forge, licensed under the terms of the European Union Public License. This tool is completely built in Java Platform using Java Swing as UI. It can be integrated using Eclipse IDE, NetBeans, etc.
In this tutorial, we are going to discuss on the installation and configuration of the SoapUI.
Downloading and Installation of Soap UI:
SoapUI installer can be downloaded from below link. Depending on the type of operating system, suitable installer can be downloaded for Linux, Windows and Mac OS. In this tutorial we are going to download and install 32-bit windows OS installer for SoapUI.
Follows the below steps:
Step 1: Once file ‘SoapUI-x32-5.2.1.exe’ is downloaded, double click the file and below window will be shown:
Step 2: Installer will extract the files and start preparing itself for installation. You will see the below window message and then Click next to proceed with installation.
Step 3: After clicking next button, it will ask you to read and accept the agreement. Accept the agreement in order to proceed further for installation.
Step 4: After accepting the agreement, it will ask you to choose the installation path on your local machine. Please either choose a suitable installation path on your C drive as desired or choose the default path as indicated below for installation of SoapUI. After selection of the path, click on the next button to proceed further.
Step 5: Below screen will be visible to choose the components you want to install on your machine, click next to proceed further for installation.
Step 6: In case, if you have checked Hermes JMS component, it will ask you to accept another agreement as shown below. Please accept this agreement and click next button to proceed further for installation all components selected before.
Step 7: Next it will ask for installation path for SoapUI tutorials, choose either a suitable path or the default path indicated on your machine.
Step 8: Next it will ask you to select the start menu folder in which you like to create the program’s shortcuts. Choose the default path as indicated below and click on next button.
Step 9: Check the box below on the screen, if you want to create a desktop icon and click on the next button.
Step 10: Set up will start extracting all required file and starting installing SoapUI version 5.2.1 tool on your machine. This step will take couple of minutes.
Step 11: After installation is complete below screen will be visible which confirms that Soap UI version 5.2.1 has been installed successfully on your local machine and you are ready to run your SoapUI tests.
Step 12: Click Finish button, SoapUI tool will get started and you can see the release notes has opened in the notepad.
Step 13: SoapUI is ready to develop your SoapUI project.
Comparison between SoapUI and SoapUI Pro:
Let’s keep this in mind that SoapUI Pro is superset of SoapUI tool.
|Supported Protocols||HTTP, HTTPS, JMS, JDBC, AMF, REST, SOAP/WSDL.||HTTP, HTTPS, JMS, JDBC, AMF, REST, SOAP/WSDL.|
|Testing Support||Functional, Load, Compliance, Security and Regression testing.||Functional, Load, Compliance, Security and Regression testing.|
|Code Generation||Supports drag and drop feature for code generation.||Supports drag and drop feature for code generation.|
|Integration with other automation tools||It can be integrated with Apache ANT, Maven, HUDSON and Junit automation tools.||Pro version also can be integrated with Apache ANT, Maven, HUDSON and Junit automation tools.|
|Multiple Environment Support||It does not support switch between multiple environments like SIT, UAT, TEST, etc.||It supports switch between multiple environments.|
|Groovy code templates||It does not provide templates for Groovy code.||It provides templates for Groovy code.|
|Support for basic functional testing features like Message Assertion, Running of Multiple Tests, Manual Test Step etc.||Yes.||Yes.|
|Support for others functional testing features like WSDL coverage, request and response coverage, test refactoring, data source driven test, scripting libraries, unit reporting, etc.||Do not support.||It supports all of these functional testing features.|
|Support for Security testing features||It supports all security testing features like Pro version excepting Reporting.||It supports security testing features such as Boundary Scan, Invalid Type, SQL Injection, XPath Injection, XML Bomb, Fuzzing Scan, Cross Site Scripting, Configurable Scans and Reporting.|
|Support for Load testing features||It supports all security testing features like Pro version excepting Reporting.||It supports load testing features such as Rapid Load Tests from Functional Tests, Configurable Load Strategies, Load Test Assertions, Real-Time Statistics, Performance Monitoring, Statistics Exporting, Setup/Tear Down using Groovy Scripting, load UI Integration and Reporting.|
|Test Case and Test Suite Coverage||No.||Yes.|
From the above comparison, it is clear that SoapUI Pro version is recommended when the web service project testing demands below features.
- Reporting for Load testing and Security testing.
- Pro version provides Groovy code templates which helps in writing tests with ease.
- Better test coverage report to demonstrate the areas in application testing which lack proper testing through statistic report.
- Test debugging and breakpoint features are supported in the pro version only.
- Pro features enables switching between multiple environments like UAT, SIT, Prod, etc.to run tests.
- Since pro version is paid, it has exclusive support apart from online forum.
In the next series of this tutorial, we are going to learn about how to create Soap UI Project to test web service or web API.
If you enjoyed this, you might also enjoy these posts inspired by STC team:
- Tutorial 1 – Introduction to SoapUI – Why SoapUI?
- Tutorial 2 – What is Web Service and How it is tested?
- Tutorial 3 – Web Service Sample Project and its Testing
- Tutorial 4 – Installation and configuration of SoapUI
- Tutorial 5 – Your First SoapUI Project
- Tutorial 6 – How to do Functional Testing in SoapUI?
- Tutorial 7 – Simple guide to create Load Testing using SoapUI
- Tutorial 8 – Mock Services Testing in SoapUI
- Tutorial 9 – How To Perform Security Testing In SoapUI?
- Tutorial 10 – REST Testing using SoapUI
- Tutorial 11 – REST Sample Project
- Tutorial 12 – Sample API Projects in SoapUI
- Tutorial 13 – Schema Inference
- Tutorial 14 – 10 Testing Tips for the SoapUI Beginners
Feel free ask your queries on SoapUI Installation and configuration in the comments below.