Creating deterministic stubs

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

  1. In IBM® Rational® Integration Tester’s Recording Studio perspective, select multiple recorded events on the Events View window.
    Note: For information about using the Recording Studio perspective to record events, refer to Rational Integration Tester reference.
  2. 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.

  3. 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.
  4. In the Stub Name field, enter the name of the stub.
  5. Optional: Clear the Edit Stub on save check box if you do not want to edit the stub after creating it.
  6. 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.


Feedback