Highlighted
Regular Contributor.
Regular Contributor.
565 views

Issue while sending JMS message to IBM MQ through loadrunner webservices protocol

Hi All,

I am planning to do performance testing for IBM MQ.

I have created a binding file and trying to send messages over JMS through webservices protocol, but getting below error while executing the script

 

Action.c(3): jms_set_general_property called - user_define_timeout = 20
Action.c(3): jms_set_general_property called - SecurityPrincipal =
Action.c(3): jms_set_general_property called - SecurityCredentials =
Action.c(3): jms_set_general_property called - SetCorbaOrb =
Action.c(3): jms_set_general_property called - auto_generate_selector = 0
Action.c(3): jms_set_general_property called - EnableTibcoSslJndiLookup =
Action.c(3): java.naming.provider.url = file:/C:/JNDIBind
Action.c(3): java.naming.factory.initial = com.sun.jndi.fscontext.RefFSContextFactory
Action.c(3): Error:Failed to set property name JMS_MESSAGE_TYPE value Text Message due to the following exception : javax.naming.NameNotFoundException: com.ibm.mq.jms.MQQueueConnectionFactory
javax.naming.NameNotFoundException: com.ibm.mq.jms.MQQueueConnectionFactory
 at com.sun.jndi.fscontext.RefFSContext.getObjectFromBindings(RefFSContext.java:400)
 at com.sun.jndi.fscontext.RefFSContext.lookupObject(RefFSContext.java:327)
 at com.sun.jndi.fscontext.RefFSContext.lookup(RefFSContext.java:146)
 at com.sun.jndi.fscontext.FSContext.lookup(FSContext.java:127)
 at javax.naming.InitialContext.lookup(InitialContext.java:392)
 at com.mercury.ws.jms.ConnectionManagerImpl.initialize(ConnectionManagerImpl.java:99)
 at com.mercury.ws.jms.JMSSupportImpl.initialize(JMSSupportImpl.java:28)
 at com.mercury.ws.jms.JMSBridge.init_jms(JMSBridge.java:154)

Action.c(3): Error:JMS call execution failed

 

Please help me with solution, thanks in advance

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.