Configuring stub pass-through behavior
You can configure a stub to use pass-through actions in HCL OneTest™ API in three ways.
Method | Application | Description |
---|---|---|
Use the Pass-through window on the Properties tab of the Stub Editor | HCL OneTest™ API |
The transport type (HTTP, IBM® WebSphere® MQ, or WebMethods Integration Server) associated with a stub determines the range of possible pass-through actions for each operation within a stub. The Pass-through window on the Properties tab on the Stub Editor is used to configure a specific pass-through action for each operation in the stub (irrespective of the number of events that are defined for each operation) that will be executed if the stub cannot process any requests from any of the relevant transport types (HTTP, WebSphere® MQ, or WebMethods Integration Server). Irrespective of the number of events (configured on the Events tab of the Stub Editor) that are defined for each operation within a stubs properties, there can be only one pass-through action for each operation. (For instructions, refer to the table in The Properties tab.) |
Customize a stubs execution to use the sift-and-pass-through capability temporarily | HCL OneTest™ API |
Instructions:
|
Modify a stubs properties to use the sift-and-pass-through capability before starting the stub | HCL® Quality Server | For instructions, see Starting stubs by using the HCL Quality Server method. |
Add a Pass-through action to the stub | HCL OneTest™ API | For instructions, see Stub actions. |