|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
PortTester tool |
« View previous topic :: View next topic » |
Author |
Message
|
tczielke |
Posted: Fri Oct 19, 2018 8:04 am Post subject: PortTester tool |
|
|
Guardian
Joined: 08 Jul 2010 Posts: 941 Location: Illinois, USA
|
Sometimes I need to do a fair amount of telnet tests for MQ, and the telnet tests themselves are tedious to do. I wrote a simple Java program called PortTester where you can feed it a list of connames and it will check each one and report if it was able to connect or not. It has a 3 second wait time before it stops the connection attempt and reports an error.
If you are interested in using it, you can find the tool here on Roger Lacroix’s Capitalware Java Code Samples web page -> https://www.capitalware.com/pc_win_code_java.html
It was compiled at Java 1.6, so you need a JRE of 1.6 or higher to use it. Since it is Java, you can also run PortTester on any MQ platform. Mainframe is the biggest pain for me for doing telnet tests, so you can set it up on USS and have a simple way to do connectivity tests on z/OS. _________________ Working with MQ since 2010. |
|
Back to top |
|
 |
gbaddeley |
Posted: Sun Oct 21, 2018 2:42 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
What are the suggested use cases?
Does it generate errors on the qmgr error logs? _________________ Glenn |
|
Back to top |
|
 |
tczielke |
Posted: Sun Oct 21, 2018 4:50 pm Post subject: |
|
|
Guardian
Joined: 08 Jul 2010 Posts: 941 Location: Illinois, USA
|
The main use case I would use it for is when you need to do a bunch of telnet tests. These type of simple connect/close socket calls do not generate errors on the qmgr error logs, from what I have seen. Usually, you have to pass some type of bad data across the connected TCP session to get the queue manager to generate an error. _________________ Working with MQ since 2010. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|