Author |
Message
|
vennela |
Posted: Thu Jul 25, 2013 11:54 am Post subject: TCP/IP tool to send a test message |
|
|
 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 |
|
 |
lancelotlinc |
Posted: Thu Jul 25, 2013 11:57 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
vennela |
Posted: Thu Jul 25, 2013 12:49 pm Post subject: |
|
|
 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 |
|
 |
vennela |
Posted: Thu Jul 25, 2013 12:51 pm Post subject: |
|
|
 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 |
|
 |
mqjeff |
Posted: Fri Jul 26, 2013 1:56 am Post subject: |
|
|
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 |
|
 |
Simbu |
Posted: Fri Jul 26, 2013 2:34 am Post subject: |
|
|
 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 |
|
 |
lancelotlinc |
Posted: Fri Jul 26, 2013 3:02 am Post subject: |
|
|
 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 |
|
 |
bharathi.tech12 |
Posted: Fri Jul 26, 2013 7:08 am Post subject: |
|
|
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 |
|
 |
lancelotlinc |
Posted: Fri Jul 26, 2013 7:11 am Post subject: |
|
|
 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 |
|
 |
|