ASTM Availability DSS: USS Availability Mutation

scenarios.astm.utm.dss.UssAvailabilityMutation

Resources

KML visualization

Case Step Event uss2_dss
Update USS availability state Declare USS as available at DSS 1 🌐
  • GET dss1.uss2.localutm 200
    :
    • request
      :
      • method
        :
        GET
      • url
        :
        http://dss1.uss2.localutm/dss/v1/uss_availability/uss_qualifier
      • initiated_at
        :
        2026-10-09T06:24:03.509011Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.34.2
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MxLnVzczIubG9jYWx1dG0iLCJleHAiOjE3OTE1MzA2MzEsImlzcyI6ImR1bW15Iiwic2NvcGUiOiJ1dG0uYXZhaWxhYmlsaXR5X2FyYml0cmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • body
        :
        None
      • json
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Fri, 09 Oct 2026 06:24:03 GMT
        • Content-Length
          :
          117
      • elapsed_s
        :
        0.002837
      • reported
        :
        2026-10-09T06:24:03.512385Z
      • json
        :
        • version
          :
          7GrEvh.5mC-ObSYf5AFVt1l.IN1M.Bk-9VeeTQHrixs_
        • status
          :
          • uss
            :
            uss_qualifier
          • availability
            :
            Unknown
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.uss.getUssAvailability
    • participant_id
      :
      uss2_dss
🌐
2 ✅ USS Availability can be requested ✅
3 🌐
  • PUT dss1.uss2.localutm 200
    :
    • request
      :
      • method
        :
        PUT
      • url
        :
        http://dss1.uss2.localutm/dss/v1/uss_availability/uss_qualifier
      • initiated_at
        :
        2026-10-09T06:24:03.512763Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.34.2
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          143
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MxLnVzczIubG9jYWx1dG0iLCJleHAiOjE3OTE1MzA2MzEsImlzcyI6ImR1bW15Iiwic2NvcGUiOiJ1dG0uYXZhaWxhYmlsaXR5X2FyYml0cmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        • old_version
          :
          7GrEvh.5mC-ObSYf5AFVt1l.IN1M.Bk-9VeeTQHrixs_
        • availability
          :
          Normal
        • request_id
          :
          ae14b3e4-9533-447a-aceb-378872f35b6b
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Fri, 09 Oct 2026 06:24:03 GMT
        • Content-Length
          :
          116
      • elapsed_s
        :
        0.005618
      • reported
        :
        2026-10-09T06:24:03.518909Z
      • json
        :
        • version
          :
          R2w8zWgs-4wKZ2Yj3Yk8QwSXzPn2wiu4lymX86lavCM_
        • status
          :
          • uss
            :
            uss_qualifier
          • availability
            :
            Normal
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.uss.setUssAvailability
    • participant_id
      :
      uss2_dss
🌐
4 ✅ USS Availability can be updated ✅
Update requires correct version Attempt update with missing version 5 🌐
  • PUT dss1.uss2.localutm 409
    :
    • request
      :
      • method
        :
        PUT
      • url
        :
        http://dss1.uss2.localutm/dss/v1/uss_availability/uss_qualifier
      • initiated_at
        :
        2026-10-09T06:24:03.519495Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.34.2
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          97
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MxLnVzczIubG9jYWx1dG0iLCJleHAiOjE3OTE1MzA2MzEsImlzcyI6ImR1bW15Iiwic2NvcGUiOiJ1dG0uYXZhaWxhYmlsaXR5X2FyYml0cmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        • old_version
          :
        • availability
          :
          Down
        • request_id
          :
          0ae85354-40f3-4628-a34c-f37bbdc5650c
      • body
        :
        None
    • response
      :
      • code
        :
        409
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Fri, 09 Oct 2026 06:24:03 GMT
        • Content-Length
          :
          96
      • elapsed_s
        :
        0.002214
      • reported
        :
        2026-10-09T06:24:03.522203Z
      • json
        :
        • message
          :
          USS availability version is not current (E:772c9cb9-0d88-4435-b864-475351c2c89b)
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.uss.setUssAvailability
    • participant_id
      :
      uss2_dss
🌐
6 ✅ Request to update USS availability status with empty version fails ✅
Attempt update with incorrect version 7 🌐
  • PUT dss1.uss2.localutm 409
    :
    • request
      :
      • method
        :
        PUT
      • url
        :
        http://dss1.uss2.localutm/dss/v1/uss_availability/uss_qualifier
      • initiated_at
        :
        2026-10-09T06:24:03.522463Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.34.2
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          121
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MxLnVzczIubG9jYWx1dG0iLCJleHAiOjE3OTE1MzA2MzEsImlzcyI6ImR1bW15Iiwic2NvcGUiOiJ1dG0uYXZhaWxhYmlsaXR5X2FyYml0cmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        • old_version
          :
          ThisIsAnIncorrectVersion
        • availability
          :
          Down
        • request_id
          :
          a798a82c-ce6f-4c43-a63c-3b46e442cc22
      • body
        :
        None
    • response
      :
      • code
        :
        409
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Fri, 09 Oct 2026 06:24:03 GMT
        • Content-Length
          :
          120
      • elapsed_s
        :
        0.002186
      • reported
        :
        2026-10-09T06:24:03.525174Z
      • json
        :
        • message
          :
          USS availability version ThisIsAnIncorrectVersion is not current (E:36b97450-b63c-4aed-acd8-2df6f20d4d21)
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.uss.setUssAvailability
    • participant_id
      :
      uss2_dss
🌐
8 ✅ Request to update USS availability status with incorrect version fails ✅