Configuring HCL OneTest™ API for virtualizing IMS™ Connect traffic
You can set up HCL OneTest™ API to virtualize IBM® IMS Connect traffic.
Before you begin
- Configured HCL OneTest™ API to record IMS™ Connect traffic. See Configuring HCL OneTest API for recording IMS Connect traffic.
- Configured an IMS™ Connect transport. See Creating the IMS Connect transport.
About this task
Configuring HCL OneTest™ API to virtualize IMS™ Connect traffic involves configuring the relevant operations in the Logical View of the Architecture School perspective.
Procedure
-
Double-click the relevant operation in the Logical View of Architecture School
perspective.
The Operation window for the selected operation is displayed.
- Click the Stub tab.
-
Click Browse to select the transport.
The Select a Resource window is displayed.
-
Click the relevant IMS™ Connect transport that must be
used for the virtual service.
Note: To display the desired transport, you have to click No, Yes, or Only Direct.
- Click OK.
The fields displayed in the Stub tab and their descriptions are outlined in the following table. The default values displayed in the fields are determined by the configuration of the selected transport.
Field Description Datastore
The value displayed is the logical name that IMS™ Connect has for an IMS™ instance.
The datastore is used to route the transaction execution to an IMS™ instance known to IMS™ Connect. There is a many-to-many relationship between IMS™ Connect and IMS™ instances. For example, in a simple configuration, such as one IMS™ instance and one IMS™ Connect, the default value for the datastore name is
IMS1
.Client ID
The ID used by IMS™ Connect and IMS™ to identify each IMS™ Connect client.
The ID is also used for the names of asynchronous message queues (OTMA TPipes) and other internal data structures in IMS™ Connect and OTMA.
Code Page
The code page number.
RACF® Identity
The Resource Access Control Facility (RACF®) can be enabled on a per-transaction basis on the server.
To support RACF® credentials, an RACF® identity can be created (in the Physical View of Architecture School) and referenced here. The default is None.
Message-Type
The IMS™ message structure type.
Transaction
The transaction code that enables IMS™ to understand the type of work.
Note: HCL OneTest™ API routes the virtualized traffic based on the Datastore, the Client ID, the Message-type, and the Transaction Code.Ensure that the Datastore and Code Page fields contain the required values.
- Click OK.
Results
You can now use HCL OneTest™ API to virtualize the traffic for the selected IMS™ Connect transport.