Using Greenhat Tester watch mode with Tibco EMS

30 Aug

In GH Tester version 3.3.0 and above, some transports like the Tibco EMS transport have a “watch” mode. In this watch mode, GH Tester receives any new messages sent to the queue but won’t remove them from the queue. In this way it is possible to passively access queue messages without affecting the queue itself. It does this by subscribing to system monitor topics and because of this the transport login configuration must have administration rights on the EMS server in question.

However when trying to perform a test we receive the following error:
Fatal error: Cannot subscribe to “Transports/TIBCO EMS.a3t” -Error creating listener Linked to error: The Transport Connection or Watch settings user is not an admin user

The error is a bit unclear, because we are in fact connecting with the admin user and should have full-access to the queues. But in some way the Greenhat Tibco Messenging plugin guide (pdf) shows the anser. You must uncheck the “Use JNDI to lookup destination” checkbox.

In our test scripts we can now actually monitor (“watch”) queues for messaging travelling through them and being picked up by other components in the workflow.
Leave a comment

Posted by on 30-08-2010 in EMS, GreenHat, Testing


Tags: , ,

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: