Applies to ReadyAPI 2.7, last modified on June 25, 2019

You can see the created test project in the Navigator panel on the left:

Getting Started with SoapUI: Test cases in the Navigator panel

Click the image to enlarge it.

The project has multiple test cases (one per each operation). They are all grouped into a test suite, which, in its turn, belongs to the project.

In our case, each test case has only one request test step. In real life, your test cases will typically have multiple steps:

Getting Started with SoapUI: Test case with multiple requests

We will explain how to add requests to a test case on the next step of this tutorial.

To explore the service, switch to Projects. On the left, in the Navigator panel, you will see a tree-like structure of the service’s resources and requests:

Functional API testing with SoapUI: Web service structure

Click the image to enlarge it.

The topmost node corresponds to a web service. Its child nodes correspond to resources. The resource nodes, in their turns, have child nodes that match requests that are defined for a resource in the web service specification.

Use the editor on the right to view parameters of the selected service, resource or request.

Some resources have multiple requests defined. These requests typically have different HTTP methods. Some other resources have only one request. The requests that you see in the tree in Projects serve as template requests. For example, you can set different parameters in each request here and then use these requests as a base for your request test steps in SoapUI.

Functional API testing with SoapUI: Template requests

Click the image to enlarge it.

In your project, you can create as much templates for a request as needed.

You can also run a request from the request editor to check if this request works correctly. Note, however, that this will be an individual request run. To simulate a real scenario, you need to run a test case with multiple requests.

On the next step of the tutorial we will add a request to a test case and modify request parameters.

Prev     Next

See Also

Creating Your First Functional Test
Interface Reference
Managing Projects and APIs

Highlight search results