Empty stub method

About this task

To create a new empty stub:

Procedure

  1. Open IBM® Rational® Integration Tester’s Test Factory perspective.
  2. Select the operation for which you want to create the stub.
  3. Click the Create New Stubs button () on the Test Factory window’s toolbar.

    Alternatively, right-click the operation and click New > Stubs > Stub on the shortcut menu.

    Note: If at least one stub has already been created, you can right-click the Stubs folder or an existing stub in that folder and select New > Stub.

    The Create new Stub dialog box is displayed.

  4. In the Name field, enter a name for the stub.
  5. Click OK.

    The stub is opened for editing.

    For information about using the Stub Editor to modify or enhance an empty stub, refer to Modifying message-based stubs.

  6. After making any required changes to your stub, you can save it by clicking the Save button () on Rational Integration Tester’s toolbar.

    Alternatively, click File > Save on the menu bar or press CTRL+S.

Results

The stub is now ready to run.

For information about running message-based stubs, refer to Publishing and running stubs.


Feedback