ex_fix
ex_fix copied to clipboard
Add validation of SendingTime accuracy
Implement test case from FIX_Transport_1.1 specs, page 53:
SendingTime value received is either not specified in UTC (Universal Time Coordinated also known as GMT) or is not within a reasonable time (e.g. 2 minutes) of atomic clock-based time.
Expected behavior:
- Send Reject (session-level) message referencing inaccurate SendingTime (>= FIX 4.2: SessionRejectReason = "SendingTime acccuracy problem")
- Increment inbound MsgSeqNum
- Send Logout referencing SendingTime value
- (optional) Wait for Logout message response (note likely will have inaccurate SendingTime) or wait 2 seconds whichever comes first
- Disconnect
- Generate an "error" condition in test output.