Applies to ReadyAPI 3.1, last modified on March 26, 2020

This topic describes how to work with SOAP APIs in the Navigator panel to organize them for better accessibility and readability. SOAP APIs are organized in the following way:

SOAP API Structure

Click the image to enlarge it.

Common tasks

You can reorganize your interfaces and requests. Operations are specified in a WSDL definition, so you cannot add or remove them. Also, you cannot clone requests from one operation to another.

Copying items

In ReadyAPI terms, cloning means creating the exact copy of an item.

To clone an item:

  1. Right-click the item in the Navigator panel.

  2. Select Clone <Item>.

  3. Specify the name of the new item.

Renaming items

To rename an item:

  1. Right-click the item in the Navigator panel.

  2. Select Rename.

  3. Specify a new name for the item.

Renaming items does not affect the API definition, it affects only item representation in ReadyAPI.

Renaming an item of a composite project will change the matching item's file name.

Deleting items

To delete a item, select it and press Shift+Delete. Then, confirm you no longer need it.

Changing the item order

You can drag most items to the position you need in the Navigator panel. The item order does not affect your tests.

Note: You cannot reorder operations.

Request specific tasks

Adding requests to SoapUI tests

To add a request to a SoapUI test:

  1. Right-click the request in the Navigator panel and select Add to TestCase
    – or –
    Open the request editor and click Add to TestCase.

  2. Select the test case to add the created test step to. You can also create a new test case or test suite and place the request there. Click OK.

Adding requests as virtual responses

To add a request as a virtual response to a SoapUI test:

  • Right-click the request in the Navigator panel and select Add as SOAP VirtResponse Step.

  • Select the test case to add the created test step to. You can also create a new test case or test suite and place the request there. Click OK.

ReadyAPI will add the latest received response to the created SOAP virtual response test step.

Generating test suites

To create a test suite and test cases based on the service definition, do the following:

  1. Right-click the service and select Generate TestSuite.

  2. Use the Generate TestSuite dialog to configure how ReadyAPI should create test cases:

    Generate TestSuite dialog
    • TestSuite – Specifies the test suite to which the created test cases will be added.

    • Style – Specifies how ReadyAPI organizes the created test cases:

      • One TestCase for each Operation – ReadyAPI creates SOAP Request test steps for each request in the selected operations and organizes them into several test cases.

      • Single TestCase with one Request for each Operation – ReadyAPI creates SOAP Request test steps for each request in the selected operations and organizes them into a single test case.

    • Request Content – Specifies which content ReadyAPI should use to generate requests:

      • Use existing Requests in Interface – ReadyAPI creates requests based on the content specified in the request editor.

      • Create new empty requests – ReadyAPI creates requests with the default request content.

    • Operations – Selects operations to generate test cases.

    • Generate LoadUI Test – Specifies whether ReadyAPI creates a load test for each created test case.

  3. Click OK.

ReadyAPI will create new test cases and name them based on the definition.

See Also

SOAP Service Interface
Working With APIs

Highlight search results