Ask a Question

JMS not working in ReadyAPI

lahu
New Contributor

JMS not working in ReadyAPI

ReadyAPI version: 2.2.0
ActiveMQ version : 5.15.1

Attached project for reference

 

I am configuring JMS by using following steps
1) Provide HermesJMS path :
Go to file> Preferences > Tools and give below path for HermesJMS
Give path as : C:\Program Files\SmartBear\ReadyAPI-2.1.0\hermesJMS

 

2) Install ActiveMQ and 
start activemq.bat

3) Configure HermesJMS

             a) Create Session

             b) Add provider as ActiveMQ
             c) Add Connection Factory
Please check the screenshot for details

sessionTab.PNGProvidesTab.PNG

 

4) Create a Rest Project in ReadyAPI

 

5) Create a JMS Request in SoapUI tab

JMSRequest.PNG
           a) Add JMS end point

AddJMSEndPoint.PNG

6) Go To ServiceV tab
         a) Create new Empty JMS Vert
         b) Add JMS route

AddJMSRoute.PNG
         c) Add Response

AddJMSResponse.PNG


7) Start JMS vert

Getting below exception while starting the JMS vert :

 

Fri Nov 17 18:59:50 IST 2017:ERROR:Unable to create connection
javax.jms.JMSException: You cannot create a durable subscriber without specifying a unique clientID on a Connection
at org.apache.activemq.ActiveMQConnection.checkClientIDWasManuallySpecified(ActiveMQConnection.java:1288)
at org.apache.activemq.ActiveMQSession.createDurableSubscriber(ActiveMQSession.java:1472)
at com.eviware.soapui.impl.wsdl.submit.transports.jms.JMSConnectionHolder.createDurableSubscription(JMSConnectionHolder.java:164)
at com.eviware.soapui.ready.jms.JmsConnectionManager.createConnection(JmsConnectionManager.java:226)
at com.eviware.soapui.ready.jms.JmsConnectionManager.createConnection(JmsConnectionManager.java:203)
at com.smartbear.servicev.core.model.impl.jms.JmsVirtRunner.startMessageConsumer(JmsVirtRunner.java:166)
at com.smartbear.servicev.core.model.impl.jms.JmsVirtRunner.initializeConsumer(JmsVirtRunner.java:122)
at com.smartbear.servicev.core.model.impl.jms.JmsVirtEngine.doStart(JmsVirtEngine.java:51)
at com.smartbear.servicev.core.model.impl.jms.JmsVirtEngine.doStart(JmsVirtEngine.java:1)
at com.smartbear.servicev.core.engine.impl.AbstractVirtEngine.start(AbstractVirtEngine.java:33)
at com.smartbear.servicev.core.engine.impl.DefaultSvpEngine.start(DefaultSvpEngine.java:101)
at com.smartbear.servicev.core.engine.impl.DefaultSvpEngine.start(DefaultSvpEngine.java:84)
at com.smartbear.servicev.controller.virt.LocalVirtController$_start_closure1.doCall(LocalVirtController.groovy:79)
at com.smartbear.servicev.controller.virt.LocalVirtController$_start_closure1.call(LocalVirtController.groovy)
at groovy.lang.Closure.run(Closure.java:507)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

2 REPLIES 2
NBorovykh
Moderator

Hello Lahu,

 

I see a support ticket, opened by your colleague for the same issue. 

 

We were able to reproduce the issue, and now our Dev team is analyzing it. We will keep your team posted on their progress in that support ticket.

Natalie
Customer Care Team

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
lahu
New Contributor

Hi Natalie,

 

Thank you for your help!

cancel
Showing results for 
Search instead for 
Did you mean: