Security settings for HCL OneTest™ API MQ alias queue recording
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.
Queue alias recording authorities
To successfully
perform alias queue recording, the following MQ authorities must be
granted to the following users:
A sample script SetAliasRecordingAuthorities.bat or SetAliasRecordingAuthorities.sh that
configures the required permissions in the queue manager is available
inside a scripts folder of a
- HCL OneTest™ API user. The MQ Username as configured in the MQ physical transport within HCL OneTest™ API.
- Putting application user. The MQ Username used by applications when performing an MQ PUT to the queues being recorded.
Note: Before changing the queue manager authorities, use the
dmpmqaut
command
to back up the existing queue manager authorities.Object | Permissions |
---|---|
Queue manager:
|
|
Queue:
|
|
Queue:
|
|
Queue:
|
|
Topic:
|
|
Queue:
Note: The name of the alias queue that is being recorded. |
|
Queue:
|
Note: This queue manager authority is granting the create permission
to the Queue @class object, allowing the user the
permission to create queues. |
Topic:
|
Note: This queue manager authority is granting the create permission
to the Topic @class object, allowing the user the
permission to create topics. |
Queue:
Note: The name of the base queue that the alias currently points
at. This name must be reapplied should the name of the base queue
change. |
|
Object | Permissions |
---|---|
Queue manager:
|
|
Queue:
Note: The name of the alias queue that is being recorded. |
|
Topic:
|
|
.zip
file in the HCL Quality Server installation
directory (for example, <Server installation directory>\tools\IBM\WebSphereMQ\dist)
in
the .zip
file named IBMWebSphereMQdist.zip
. The sample scripts containing the distributed WebSphere® MQ API Exit .zip
file, can be downloaded from HCL Quality Server.