Recording by using Queue aliasing mode

An alias queue is an WebSphere® MQ object that refers to another queue. The object to which the alias is pointing can be changed without affecting the client application, which continues to reference the alias.
Note: This recording mode is available only if IBM® WebSphere MQ 7.1 and later is installed and configured in Library Manager.

This recording approach can be used where the publishing application uses a queue alias name rather than an actual queue name.

publishing using queue alias name

Note: If security is enabled for the queue manager, you must enable certain authorities in the queue manager for the HCL OneTest™ API MQ alias queue recording to access the HCL OneTest API alias queue. For information, see Security settings for HCL OneTest API MQ alias queue recording.
In Queue Aliasing mode, when recording starts, HCL OneTest API creates a topic automatically and reconfigures the queue alias to publish to the topic. HCL OneTest API then sets up two subscribers to the topic:
  • One subscriber is the original queue (so that the subscriber still receives the message).
  • The other subscriber is a queue that is used for Recording Studio.
Note: Recording Studio warns you if it is unable to perform the required reconfiguration.
queue alias publishing topic with two subscribers in the topic

When recording is stopped, HCL OneTest API reconfigures the queues back to the original configuration. If it is not possible (for example, if there is an open connection to the alias), HCL OneTest API displays a warning message that it could not reconfigure. In such cases, manual reconfiguration by using the queue manager is required. Alternatively, starting and stopping the recording again will force HCL OneTest API to reattempt the reconfiguration. However, it can be attempted only after you disconnect the applications that are holding open any connections to the queue alias.

Feedback