You can specify the stubbing settings depending on the message
exchange pattern (MEP) defined for the email transport.
-
Double-click the operation in the Logical View tab of
Architecture School perspective.
The Operation dialog is displayed.
-
Click the Stub tab.
The Stub tab is
displayed.
-
Complete the following steps in the Stub tab:
-
Click Browse.
-
Select the physical email resource as the required
transport in the Select a
Resource dialog.
Refer to the following table for the options and the action you can take:
| Option |
Action |
| No |
If you select No, you can select any
transport in the project. |
| Yes |
If you select Yes, you can select only
transports that are referenced (directly or indirectly) by the operation
that contains the test. |
| Only Direct |
If you select Only Direct, you can
select only transports that are referenced directly by the operation that
contains the test. |
-
Click OK in the Select a Resource dialog
box.
Note: The Default Timeout
section contains common settings for stub replies. No change is required. The response
time is managed by the stubs execution engine in IBM® DevOps Test Integrations and APIs (Test Integrations and APIs).
-
Click OK.
You have configured the stubbing settings in the
operation.
You can now create stubs based on the stubbing settings for
the operation from the Test Factory view.