Media Over QUIC S. Nandakumar Internet-Draft Cisco Intended status: Informational 17 November 2026 Expires: 21 May 2027 End-to-End Session Tests for Media over QUIC Transport draft-nandakumar-moq-e2e-session-tests-00 Abstract This document describes a set of end-to-end tests that exercise a Media over QUIC Transport (MOQT) relay through real client sessions. For each test it gives a short description, the inputs, the message flow as a call-flow diagram, and the expected outcome. The tests apply to MOQT draft-18 and later; results for several public relays are published in the moq-web interop report. About This Document This note is to be removed before publishing as an RFC. Status information for this document may be found at https://datatracker.ietf.org/doc/draft-nandakumar-moq-e2e-session- tests/. Discussion of this document takes place on the Media Over QUIC mailing list (mailto:moq@ietf.org), which is archived at https://mailarchive.ietf.org/arch/browse/moq/. Subscribe at https://www.ietf.org/mailman/listinfo/moq/. Status of This Memo This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet- Drafts is at https://datatracker.ietf.org/drafts/current/. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." This Internet-Draft will expire on 21 May 2027. Nandakumar Expires 21 May 2027 [Page 1] Internet-Draft MOQT E2E Session Tests November 2026 Copyright Notice Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved. This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/ license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 4 2. Conventions and Definitions . . . . . . . . . . . . . . . . . 4 3. Test Environment . . . . . . . . . . . . . . . . . . . . . . 4 4. Test Description Format . . . . . . . . . . . . . . . . . . . 5 5. Test Cases . . . . . . . . . . . . . . . . . . . . . . . . . 6 5.1. Session Setup . . . . . . . . . . . . . . . . . . . . . . 6 5.2. Publish Namespace . . . . . . . . . . . . . . . . . . . . 6 5.3. Publish . . . . . . . . . . . . . . . . . . . . . . . . . 7 5.4. Namespace Subscription . . . . . . . . . . . . . . . . . 7 5.5. Subscribe and Deliver . . . . . . . . . . . . . . . . . . 8 5.6. Pause and Resume . . . . . . . . . . . . . . . . . . . . 9 5.7. Unsubscribe . . . . . . . . . . . . . . . . . . . . . . . 10 5.8. Track Status . . . . . . . . . . . . . . . . . . . . . . 11 5.9. Fetch from Cache . . . . . . . . . . . . . . . . . . . . 12 5.10. Fetch Cancel . . . . . . . . . . . . . . . . . . . . . . 13 5.11. Client GOAWAY . . . . . . . . . . . . . . . . . . . . . . 14 5.12. Session Close Codes . . . . . . . . . . . . . . . . . . . 14 5.13. Session Termination and Migration . . . . . . . . . . . . 15 5.14. SETUP Options . . . . . . . . . . . . . . . . . . . . . . 16 5.14.1. Unknown Client Setup Options Are Ignored . . . . . . 16 5.14.2. Relay Setup Options Are Well Formed . . . . . . . . 16 5.14.3. Client Setup Options Are Fixed After Setup . . . . . 17 5.15. TRACK_STATUS Reports the Largest Object . . . . . . . . . 17 5.16. NAMESPACE_DONE Ends a Namespace Batch . . . . . . . . . . 18 5.17. SUBSCRIBE_TRACKS Is Accepted . . . . . . . . . . . . . . 19 5.18. SUBSCRIBE with an Authorization Token . . . . . . . . . . 19 5.19. Subscription Filters . . . . . . . . . . . . . . . . . . 20 5.19.1. Each Filter Is Accepted . . . . . . . . . . . . . . 20 5.19.2. Absolute Filters Deliver Exactly Their Range . . . . 21 5.20. EXPIRES and NEW_GROUP_REQUEST . . . . . . . . . . . . . . 22 5.20.1. SUBSCRIBE to a Track Published with EXPIRES . . . . 22 5.20.2. REQUEST_UPDATE with NEW_GROUP_REQUEST . . . . . . . 22 Nandakumar Expires 21 May 2027 [Page 2] Internet-Draft MOQT E2E Session Tests November 2026 5.20.3. SUBSCRIBE_TRACKS for a Namespace . . . . . . . . . . 23 5.21. Publisher Resets a Subgroup Stream . . . . . . . . . . . 24 5.22. Padding Does Not Disturb Delivery . . . . . . . . . . . . 24 5.23. Subscribers with Different Priorities . . . . . . . . . . 25 5.24. Reserved Namespaces Are Refused Locally . . . . . . . . . 26 5.24.1. PUBLISH Under a Reserved Namespace . . . . . . . . . 26 5.24.2. SUBSCRIBE Under a Reserved Namespace . . . . . . . . 27 5.25. Idle Connection Handling . . . . . . . . . . . . . . . . 27 5.25.1. Keepalive Padding Keeps the Session Up . . . . . . . 27 5.25.2. Local Idle Timeout Closes the Session . . . . . . . 28 5.26. MOQT_IMPLEMENTATION Setup Option . . . . . . . . . . . . 28 5.26.1. Setup without MOQT_IMPLEMENTATION . . . . . . . . . 29 5.26.2. Setup with MOQT_IMPLEMENTATION . . . . . . . . . . . 29 5.26.3. Implementation String after Setup . . . . . . . . . 29 5.27. Grease Setup Options . . . . . . . . . . . . . . . . . . 30 5.27.1. Grease Codepoint Pattern . . . . . . . . . . . . . . 30 5.27.2. Setup with Grease Setup Options . . . . . . . . . . 30 5.28. Pause Scoped to One Subscription . . . . . . . . . . . . 31 5.29. Room Fan-out of Namespaces . . . . . . . . . . . . . . . 31 5.30. Room Fan-out of Tracks . . . . . . . . . . . . . . . . . 32 5.31. Room Fan-out of Catalogs . . . . . . . . . . . . . . . . 33 5.32. PUBLISH_DONE Keeps the Session . . . . . . . . . . . . . 34 5.33. Draft-23 Wire Changes . . . . . . . . . . . . . . . . . . 35 5.33.1. Setup over Draft-23 Framing . . . . . . . . . . . . 35 5.33.2. FETCH Answered by REQUEST_OK . . . . . . . . . . . . 35 5.33.3. Refused SUBSCRIBE . . . . . . . . . . . . . . . . . 36 5.33.4. Grease Error Detail Ignored . . . . . . . . . . . . 37 5.34. PUBLISH Forwarding to Namespace Subscribers . . . . . . . 37 5.35. Requests the Relay Cannot Serve . . . . . . . . . . . . . 39 5.35.1. SUBSCRIBE for an Unknown Track . . . . . . . . . . . 39 5.35.2. FETCH for an Unknown Track . . . . . . . . . . . . . 40 5.35.3. TRACK_STATUS for an Unknown Track . . . . . . . . . 40 5.35.4. FETCH Starting after the Largest Object . . . . . . 41 5.35.5. FETCH for a Track with No Objects . . . . . . . . . 41 5.36. Largest Location in SUBSCRIBE_OK . . . . . . . . . . . . 42 5.37. PUBLISH_NAMESPACE Lifecycle . . . . . . . . . . . . . . . 43 5.38. Namespace Prefix Update . . . . . . . . . . . . . . . . . 43 5.39. Stream-Credit Flow Control . . . . . . . . . . . . . . . 44 5.39.1. Requests over the Open-Stream Limit . . . . . . . . 45 5.39.2. Short-Lived Streams . . . . . . . . . . . . . . . . 45 5.40. Unknown Message Parameter . . . . . . . . . . . . . . . . 46 5.41. Fill with SUBSCRIBE . . . . . . . . . . . . . . . . . . . 47 5.41.1. Fill on SUBSCRIBE . . . . . . . . . . . . . . . . . 47 5.41.2. Fill on REQUEST_UPDATE . . . . . . . . . . . . . . . 48 5.42. FETCH from the Relay Cache . . . . . . . . . . . . . . . 49 5.43. NEW_GROUP_REQUEST . . . . . . . . . . . . . . . . . . . . 50 5.44. Namespace Discovery Flow . . . . . . . . . . . . . . . . 51 5.45. SUBSCRIBE_TRACKS Flow . . . . . . . . . . . . . . . . . . 52 Nandakumar Expires 21 May 2027 [Page 3] Internet-Draft MOQT E2E Session Tests November 2026 5.46. GOAWAY Flows . . . . . . . . . . . . . . . . . . . . . . 53 5.46.1. Subscriber Sends GOAWAY . . . . . . . . . . . . . . 53 5.46.2. Publisher Sends GOAWAY . . . . . . . . . . . . . . . 54 5.47. Track Properties . . . . . . . . . . . . . . . . . . . . 55 5.48. Object Properties . . . . . . . . . . . . . . . . . . . . 56 5.49. Setup Options and Concurrent REQUEST_UPDATEs . . . . . . 57 6. Security Considerations . . . . . . . . . . . . . . . . . . . 58 7. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 58 8. References . . . . . . . . . . . . . . . . . . . . . . . . . 58 8.1. Normative References . . . . . . . . . . . . . . . . . . 58 8.2. Informative References . . . . . . . . . . . . . . . . . 58 Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . 59 Disclaimer . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 60 1. Introduction Interoperability between MOQT [MoQTransport] implementations is best established by running the same scenarios against many relays and comparing what each one does. This document describes such a set of scenarios, for draft-18 [MoQTransport18] onwards. Each test drives one or more client sessions through a relay and checks only what is observable at those clients: the control messages they receive and the Objects delivered to them. The tests are implemented in the moq-web session-e2e suite [MOQ-WEB], whose results for several public relays are published in [INTEROP-REPORT]. This document is a description of the tests, not of any implementation, and is intended to let other implementers reproduce them. 2. Conventions and Definitions Pub: A client session that publishes Tracks through the relay. Sub: A client session that subscribes to Tracks through the relay. Relay: The MOQT relay under test. Client: A single session in tests that need only one. 3. Test Environment Each client opens its own MOQT session to the relay over WebTransport [WebTransport], offering the MOQT version under test. Unless a test says otherwise: Nandakumar Expires 21 May 2027 [Page 4] Internet-Draft MOQT E2E Session Tests November 2026 * Track Namespaces are unique per test run, of the form moq-web- e2e//