Overview
ISO 3531-3:2022 - "Financial services - Financial information eXchange session layer - Part 3: FIX session layer test cases" defines a set of mandatory and optional conformity tests for the FIX session layer. Published by ISO and prepared by the FIX Trading Community, the standard is applicable to supported FIX session layer versions (4.2, 4.4, FIXT) unless otherwise indicated. It focuses on session-level behavior - ordered delivery, session initiation/resumption and fault recovery - rather than application-level business content.
Key technical topics and requirements
The standard organizes test cases that validate a FIX implementation’s session-layer correctness and robustness. Major topics include:
-
Logon and session initiation
- Buyside (session initiator) and sellside (session acceptor) scenarios, including valid/invalid Logon (35=A) handling and duplicate or unauthenticated identities.
-
Message header and trailer validation
- Tests for BeginString (8), BodyLength (9), MsgSeqNum (34), SenderCompID (49) and TargetCompID (56), SendingTime (52) and standard trailer integrity.
-
Sequence number management and recovery
- Handling of out-of-order, too-high or too-low sequence numbers, ResendRequest (35=2), Sequence Reset (35=4) gap-fill and reset behaviors, and synchronization.
-
Resilience and error handling
- Heartbeat (TestRequest/Heartbeat), Reject (35=3), Logout (35=5), garbled message behavior, and rules for PossDupFlag (43) and OrigSendingTime (122).
-
Advanced and operational tests
- Queueing outgoing messages, encryption support, third-party addressing, simultaneous resend scenarios, and PossResend handling.
-
Conformity test structure
- Tests are expressed as condition/stimulus and expected behaviour, with mandatory vs optional classifications for interoperability assessment.
Practical applications and users
ISO 3531-3:2022 is intended for organizations that develop, deploy or certify FIX session-layer implementations:
- FIX engine and middleware vendors - run conformity tests to ensure reliable session semantics and interoperability.
- Trading venues, brokers and buy-side firms - validate counterpart connectivity, session recovery and message ordering before production deployment.
- QA, integration and certification teams - use the test cases to create automated test suites for regression and conformance testing.
- System integrators and auditors - assess compliance with session-layer expectations during vendor evaluations.
Using these test cases improves interoperability, resilience to network outages, and predictable session recovery - critical for electronic trading infrastructures.
Related standards
- ISO 3531 series (other parts of the FIX session and application layer specifications)
- Normative reference: ISO/IEC 11404 (General-Purpose Datatypes)
Keywords: ISO 3531-3:2022, FIX session layer, FIX protocol, test cases, session conformance, MsgSeqNum, ResendRequest, Logon, Heartbeat, financial services.