Test network connectivity using casocktest for csam (Socket Adapter/SockAdapter)
book
Article ID: 265200
calendar_today
Updated On:
Products
Autosys Workload Automation
Issue/Introduction
Socket Adapter has a test binary, casocktest, using which basic network tests can be done.
Environment
AutoSys Workload Automation
Resolution
On the machine to act as the Server (example: machine1) run casocktest in server mode on port 9000 (change the port number per requirement):
cd $CSAM_SOCKADAPTER/bin ./casocktest s 9000
On the client machine (example: machine2) from which CSam client connection is initiated against the above server (machine1) run casocktest in client mode: cd $CSAM_SOCKADAPTER/bin ./casocktest c machine1 9000
This allows us to do a client-server test against a given port, 9000 in the above scenario