Replication Agent provides a simple means of testing network connections.
The connection specifications (server name, port number, user login, and so forth) recorded in the Replication Agent configuration parameters are not correct.
The Replication Agent cannot establish a connection to a server because of a network failure.
The Replication Agent cannot establish a connection to a server because the server is down.
The test_connection command does not validate Replication Agent user permissions in the primary database. It verifies only that the user and password specified in the pds_username and pds_password parameters can log in to the primary data server.
The test_connection command does verify that the Replication Agent user login (specified in the rs_username and rs_password parameters) has connect source permission in the primary Replication Server.