free seo tool

Creating a Project in soapUI

In this post, let us see how can we create a Project in soapUI. To test web services, we have to have a project created in soapUI tool.

The first step to create a project is to get access to the WSDL url. This is a url ending with ?WSDL.
Before we create a project we have to understand the hierarchy in soapUI. The top most level of the hierarchy is a Workspace. Workspace is a container to hold multiple projects. In otherwords a workspace can have multiple projects. By default there will be one workspace created by soapUI. You might create a new one to hold all your projects. Under Project we can have multiple Test Suites. Under Test Suites, we can have multiple test cases and under test cases, we can have test steps.


Lets create a workspace. 
  • Click on File and then select New Workspace.
  • Enter the name of a workspace.
  • Select the location to save the file.
  • You will get an empty workspace.
Now, lets create a project on the workspace.
  • Click on File and then select New soapUI Project.
  • Enter the name of the Project.
  • Provide the WSDL url in the box.
  • Uncheck "Create Requests" check box. This not required.
  • Select Ok
  • This will create a Project with the interface details from the provided WSDL.
Lets move on to creating a Test Suite.
  • Right Click on the project
  • Select Create new Test Suite
  • Enter the name of the test suite.
  • Click Ok
  • This will create a test suite.
Our Next Step is to create a Test Case.
  • Right Click on the Testsuite
  • Select Create New Test Case
  • Enter the Name of the test case.
  • Click Ok
  • We will get a test case with zero test steps. 
There are multiple test steps, we will discuss those on other posts. 
Let us create one step to test our project.

  • Right Click on the test case.
  • Select Add Steps.
  • Select Test Request.
  • Enter the name of the method/ operation.
  • Click OK
  • This will display a list of all the methods available in the WSDL.
  • Select one from the list.
  • Uncheck the check boxes in the assertion window. We will discuss this later.
  • Click Ok.
  • This will create the request.
  • Enter values for the request and click Run button "Green Play button"
  • This should provide you the valid response for the request.
2 comments:
  • Anonymous says:
    June 29, 2012

    Hi ,

    Please help me to import multiple testcase on testsuite on SoapUI

  • Admin says:
    July 04, 2012

    Try creating a TestSuite with the testcases required and import the testSuite whenever it is required.

Post a Comment

This is a new website mainly for SOA Testers using soapUI. Let me know your thoughts/ suggestions.