cancel
Showing results for 
Search instead for 
Did you mean: 

Fail to Connect to JMS using Groovy script

SOLVED
Highlighted
New Contributor

Fail to Connect to JMS using Groovy script

Hi,

New to community. 

I couldnt able to run scripts marked as solutions for TechCorner Challenge #10 . ( Reading messages from Queue).

Could you suggest any pre-requisite to run this scripts. (If any jars, where to refer)

Also what should i give Host & port number  ?

 

def host = "tcp://x.x.x.x:61616"

 

Many Thanks

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Community Hero

The scripts of mine that were marked as an answer require the ActiveMQ JAR to be copied and placed into the LIB folder within your ReadyAPI installation.

 

The line def host = "tcp://x.x.x.x:61616" needs to be pointed at the ActiveMQ server you wish to utilize the scripts to run against. These scripts require an actively running ActiveMQ server to communicate with. You can get the ActiveMQ Client Jar from the Maven Repository 




---

Click the Accept as Solution button if my answer has helped, and remember to give kudos where appropriate too!

View solution in original post

Highlighted
Community Manager

Thank you for the clarification Matthew, this is much appreciated!

 

@sprasadboga did this help you run the script?


Sonya Mihaljova
Community and Education Specialist

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today

View solution in original post

4 REPLIES 4
Highlighted
Community Hero

The scripts of mine that were marked as an answer require the ActiveMQ JAR to be copied and placed into the LIB folder within your ReadyAPI installation.

 

The line def host = "tcp://x.x.x.x:61616" needs to be pointed at the ActiveMQ server you wish to utilize the scripts to run against. These scripts require an actively running ActiveMQ server to communicate with. You can get the ActiveMQ Client Jar from the Maven Repository 




---

Click the Accept as Solution button if my answer has helped, and remember to give kudos where appropriate too!

View solution in original post

Highlighted
Community Manager

Thank you for the clarification Matthew, this is much appreciated!

 

@sprasadboga did this help you run the script?


Sonya Mihaljova
Community and Education Specialist

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today

View solution in original post

Highlighted
New Contributor

Many Thanks !

Tags (1)
Highlighted
Community Hero

More than welcome, and I am always happy to help! I've just  been tied up a lot so I missed the message you sent at first. Just FYI, that's why it's better to make a post instead of private messaging someone. 😁




---

Click the Accept as Solution button if my answer has helped, and remember to give kudos where appropriate too!
New Here?
Join us and watch the welcome video:
Announcements
TechCorner Leaderboard
Want a fun and easy way to learn ReadyAPI and show off your skills? Try solving weekly TechCorner challenges and get into the Leaderboard!


Challenge Status

Get a full Raw JMS request

Participate!

Compare an expected JSON value and actual response in Events

Participate!

Fetch value/data from JSON response using Groovy Script

See replies!

Get data from Petstore and add it to Excel sheets

Participate!
Top Kudoed Authors