cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to send request and answer through activeMQ using soapUI? Requ and answ is in JSON

SOLVED
Community Hero

Re: Is it possible to send request and answer through activeMQ using soapUI? Requ and answ is in JSO

@Emil91: Glad you got it working! I've bookmarked this thread in case I ever get tasked to do the same sort of ActiveMQ testing. Thanks for the kudos!




---

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

Re: Is it possible to send request and answer through activeMQ using soapUI? Requ and answ is in JSO

Based on the link that you first posted, with my little understanding, I was persistently saying what is needed, looks you were little anxiously doing keep all sorts of things. Any ways, a good experience though.
May that REST on ActiveMQ is not clear enough or need a prior broader understanding to get what was written there.


Regards,
Rao.
Contributor

Re: Is it possible to send request and answer through activeMQ using soapUI? Requ and answ is in JSO

@nmrao@msiadakGuys any of you know how to recieve result from activeMQ topic using REST service and GET method??? What exactly do i need to put inside "name" and "value" in GET request...

 

Service which I'm testing now is working as Message goes to QUEUE and from queue it goes to TOPIC.

 

URL for method GET which i tried to use to recieve result: http://admin:admin@192.168.5.190:8161/api/message?destination=topic://topic:test.topicreply1

 

Perhaps service isn't working correctly, thats why I can't recieve answer... When I'm using GET method after 5-10 sec I'm reciving that: HTTP/1.1 204 No Content , Smiley Indifferent Well I dont have much experience working with activeMQ maybe someone on this forum might help me? All i want is possibility to recieve result in soapUI :<

Community Hero

Re: Is it possible to send request and answer through activeMQ using soapUI? Requ and answ is in JSO

Unfortunately only documentation is the source and need to follow the same.

Have you checked with your team to know why is not working?


Regards,
Rao.
Community Hero

Re: Is it possible to send request and answer through activeMQ using soapUI? Requ and answ is in JSO

@Emil91: Unfortunately you're stepping out of the realm of knowledge this forum has (Smartbear products, and specifically here SoapUI NG Pro.) You may be better off asking this question in a support area for ActiveMQ. @nmrao is right, we're going to have to read the same documentation since we aren't familiar with ActiveMQ.

 

You may want to check out the ActiveMQ forums here.




---

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

Re: Is it possible to send request and answer through activeMQ using soapUI? Requ and answ is in JSO

Just strike a thought.

topic channel is used to distribute multiple subscribers.

By the time you hit get request, the message on the topic might lost unless if that is durable topic. See if this applicable in your case.

You may read more about it online.


Regards,
Rao.
Contributor

Re: Is it possible to send request and answer through activeMQ using soapUI? Requ and answ is in JSO

@nmrao Well thank you for this idea, I tried to set it Smiley Tongue as you said, but seems like there is no need... Finally i figured out how to send POST(request) and send GET(receive consumed result).

 

@msiadak Thank you anyway for trying Smiley Tongue.

 

I will paste it here, perhaps someone in future will have similar problem.

 

http://admin:admin@192.168.X.XXX:8161/api/message?destination=queue://test.queue <-- This is request lets say for method PING, I'm not including JSON code here due to company politics, but lets say that someone have method PING and have to send it as POST, above URL will do the rest.

 

http://192.168.X.XXX:8161/api/message/test.topic?type=topic&clientId=ID:WIN-XXXXXXXX-XXXXX-XXXXXXXXX...<-- This is request for method GET, in my case i don't need to use any parameters, all i have to do is use that URL, and i will receive result in JSON format.

 

All I have to do now is create some sort of groovy script which will be able to compare address with coordinated (longitude and latitude)... Let's say that I'm sending Address and receiving coordinates, is there any way to compare if latidude and longitude belong to this address?? That would be very useful, but i think its pretty complicated.

 

Best regards

 

Emil

 

 

New Contributor

Re: Is it possible to send request and answer through activeMQ using soapUI? Requ and answ is in JSO

I'm also trying to send request in Json format to remote activemq using Soapui.No luck 

Can you help me sending  URL for destination Queue.I tried one you gave nothing working..Any suggestion

Community Hero

Re: Is it possible to send request and answer through activeMQ using soapUI? Requ and answ is in JSO

@ManP : You're replying to a thread that is over about 2 years old. You may want to consider starting a new thread and posting your specific details and questions. 




---

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

Re: Is it possible to send request and answer through activeMQ using soapUI? Requ and answ is in JSO

@ManP try this:

 

In case if you need send "GET" request to topic:

http://192.168.0.0:0000/api/message/name_of_topic?type=topic&clientId=Id_of_topic

 

In case if you need send "POST" request to queue:

http://192.168.0.0/api/message?destination=queue://name_of_queue

 

GL & have fun.

 

Best Regards

Emil

New Here?
Join us and watch the welcome video:
Top Kudoed Authors