A deterministic stub comprises a series of Receive Request/Send
Response or Subscribe/Publish actions that are based on the message
used to create the stub.
About this task
To create a deterministic stub from recorded
events:
Procedure
- In IBM® Rational® Integration Tester’s
Recording Studio perspective, select multiple recorded events on the
Events View window.
- Click the arrow button
() next to the Save Stub from selected events button
() on the Events View toolbar and then click Save
Deterministic Stub on the shortcut menu.
Alternatively, right-click the messages and click Save
Deterministic Stub on the shortcut menu.
The Save Stub dialog box is displayed.
- Select the operation with which you want
to associate the stub.
Note: If there is
only one operation associated with the selected recorded events, it
is selected automatically when the Save Stub dialog box is displayed.
- In the Stub Name field, enter the
name of the stub.
- Optional: Clear the Edit Stub
on save check box if you do not want to edit the stub after creating
it.
- Click OK.
If the Edit Stub on save check box on the Save
Stub dialog box was selected, Rational Integration Tester Test
Factory perspective is displayed, and the newly created stub is displayed
under the relevant logical resource on the Test Factory perspective’s
component tree and the stub is displayed on a basic Stub Editor screen
that does not support transitions and behaviors (for information about
modifying stub, refer to Modifying message-based stubs).
Results
If the Edit Stub on save check box
is cleared and you want to verify that the stub has been created,
you must open Rational Integration Tester Test
Factory perspective and view the component tree.