ASTM SCD DSS: Subscription Validation

scenarios.astm.utm.dss.SubscriptionValidation

Resources

KML visualization

Case Step Event uss2
Setup Ensure clean workspace 1 🌐
  • POST dss1.uss2.localutm 200
    :
    • request
      :
      • method
        :
        POST
      • url
        :
        http://dss1.uss2.localutm/dss/v1/subscriptions/query
      • initiated_at
        :
        2026-08-05T17:40:32.043198Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.34.2
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          699
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MxLnVzczIubG9jYWx1dG0iLCJleHAiOjE3ODU5NTUyMDYsImlzcyI6ImR1bW15Iiwic2NvcGUiOiJ1dG0uc3RyYXRlZ2ljX2Nvb3JkaW5hdGlvbiIsInN1YiI6InVzc19xdWFsaWZpZXIifQ.REDACTED
      • json
        :
        • area_of_interest
          :
          • volume
            :
            • outline_polygon
              :
              • vertices
                :
                • item_1
                  :
                  • lat
                    :
                    47.45237618874023
                  • lng
                    :
                    8.337401667996478
                • item_2
                  :
                  • lat
                    :
                    47.38882810764797
                  • lng
                    :
                    8.343217430398902
                • item_3
                  :
                  • lat
                    :
                    47.3643466256706
                  • lng
                    :
                    8.389932768382156
                • item_4
                  :
                  • lat
                    :
                    47.36323038495268
                  • lng
                    :
                    8.536070011827881
                • item_5
                  :
                  • lat
                    :
                    47.36909451406398
                  • lng
                    :
                    8.580678976356925
                • item_6
                  :
                  • lat
                    :
                    47.4007874493574
                  • lng
                    :
                    8.57764881798931
                • item_7
                  :
                  • lat
                    :
                    47.451319730511365
                  • lng
                    :
                    8.46442103543102
            • altitude_lower
              :
              • value
                :
                0.0
              • reference
                :
                W84
              • units
                :
                M
            • altitude_upper
              :
              • value
                :
                1000.0
              • reference
                :
                W84
              • units
                :
                M
            • outline_circle
              :
              None
          • time_start
            :
            None
          • time_end
            :
            None
        • request_id
          :
          0bcc028b-a367-409e-9da6-fed1bd3f4623
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Wed, 05 Aug 2026 17:40:32 GMT
        • Content-Length
          :
          21
      • elapsed_s
        :
        0.005633
      • reported
        :
        2026-08-05T17:40:32.049256Z
      • json
        :
        • subscriptions
          :
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.dss.querySubscriptions
    • participant_id
      :
      uss2
🌐
2 Successful subscription search query
3 🌐
  • GET dss1.uss2.localutm 404
    :
    • request
      :
      • method
        :
        GET
      • url
        :
        http://dss1.uss2.localutm/dss/v1/subscriptions/0000017a-e36d-40be-8d38-beca6ca30000
      • initiated_at
        :
        2026-08-05T17:40:32.049427Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.34.2
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MxLnVzczIubG9jYWx1dG0iLCJleHAiOjE3ODU5NTUyMDYsImlzcyI6ImR1bW15Iiwic2NvcGUiOiJ1dG0uc3RyYXRlZ2ljX2Nvb3JkaW5hdGlvbiIsInN1YiI6InVzc19xdWFsaWZpZXIifQ.REDACTED
      • json
        :
        None
      • body
        :
        None
    • response
      :
      • code
        :
        404
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Wed, 05 Aug 2026 17:40:32 GMT
        • Content-Length
          :
          115
      • elapsed_s
        :
        0.001899
      • reported
        :
        2026-08-05T17:40:32.051779Z
      • json
        :
        • message
          :
          Subscription 0000017a-e36d-40be-8d38-beca6ca30000 not found (E:5f8cab3e-dca3-447c-8a04-4ecc2435e88c)
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.dss.getSubscription
    • participant_id
      :
      uss2
🌐
4 Subscription can be queried by ID
Subscription Validation Subscription duration limitations 5 🌐
  • PUT dss1.uss2.localutm 400
    :
    • request
      :
      • method
        :
        PUT
      • url
        :
        http://dss1.uss2.localutm/dss/v1/subscriptions/0000017a-e36d-40be-8d38-beca6ca30000
      • initiated_at
        :
        2026-08-05T17:40:32.052950Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.34.2
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          838
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MxLnVzczIubG9jYWx1dG0iLCJleHAiOjE3ODU5NTUyMDYsImlzcyI6ImR1bW15Iiwic2NvcGUiOiJ1dG0uc3RyYXRlZ2ljX2Nvb3JkaW5hdGlvbiIsInN1YiI6InVzc19xdWFsaWZpZXIifQ.REDACTED
      • json
        :
        • extents
          :
          • volume
            :
            • outline_polygon
              :
              • vertices
                :
                • item_1
                  :
                  • lat
                    :
                    47.363230384952686
                  • lng
                    :
                    8.337401667996478
                • item_2
                  :
                  • lat
                    :
                    47.363230384952686
                  • lng
                    :
                    8.580678976356925
                • item_3
                  :
                  • lat
                    :
                    47.45237618874023
                  • lng
                    :
                    8.580678976356925
                • item_4
                  :
                  • lat
                    :
                    47.45237618874023
                  • lng
                    :
                    8.337401667996478
            • altitude_lower
              :
              • value
                :
                0.0
              • reference
                :
                W84
              • units
                :
                M
            • altitude_upper
              :
              • value
                :
                1000.0
              • reference
                :
                W84
              • units
                :
                M
          • time_start
            :
            • value
              :
              2026-08-05T17:39:32.051978Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2026-08-06T17:49:32.051978Z
            • format
              :
              RFC3339
        • uss_base_url
          :
          https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/configurations/dev/library/resources/zurich_planning_area
        • notify_for_operational_intents
          :
          True
        • notify_for_constraints
          :
          False
        • request_id
          :
          5ac44b14-4a7a-4b27-b7ad-a5f67b1c15bb
      • body
        :
        None
    • response
      :
      • code
        :
        400
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Wed, 05 Aug 2026 17:40:32 GMT
        • Content-Length
          :
          92
      • elapsed_s
        :
        0.002312
      • reported
        :
        2026-08-05T17:40:32.055684Z
      • json
        :
        • message
          :
          Subscription window exceeds 24 hours (E:c555099c-36b0-4821-b209-5c936a947790)
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.dss.createSubscription
    • participant_id
      :
      uss2
🌐
6 Don't create a too long subscription
7 🌐
  • PUT dss1.uss2.localutm 200
    :
    • request
      :
      • method
        :
        PUT
      • url
        :
        http://dss1.uss2.localutm/dss/v1/subscriptions/0000017a-e36d-40be-8d38-beca6ca30000
      • initiated_at
        :
        2026-08-05T17:40:32.056655Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.34.2
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          838
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MxLnVzczIubG9jYWx1dG0iLCJleHAiOjE3ODU5NTUyMDYsImlzcyI6ImR1bW15Iiwic2NvcGUiOiJ1dG0uc3RyYXRlZ2ljX2Nvb3JkaW5hdGlvbiIsInN1YiI6InVzc19xdWFsaWZpZXIifQ.REDACTED
      • json
        :
        • extents
          :
          • volume
            :
            • outline_polygon
              :
              • vertices
                :
                • item_1
                  :
                  • lat
                    :
                    47.363230384952686
                  • lng
                    :
                    8.337401667996478
                • item_2
                  :
                  • lat
                    :
                    47.363230384952686
                  • lng
                    :
                    8.580678976356925
                • item_3
                  :
                  • lat
                    :
                    47.45237618874023
                  • lng
                    :
                    8.580678976356925
                • item_4
                  :
                  • lat
                    :
                    47.45237618874023
                  • lng
                    :
                    8.337401667996478
            • altitude_lower
              :
              • value
                :
                0.0
              • reference
                :
                W84
              • units
                :
                M
            • altitude_upper
              :
              • value
                :
                1000.0
              • reference
                :
                W84
              • units
                :
                M
          • time_start
            :
            • value
              :
              2026-08-05T17:39:32.051978Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2026-08-06T17:39:32.051978Z
            • format
              :
              RFC3339
        • uss_base_url
          :
          https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/configurations/dev/library/resources/zurich_planning_area
        • notify_for_operational_intents
          :
          True
        • notify_for_constraints
          :
          False
        • request_id
          :
          494a6146-0c19-41e3-986d-537a3c1c50dc
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Wed, 05 Aug 2026 17:40:32 GMT
        • Content-Length
          :
          594
      • elapsed_s
        :
        0.01517
      • reported
        :
        2026-08-05T17:40:32.072303Z
      • json
        :
        • subscription
          :
          • id
            :
            0000017a-e36d-40be-8d38-beca6ca30000
          • version
            :
            SdK-C0FKe1n11j4os.SyuBNSdIcDleKOTLb2FFoOq8Y_
          • notification_index
            :
            0
          • time_start
            :
            • value
              :
              2026-08-05T17:39:32.051978Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2026-08-06T17:39:32.051978Z
            • format
              :
              RFC3339
          • uss_base_url
            :
            https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/configurations/dev/library/resources/zurich_planning_area
          • notify_for_operational_intents
            :
            True
          • notify_for_constraints
            :
            False
          • implicit_subscription
            :
            False
          • dependent_operational_intents
            :
        • operational_intent_references
          :
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.dss.createSubscription
    • participant_id
      :
      uss2
🌐
8 Accept a subscription of maximal duration
9 🌐
  • PUT dss1.uss2.localutm 400
    :
    • request
      :
      • method
        :
        PUT
      • url
        :
        http://dss1.uss2.localutm/dss/v1/subscriptions/0000017a-e36d-40be-8d38-beca6ca30000/SdK-C0FKe1n11j4os.SyuBNSdIcDleKOTLb2FFoOq8Y_
      • initiated_at
        :
        2026-08-05T17:40:32.074381Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.34.2
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          838
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MxLnVzczIubG9jYWx1dG0iLCJleHAiOjE3ODU5NTUyMDYsImlzcyI6ImR1bW15Iiwic2NvcGUiOiJ1dG0uc3RyYXRlZ2ljX2Nvb3JkaW5hdGlvbiIsInN1YiI6InVzc19xdWFsaWZpZXIifQ.REDACTED
      • json
        :
        • extents
          :
          • volume
            :
            • outline_polygon
              :
              • vertices
                :
                • item_1
                  :
                  • lat
                    :
                    47.363230384952686
                  • lng
                    :
                    8.337401667996478
                • item_2
                  :
                  • lat
                    :
                    47.363230384952686
                  • lng
                    :
                    8.580678976356925
                • item_3
                  :
                  • lat
                    :
                    47.45237618874023
                  • lng
                    :
                    8.580678976356925
                • item_4
                  :
                  • lat
                    :
                    47.45237618874023
                  • lng
                    :
                    8.337401667996478
            • altitude_lower
              :
              • value
                :
                0.0
              • reference
                :
                W84
              • units
                :
                M
            • altitude_upper
              :
              • value
                :
                1000.0
              • reference
                :
                W84
              • units
                :
                M
          • time_start
            :
            • value
              :
              2026-08-05T17:39:32.051978Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2026-08-06T17:49:32.051978Z
            • format
              :
              RFC3339
        • uss_base_url
          :
          https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/configurations/dev/library/resources/zurich_planning_area
        • notify_for_operational_intents
          :
          True
        • notify_for_constraints
          :
          False
        • request_id
          :
          06c5a03b-e18c-45cc-afa0-f2bc192cff17
      • body
        :
        None
    • response
      :
      • code
        :
        400
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Wed, 05 Aug 2026 17:40:32 GMT
        • Content-Length
          :
          92
      • elapsed_s
        :
        0.003453
      • reported
        :
        2026-08-05T17:40:32.078364Z
      • json
        :
        • message
          :
          Subscription window exceeds 24 hours (E:52bcda13-0e17-4537-8319-e51c49f31cef)
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.dss.updateSubscription
    • participant_id
      :
      uss2
🌐
10 Don't mutate a subscription to be too long
Cleanup 11 🌐
  • GET dss1.uss2.localutm 200
    :
    • request
      :
      • method
        :
        GET
      • url
        :
        http://dss1.uss2.localutm/dss/v1/subscriptions/0000017a-e36d-40be-8d38-beca6ca30000
      • initiated_at
        :
        2026-08-05T17:40:32.078602Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.34.2
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MxLnVzczIubG9jYWx1dG0iLCJleHAiOjE3ODU5NTUyMDYsImlzcyI6ImR1bW15Iiwic2NvcGUiOiJ1dG0uc3RyYXRlZ2ljX2Nvb3JkaW5hdGlvbiIsInN1YiI6InVzc19xdWFsaWZpZXIifQ.REDACTED
      • json
        :
        None
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Wed, 05 Aug 2026 17:40:32 GMT
        • Content-Length
          :
          559
      • elapsed_s
        :
        0.003518
      • reported
        :
        2026-08-05T17:40:32.082493Z
      • json
        :
        • subscription
          :
          • id
            :
            0000017a-e36d-40be-8d38-beca6ca30000
          • version
            :
            SdK-C0FKe1n11j4os.SyuBNSdIcDleKOTLb2FFoOq8Y_
          • notification_index
            :
            0
          • time_start
            :
            • value
              :
              2026-08-05T17:39:32.051978Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2026-08-06T17:39:32.051978Z
            • format
              :
              RFC3339
          • uss_base_url
            :
            https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/configurations/dev/library/resources/zurich_planning_area
          • notify_for_operational_intents
            :
            True
          • notify_for_constraints
            :
            False
          • implicit_subscription
            :
            False
          • dependent_operational_intents
            :
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.dss.getSubscription
    • participant_id
      :
      uss2
🌐
12 Subscription can be queried by ID
13 🌐
  • DELETE dss1.uss2.localutm 200
    :
    • request
      :
      • method
        :
        DELETE
      • url
        :
        http://dss1.uss2.localutm/dss/v1/subscriptions/0000017a-e36d-40be-8d38-beca6ca30000/SdK-C0FKe1n11j4os.SyuBNSdIcDleKOTLb2FFoOq8Y_
      • initiated_at
        :
        2026-08-05T17:40:32.083268Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.34.2
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          0
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MxLnVzczIubG9jYWx1dG0iLCJleHAiOjE3ODU5NTUyMDYsImlzcyI6ImR1bW15Iiwic2NvcGUiOiJ1dG0uc3RyYXRlZ2ljX2Nvb3JkaW5hdGlvbiIsInN1YiI6InVzc19xdWFsaWZpZXIifQ.REDACTED
      • json
        :
        None
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Wed, 05 Aug 2026 17:40:32 GMT
        • Content-Length
          :
          559
      • elapsed_s
        :
        0.010922
      • reported
        :
        2026-08-05T17:40:32.094631Z
      • json
        :
        • subscription
          :
          • id
            :
            0000017a-e36d-40be-8d38-beca6ca30000
          • version
            :
            SdK-C0FKe1n11j4os.SyuBNSdIcDleKOTLb2FFoOq8Y_
          • notification_index
            :
            0
          • time_start
            :
            • value
              :
              2026-08-05T17:39:32.051978Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2026-08-06T17:39:32.051978Z
            • format
              :
              RFC3339
          • uss_base_url
            :
            https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/configurations/dev/library/resources/zurich_planning_area
          • notify_for_operational_intents
            :
            True
          • notify_for_constraints
            :
            False
          • implicit_subscription
            :
            False
          • dependent_operational_intents
            :
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.dss.deleteSubscription
    • participant_id
      :
      uss2
🌐
14 Subscription can be deleted