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 datapool to identify the unique calls.
About this task
To create a reliable messaging call structure in a test:
Procedure
- In the test editor, select the test, and click Add,
and then click Specification-based Structure. The New Web Service Test wizard opens.
- On the Web Service Specification Selection page,
Select WS-ReliableMessaging, and click Next.
- 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.
- On theConfigure Protocol page, select an existing
HTTP transport configuration, or click New to create
a new configuration.
- Specify the URL of the service, the HTTP Method,
and Version.
- In the Header table, click Add to
specify any specific headers that need to be added to the call.
- In the Cookies table, click Add to
specify any specific cookies that need to be used by the call.
- Click Next.
- On the Sequence Options page,
specify how the sequence structure will be created in the test.
- In Message count, specify the number
of calls in the list or the number loop iterations.
- Select Create service call list to generate
a list of calls with the number of messages or Create loop with
datapool to generate a loop with a datapool. The datapool
defines the call number for each call in the loop.
- Select Shuffle sequence if you want the
call numbers to be generated in a random order.
- Click Finish. This action
generates a reliable messaging service call structure in the test.