SoapUI Testing Tutorial | Setup and Installation

One of the most popular API Testing tools that a lot of people use today is SoapUI. I have created a SoapUI Testing Tutorial to help you grab a look and feel of how SOAP requests are made.

SoapUI is an automated testing tool for SOAP and REST APIs. With the help of SoapUI, you can not only write, run and integrate but also automate, all sorts of advanced API tests with maximum ease.

soap meme

Getting Started – SoapUI Testing Tutorial

Here we are going to see how to download the setup and install it in your system. We will see an example too later on to get you started with it.

How to Download SoapUI

First things first! You need to have the setup of SoapUI to get started ASAP. Follow these steps below to download the software:

Step 1: Navigate to the following URL:

https://www.soapui.org/downloads/latest-release.html

Step 2: Based on the operating system you are using click on the Download button. I am using Windows, so I am going to go ahead and click on Download button for Windows Installer.

NOTE: If you are using Windows 32-bit, you need to select that from the dropdown.

Step 3: With that the download would begin.

Step 4: Once it gets downloaded successfully, just open the setup file.

Installation of SoapUI

Step 5: Once you click the setup file open, this is what you might see on the screen:

installation wizard for SoapUI

Step 6: Just wait for the next screen to open. Then click on Next:

Setup of SoapUI Testing Tutorial

Step 7: Click on Next without changing a thing. Or if you want to, you can specify where you wish the software to get saved.

SoapUI destination directory

Step 8: Select components in the next screen. If you are not sure which ones, you could simply let things be as they are. Then click on Next.

SoapUI components to install

Step 9: In the next screen, you can click on Next, or provide a location to store the tutorials first and then click on Next. Your choice! I am leaving everything intact, and clicking on Next.

soapUI Tutorials location

Step 10: You can choose to create a Start Menu Folder. Click on Next if you would want that.

create a start menu folder for soapUI setup - soapUI testing tutorial

Step 11: Whether or not you want to create a desktop icon, can be selected in the next screen. Click on Next, once you have made that decision.

create a desktop icon for soapUI - soapUI testing tutorial

When you click on Next, the installation would begin. Sit back for a while and let it happen:

installation of soapUI - soapUI testing tutorial

Step 12: Once the installation finishes, you will get the following dialog box. Just click on Finish to end the setup.

run soapUI option

NOTE: I have unchecked the release notes checkbox, since I do not wish to see that. If you plan on launching SoapUI do not uncheck the second box, and let it run.

Opening SoapUI for the First Time

With that SoapUI has been installed on your system. This is what you might see when you open it for the first time.

First this:

SoapUI opener

Wait for a while and it will be followed by this:

Front page of SoapUI testing tutorial

In case, you see dialog or pop-ups you can choose to close them or skip them to fill them later. Like I skipped this one:

skip stay tuned soapUI testing tutorial

Now it is time to see an example.

WSDL Example for SoapUI Testing

We are going to see an example of a calculator WSDL here. WSDL stands for Web Service Definition Language which is nothing but an XML format used to describe functionality offered by a web service.

Step 13: Click on File > New SOAP Project.

File> New soap project - soapUI testing tutorial

Step 14: In the next dialog box provide a project name and a WSDL that you need to work with.

I have a WSDL of a calculator with me here:

http://www.dneonline.com/calculator.asmx?wsdl

I am just going to simply paste it in the Initial WSDL box. If you have a WSDL with you, you can simply browse and select that using the browse button located next to the box.

new soap project - soapUI testing tutorial

Wait for a bit. This is what you will get:

calculator imported wsdl

Step 15: Flair open Add. You will see the following.

calculator wsdl example

Step 16: Double click on Request 1, and it will open the following:

replace numbers you wish to add

The question mark symbols are user inputs. You can replace them with numbers you wish to add. Let’s just add 5 and 9.

Step 17: Type 5 for intA and 9 for intB and then click on the green button which means submit request. Alternatively, you can press Alt + Enter as well.

SOAPUI Testing endpoint button

This is what you will get as result.

soapui testing tutorial example

Ain’t that 14?

That’s it folks! You can try different WSDLs and come up with the results you are looking for.

Check out more cool stuff on DITD.

Scottshak

Poet. Author. Blogger. Screenwriter. Director. Editor. Software Engineer. Author of "Songs of a Ruin" and proud owner of four websites and two production houses. Also, one of the geekiest Test Automation Engineers based in Ahmedabad.

You may also like...

Leave a Reply