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 » News/Updates » PortTester tool

Post new topic  Reply to topic
 PortTester tool « View previous topic :: View next topic » 
Author Message
tczielke
PostPosted: Fri Oct 19, 2018 8:04 am    Post subject: PortTester tool Reply with quote

Guardian

Joined: 08 Jul 2010
Posts: 939
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
View user's profile Send private message
gbaddeley
PostPosted: Sun Oct 21, 2018 2:42 pm    Post subject: Reply with quote

Jedi

Joined: 25 Mar 2003
Posts: 2491
Location: Melbourne, Australia

What are the suggested use cases?
Does it generate errors on the qmgr error logs?
_________________
Glenn
Back to top
View user's profile Send private message
tczielke
PostPosted: Sun Oct 21, 2018 4:50 pm    Post subject: Reply with quote

Guardian

Joined: 08 Jul 2010
Posts: 939
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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » News/Updates » PortTester tool
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.