Testing Basic Functions of the SAProuter

Context

Before using SAProuter, you should test whether there are any network problems.

The following table shows the test scenario when using niping:

SAProuter runs in window 1, the server in window 2, and the client in window 3.

Testing on Windows and UNIX Systems

Window 2 (host2)

Window 1 (host1)

Window 3 (host3)

Without SAProuter

niping -s

niping -c -H host2

With SAProuter

niping -s

saprouter -r

niping -c -H /H/host1/H/host2

Testin on IBM i Systems

Window 2 (host2)

Window 1 (host1)

Window 3 (host3)

Without SAProuter

call niping ('-s')

call niping ( '-c' '-H' 'host2' )

With SAProuter

call niping ('-s')

call saprouter ('-r')

call niping ( '-c' '-H' '/H/host1/H/host2' )

Procedure

  1. Install SAProuter and program niping
  2. Open three windows (shells) on one or more hosts.
  3. Start SAProuter in window 1 (on host1 with option -r).
  4. In window 2 (host2) start test program niping to simulate a test server (see table above).
  5. In window 3 (host3) start test program niping without the SAProuter to simulate a client (see table above).
    This command tests the connection without the SAProuter, that is directly between host2 and host3..
  6. In window 3 start test program niping again with the SAProuter (see table above).
    This command tests the connection with SAProuter. A host name is interpreted as a route (over one or more SAProuters to the server) if /H/ is added as a prefix to the host name. More information: Route Connections
  7. Optional step: Enter the command niping niping -t (IBM i: call niping ( '-t' )) to perform a self-test for the local host.
    To get an idea of the options provided by niping enter niping without any parameters. SAP Note 500235 Information published on SAP site contains comprehensive documentation about the niping tool.

Results

  • In steps 3 and 4, data packages are sent to the server, and the server sends the data packages back.

  • In step 7 a list of function names, parameters, and return codes is displayed. If the self-test is successful, the following message appears:

    *** SELFTEST O.K. ***