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.
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.
- 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.
- 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.
- 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.
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.
Hi ,
Please help me to import multiple testcase on testsuite on SoapUI
Try creating a TestSuite with the testcases required and import the testSuite whenever it is required.