Let’s see how we can accomplish all this. In this article I am going to cover Functional WebServices testing using SoapUI, but don’t worry, there will be more articles on
as well as on
SoapUI and Continuous Integration
in the coming weeks.Before we begin actually writing tests, we need two things first:
Download and install SoapUI fromhere.
Next, let’s get a
. I wanted to actually focus more on SoapUI rather thanany one technology to publish your business logic as web services. So, I took the easy routeand found out some interesting things about this publicly available web service.According to the NOAA web site, this web service allows you to get weather data. It has ninefunctions. Here is the actual wsdl from the web site:
Now that we have SoapUI downloaded and a web service which we can test, let’s startworking.
Create a new project within SoapUI; give it a name; and copy and paste the WSDL URLwithin it. Things should look like this:
Once you have created the project successfully you should be able to see all nine functionsthat are provided to us by NOAA. We are only going to use three of them, as seen below inthe screen shot: