ASTM Availability DSS: USS Availability Mutation

scenarios.astm.utm.dss.UssAvailabilityMutation

Resources

KML visualization

Case Step Event uss1_dss
Update USS availability state Declare USS as available at DSS 1 🌐
  • GET dss1.uss1.localutm 200
    :
    • request
      :
      • method
        :
        GET
      • url
        :
        http://dss1.uss1.localutm/dss/v1/uss_availability/uss_qualifier
      • initiated_at
        :
        2026-10-09T06:23:49.836145Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.34.2
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MxLnVzczEubG9jYWx1dG0iLCJleHAiOjE3OTE1MzA2MTgsImlzcyI6ImR1bW15Iiwic2NvcGUiOiJ1dG0uYXZhaWxhYmlsaXR5X2FyYml0cmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • body
        :
        None
      • json
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Fri, 09 Oct 2026 06:23:49 GMT
        • Content-Length
          :
          117
      • elapsed_s
        :
        0.002982
      • reported
        :
        2026-10-09T06:23:49.839762Z
      • json
        :
        • version
          :
          nwzrEJmXEqsUx-r3hXfl9QORHcYCVl.pcRV5Qq2h10U_
        • status
          :
          • uss
            :
            uss_qualifier
          • availability
            :
            Unknown
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.uss.getUssAvailability
    • participant_id
      :
      uss1_dss
🌐
2 ✅ USS Availability can be requested ✅
3 🌐
  • PUT dss1.uss1.localutm 200
    :
    • request
      :
      • method
        :
        PUT
      • url
        :
        http://dss1.uss1.localutm/dss/v1/uss_availability/uss_qualifier
      • initiated_at
        :
        2026-10-09T06:23:49.840266Z
      • 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.eyJhdWQiOiJkc3MxLnVzczEubG9jYWx1dG0iLCJleHAiOjE3OTE1MzA2MTgsImlzcyI6ImR1bW15Iiwic2NvcGUiOiJ1dG0uYXZhaWxhYmlsaXR5X2FyYml0cmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        • old_version
          :
          nwzrEJmXEqsUx-r3hXfl9QORHcYCVl.pcRV5Qq2h10U_
        • availability
          :
          Normal
        • request_id
          :
          f70b6559-4333-437d-b646-eaa4180e17f7
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Fri, 09 Oct 2026 06:23:49 GMT
        • Content-Length
          :
          116
      • elapsed_s
        :
        0.006383
      • reported
        :
        2026-10-09T06:23:49.847242Z
      • json
        :
        • version
          :
          4OGPk4-Xi-.kLj2IzkG8UJf4E9gRg3kDlzuVmT8-uJE_
        • status
          :
          • uss
            :
            uss_qualifier
          • availability
            :
            Normal
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.uss.setUssAvailability
    • participant_id
      :
      uss1_dss
🌐
4 ✅ USS Availability can be updated ✅
Update requires correct version Attempt update with missing version 5 🌐
  • PUT dss1.uss1.localutm 409
    :
    • request
      :
      • method
        :
        PUT
      • url
        :
        http://dss1.uss1.localutm/dss/v1/uss_availability/uss_qualifier
      • initiated_at
        :
        2026-10-09T06:23:49.847866Z
      • 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.eyJhdWQiOiJkc3MxLnVzczEubG9jYWx1dG0iLCJleHAiOjE3OTE1MzA2MTgsImlzcyI6ImR1bW15Iiwic2NvcGUiOiJ1dG0uYXZhaWxhYmlsaXR5X2FyYml0cmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        • old_version
          :
        • availability
          :
          Down
        • request_id
          :
          54cf28df-86ad-42a0-a432-2400fe628317
      • body
        :
        None
    • response
      :
      • code
        :
        409
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Fri, 09 Oct 2026 06:23:49 GMT
        • Content-Length
          :
          96
      • elapsed_s
        :
        0.002607
      • reported
        :
        2026-10-09T06:23:49.851213Z
      • json
        :
        • message
          :
          USS availability version is not current (E:17a305e4-431e-4a2f-afa9-5429cac571e7)
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.uss.setUssAvailability
    • participant_id
      :
      uss1_dss
🌐
6 ✅ Request to update USS availability status with empty version fails ✅
Attempt update with incorrect version 7 🌐
  • PUT dss1.uss1.localutm 409
    :
    • request
      :
      • method
        :
        PUT
      • url
        :
        http://dss1.uss1.localutm/dss/v1/uss_availability/uss_qualifier
      • initiated_at
        :
        2026-10-09T06:23:49.851602Z
      • 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.eyJhdWQiOiJkc3MxLnVzczEubG9jYWx1dG0iLCJleHAiOjE3OTE1MzA2MTgsImlzcyI6ImR1bW15Iiwic2NvcGUiOiJ1dG0uYXZhaWxhYmlsaXR5X2FyYml0cmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        • old_version
          :
          ThisIsAnIncorrectVersion
        • availability
          :
          Down
        • request_id
          :
          0d973c38-f024-459e-a1f5-a69cd638a99e
      • body
        :
        None
    • response
      :
      • code
        :
        409
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Fri, 09 Oct 2026 06:23:49 GMT
        • Content-Length
          :
          120
      • elapsed_s
        :
        0.004467
      • reported
        :
        2026-10-09T06:23:49.856796Z
      • json
        :
        • message
          :
          USS availability version ThisIsAnIncorrectVersion is not current (E:b4b44c18-cb0c-4b06-8e71-ca77f2bfa179)
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.uss.setUssAvailability
    • participant_id
      :
      uss1_dss
🌐
8 ✅ Request to update USS availability status with incorrect version fails ✅