ASTM SCD DSS: Subscription Validation

scenarios.astm.utm.dss.SubscriptionValidation

Resources

KML visualization

Case Step Event uss1
Setup Ensure clean workspace 1 🌐
  • POST dss.uss1.localutm 200
    :
    • request
      :
      • method
        :
        POST
      • url
        :
        http://dss.uss1.localutm/dss/v1/subscriptions/query
      • initiated_at
        :
        2025-11-06T14:48:51.361991Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.4
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          699
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMS5sb2NhbHV0bSIsImV4cCI6MTc2MjQ0NDExOCwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.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
          :
          0ac369be-fb5d-4c93-b858-cae3b4fd77e1
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Thu, 06 Nov 2025 14:48:51 GMT
        • Content-Length
          :
          21
      • elapsed_s
        :
        0.007562
      • reported
        :
        2025-11-06T14:48:51.369984Z
      • json
        :
        • subscriptions
          :
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.dss.querySubscriptions
    • participant_id
      :
      uss1
🌐
2 Successful subscription search query
3 🌐
  • GET dss.uss1.localutm 404
    :
    • request
      :
      • method
        :
        GET
      • url
        :
        http://dss.uss1.localutm/dss/v1/subscriptions/0000017a-e36d-40be-8d38-beca6ca30000
      • initiated_at
        :
        2025-11-06T14:48:51.370191Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.4
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMS5sb2NhbHV0bSIsImV4cCI6MTc2MjQ0NDExOCwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • body
        :
        None
      • json
        :
        None
    • response
      :
      • code
        :
        404
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Thu, 06 Nov 2025 14:48:51 GMT
        • Content-Length
          :
          115
      • elapsed_s
        :
        0.001785
      • reported
        :
        2025-11-06T14:48:51.372377Z
      • json
        :
        • message
          :
          Subscription 0000017a-e36d-40be-8d38-beca6ca30000 not found (E:02a30be9-e39b-470d-a33e-10a54d4cf7a7)
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.dss.getSubscription
    • participant_id
      :
      uss1
🌐
4 Subscription can be queried by ID
Subscription Validation Subscription duration limitations 5 🌐
  • PUT dss.uss1.localutm 400
    :
    • request
      :
      • method
        :
        PUT
      • url
        :
        http://dss.uss1.localutm/dss/v1/subscriptions/0000017a-e36d-40be-8d38-beca6ca30000
      • initiated_at
        :
        2025-11-06T14:48:51.373416Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.4
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          838
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMS5sb2NhbHV0bSIsImV4cCI6MTc2MjQ0NDExOCwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.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
              :
              2025-11-06T14:47:51.372562Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2025-11-07T14:57:51.372562Z
            • 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
          :
          7052825f-efb5-4aa2-9dcf-a6890b33e281
      • body
        :
        None
    • response
      :
      • code
        :
        400
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Thu, 06 Nov 2025 14:48:51 GMT
        • Content-Length
          :
          92
      • elapsed_s
        :
        0.002181
      • reported
        :
        2025-11-06T14:48:51.375997Z
      • json
        :
        • message
          :
          Subscription window exceeds 24 hours (E:93f2eacc-4acd-4164-998f-687debb2b90e)
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.dss.createSubscription
    • participant_id
      :
      uss1
🌐
6 Don't create a too long subscription
7 🌐
  • PUT dss.uss1.localutm 200
    :
    • request
      :
      • method
        :
        PUT
      • url
        :
        http://dss.uss1.localutm/dss/v1/subscriptions/0000017a-e36d-40be-8d38-beca6ca30000
      • initiated_at
        :
        2025-11-06T14:48:51.376814Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.4
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          838
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMS5sb2NhbHV0bSIsImV4cCI6MTc2MjQ0NDExOCwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.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
              :
              2025-11-06T14:47:51.372562Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2025-11-07T14:47:51.372562Z
            • 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
          :
          dace701d-2a40-432e-96f4-4aaa21d488ce
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Thu, 06 Nov 2025 14:48:51 GMT
        • Content-Length
          :
          594
      • elapsed_s
        :
        0.010883
      • reported
        :
        2025-11-06T14:48:51.388163Z
      • json
        :
        • subscription
          :
          • id
            :
            0000017a-e36d-40be-8d38-beca6ca30000
          • version
            :
            9klN.ucA.eWQT0jpG6qKomgFSiiEg9s9aRlyAoTDidY_
          • notification_index
            :
            0
          • time_start
            :
            • value
              :
              2025-11-06T14:47:51.372562Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2025-11-07T14:47:51.372562Z
            • 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
      :
      uss1
🌐
8 Accept a subscription of maximal duration
9 🌐
  • PUT dss.uss1.localutm 400
    :
    • request
      :
      • method
        :
        PUT
      • url
        :
        http://dss.uss1.localutm/dss/v1/subscriptions/0000017a-e36d-40be-8d38-beca6ca30000/9klN.ucA.eWQT0jpG6qKomgFSiiEg9s9aRlyAoTDidY_
      • initiated_at
        :
        2025-11-06T14:48:51.389797Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.4
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          838
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMS5sb2NhbHV0bSIsImV4cCI6MTc2MjQ0NDExOCwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.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
              :
              2025-11-06T14:47:51.372562Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2025-11-07T14:57:51.372562Z
            • 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
          :
          0f2d94f4-2989-45ab-8b6b-56fc22ed5832
      • body
        :
        None
    • response
      :
      • code
        :
        400
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Thu, 06 Nov 2025 14:48:51 GMT
        • Content-Length
          :
          92
      • elapsed_s
        :
        0.003063
      • reported
        :
        2025-11-06T14:48:51.393394Z
      • json
        :
        • message
          :
          Subscription window exceeds 24 hours (E:9a9e1d53-126c-4a99-992c-56efcc963b1d)
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.dss.updateSubscription
    • participant_id
      :
      uss1
🌐
10 Don't mutate a subscription to be too long
Cleanup 11 🌐
  • GET dss.uss1.localutm 200
    :
    • request
      :
      • method
        :
        GET
      • url
        :
        http://dss.uss1.localutm/dss/v1/subscriptions/0000017a-e36d-40be-8d38-beca6ca30000
      • initiated_at
        :
        2025-11-06T14:48:51.393594Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.4
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMS5sb2NhbHV0bSIsImV4cCI6MTc2MjQ0NDExOCwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • body
        :
        None
      • json
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Thu, 06 Nov 2025 14:48:51 GMT
        • Content-Length
          :
          559
      • elapsed_s
        :
        0.003017
      • reported
        :
        2025-11-06T14:48:51.396953Z
      • json
        :
        • subscription
          :
          • id
            :
            0000017a-e36d-40be-8d38-beca6ca30000
          • version
            :
            9klN.ucA.eWQT0jpG6qKomgFSiiEg9s9aRlyAoTDidY_
          • notification_index
            :
            0
          • time_start
            :
            • value
              :
              2025-11-06T14:47:51.372562Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2025-11-07T14:47:51.372562Z
            • 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
      :
      uss1
🌐
12 Subscription can be queried by ID
13 🌐
  • DELETE dss.uss1.localutm 200
    :
    • request
      :
      • method
        :
        DELETE
      • url
        :
        http://dss.uss1.localutm/dss/v1/subscriptions/0000017a-e36d-40be-8d38-beca6ca30000/9klN.ucA.eWQT0jpG6qKomgFSiiEg9s9aRlyAoTDidY_
      • initiated_at
        :
        2025-11-06T14:48:51.397643Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.4
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          0
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMS5sb2NhbHV0bSIsImV4cCI6MTc2MjQ0NDExOCwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • body
        :
        None
      • json
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Thu, 06 Nov 2025 14:48:51 GMT
        • Content-Length
          :
          559
      • elapsed_s
        :
        0.009084
      • reported
        :
        2025-11-06T14:48:51.407096Z
      • json
        :
        • subscription
          :
          • id
            :
            0000017a-e36d-40be-8d38-beca6ca30000
          • version
            :
            9klN.ucA.eWQT0jpG6qKomgFSiiEg9s9aRlyAoTDidY_
          • notification_index
            :
            0
          • time_start
            :
            • value
              :
              2025-11-06T14:47:51.372562Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2025-11-07T14:47:51.372562Z
            • 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
      :
      uss1
🌐
14 Subscription can be deleted