Adding an asynchronous callback to a service request
To test a proprietary asynchronous service that does not implement the WS-Notification specification, you can add an asynchronous callback to a service request or XML request.
Manually create a web service call or XML call that invokes the asynchronous service. The call must contain an endpoint that specifies the URL of the callback receiver. This endpoint is used to redirect the callback to the tester.
If the service implements the WS-Notification specification, create the asynchronous call structure with the Create New WS-Notification Request and Callback wizard instead. See Creating an asynchronous request structure.
In the callback structure, you can add test elements to
the parallel, receive, and timeout elements to specify the behavior
of the test:
- Parallel contains test elements that are run after the asynchronous request has been sent.
- Receive specifies the message return of the callback and contains test elements that are run after the callback is received.
- Timeout contains test elements that are run if the callback is not received after a specified delay.