Stage 1: Log On and Log Off

Successful Log On, Clock, and Heartbeats

1)  Successfully open TCP socket connection.

2)  Send a Logon message with proper trader login and password.

3)  Receive Logon confirmation message.

4)  Wait for 2-3 heartbeat time intervals, check that sides exchange with Heartbeat messages.*

5)  Check that SendingTime values in Heartbeat messages are close on FIX client and CQG side.

6)  Send a Logout message.

7)  Close the TCP socket connection.

 

*Note: It is acceptable for client application to send some query requests automatically at this point (after receiving Logon acknowledgement).

Note: All other tests assume that the TCP connection is established and closed successfully, and so these steps will not be listed again.

Recover from Invalid Logon

Logon rejected because password is wrong, trader is absent/disabled, etc. (Verify that client application does not enter an infinite loop of bad connection attempts.)

1)  Password will be changed externally to make logon fail.

2)  Send a Logon message with proper trader login and password.

3)  Receive a Logout message because of invalid password.

Logon Rate

Too frequent logons from FIX client application (logon request with 1-minute interval or less) could overload the Gateway system (especially if session persistence is enabled for them). In this test, check that the FIX client application does not send logon requests more often than every minute.