Creating a reliable messaging call structure

You can create a test structure dedicated to testing service calls based on the WS-ReliableMessaging specification.

Before you begin

The WS-ReliableMessaging specification provides for a series of SOAP messages to be delivered reliably between distributed applications in the presence of software component, system, or network failures. In the context of a service test, a reliable messaging call structure consists of a series of calls that conform to the specification. The structure can be created either as a sequential list of unique service calls or a loop that contains a call element and uses a dataset to identify the unique calls.

Procedure

  1. In the test editor, select the test, and click Add, and then click Specification-based Structure.
    The New Web Service Test wizard opens.
  2. On the Web Service Specification Selection page, Select WS-ReliableMessaging, and click Next.
  3. Select one or several Web Services Description Language (WSDL) files in your workspace for the web service that you want to test, and click Next.
    If necessary, you can import a WSDL file into the workspace with the Import push button.
  4. On theConfigure Protocol page, select an existing HTTP transport configuration, or click New to create a new configuration.
    1. Specify the URL of the service, the HTTP Method, and Version.
    2. In the Header table, click Add to specify any specific headers that need to be added to the call.
    3. In the Cookies table, click Add to specify any specific cookies that need to be used by the call.
    4. Click Next.
  5. On the Sequence Options page, specify how the sequence structure will be created in the test.
    1. In Message count, specify the number of calls in the list or the number loop iterations.
    2. Select Create service call list to generate a list of calls with the number of messages or Create loop with dataset to generate a loop with a dataset.
      The dataset defines the call number for each call in the loop.
    3. Select Shuffle sequence if you want the call numbers to be generated in a random order.
  6. Click Finish.
    This action generates a reliable messaging service call structure in the test.