ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » TCP/IP tool to send a test message

Post new topic  Reply to topic
 TCP/IP tool to send a test message « View previous topic :: View next topic » 
Author Message
vennela
PostPosted: Thu Jul 25, 2013 11:54 am    Post subject: TCP/IP tool to send a test message Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Hi

Can somebody suggest a tool to send TCP/IP messages to broker.
Is there something in the toolkit?
I tried nettool, but looks like it does not have that feature

Thanks
Back to top
View user's profile Send private message Send e-mail Visit poster's website
lancelotlinc
PostPosted: Thu Jul 25, 2013 11:57 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

cURL is a great tool. Fully automatable.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
vennela
PostPosted: Thu Jul 25, 2013 12:49 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Thanks

This tool looks great

Can you please send me couple of sample commands relevant to TCPIP to get me started

I tried HTTP and they work fine
I am not having luck sending TCPIP

Thanks
Back to top
View user's profile Send private message Send e-mail Visit poster's website
vennela
PostPosted: Thu Jul 25, 2013 12:51 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Should I be using telnet as the protocol for sending tcpip messages?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mqjeff
PostPosted: Fri Jul 26, 2013 1:56 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

vennela wrote:
Should I be using telnet as the protocol for sending tcpip messages?


I thought about this, and I don't really think so. Telnet is an interactive exchange, and I don't think it's entirely suitable for most TCP communications. But I could be wrong on that.

My point is that telnet is going to keep the session open and it may or may not do the right things *for the app exchange protocol* to write data in blocks and send the right packets and etc.

But I've not done a lot with TCP/IP, so I'm halfway guessing.
Back to top
View user's profile Send private message
Simbu
PostPosted: Fri Jul 26, 2013 2:34 am    Post subject: Reply with quote

Master

Joined: 17 Jun 2011
Posts: 289
Location: Tamil Nadu, India

We can use apache-jmeter to send TCPIP message to message broker
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Fri Jul 26, 2013 3:02 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

vennela wrote:
Should I be using telnet as the protocol for sending tcpip messages?


Yes, here's an example:

Code:
type admin_analyzebackoutpayload.xml | %CURL_location% telnet://www.example.com:6432


Where the XML file contains the bytes you want to send and CURL_location environment variable contains the full path and filename to the cURL executable. I put this into a batch file that I can click on and edit the XML file as needed in Eclipse.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
bharathi.tech12
PostPosted: Fri Jul 26, 2013 7:08 am    Post subject: Reply with quote

Voyager

Joined: 14 May 2013
Posts: 93

Hi,

why cant we create another flow with http/soap input node and calling the tcp/ip server/client node in the same flow.

Correct me if i am wrong.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Fri Jul 26, 2013 7:11 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

bharathi.tech12 wrote:
Hi,

why cant we create another flow with http/soap input node and calling the tcp/ip server/client node in the same flow.

Correct me if i am wrong.


Sure you can do that. But this does not help you when your configuration is incorrect.

For testing, you should use an independent resource. If the tester and the developer are the same, of course its going to work.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » TCP/IP tool to send a test message
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.