Your First soapUI Project

PDF Print E-mail
Saturday, 29 August 2009 17:37
User Rating:  / 31
Rate this article: PoorBest 

The soapUI project is the central point in all soapUI testing. Once the project is created, you can create and run Functional Tests, LoadTests, create MockServices or much more. In this tutorial, we will walk through two things how to:

  1. Create a soapUI project
  2. Add a WSDL

1) Create a soapUI project

  1. In the navigator, which is the tree structure at the left in the soapUI GUI, right click on the project node Image of Project Nodeand select New soapUI Project
    New soapUI Project for Web Service Testing
    This will open a New soapUI Project Dialog.


    Note: you can also do ctrl +n(win) or cmd+n (mac) to open a new soapUI Project.
  2. In the New soapUI Project dialog enter a project name and click OK
    New soapUI pProject dialog
  3. This will create a new project in the Navigator.
    New soapUI Project in Navigator

Congratulations, you've just created your first soapUI Project. Let's add a WSDL.

Note: If you would like to try importing a project, try importing the Sample soapUI Project, see [Web Service sample project] for more details.

2) Add a WSDL

In soapUI the projects mostly are based on a WSDL. It’s not necessary to start by importing a  WSDL, but it makes testing easier since the WSDL contains all information you need about the web service tested; information about the requests and responses, what they contain and much more, which simplifies soapUI testing greatly.

Let’s add a WSDL to the project;

  1. Right click on the project node and select Add WSDL
    Add WSDL to a Web Service Test Project
    The Add WSDL dialog will now open.
  2. Enter
    http://www.webservicex.net/WeatherForecast.asmx?wsdl

    Click OK.
    Add WSDL Dialog
  3. You should now see that the WSDL was successfully added to the project by seeing the operations in the Web Service in the navigator.
    WSDL added in soapUI Web Test Navigator
  4. You can double click the Project for a window that gives you overview of your project. As your project and test skills grow, this view will be very important since you can manage a great deal of things at project level, like JDBC Connections (soapUI Pro only), Security Configurations. soapUI even contains basic Requirements functionality in the Project Window.
    soapUI_Project_Window
  5. You can also double click the Interface for an Interface view, which shows a lot of information about the WSDL itself. This is very useful for browsing and examining a WSDL.
    soapUI Interface Window

 

Last Updated on Wednesday, 17 March 2010 14:04