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-11T06:13:53.555035Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.34.2
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MxLnVzczEubG9jYWx1dG0iLCJleHAiOjE3OTE3MDI4MjMsImlzcyI6ImR1bW15Iiwic2NvcGUiOiJ1dG0uYXZhaWxhYmlsaXR5X2FyYml0cmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • body
        :
        None
      • json
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Sun, 11 Oct 2026 06:13:53 GMT
        • Content-Length
          :
          117
      • elapsed_s
        :
        0.00197
      • reported
        :
        2026-10-11T06:13:53.557527Z
      • json
        :
        • version
          :
          HeCWS7OQCUHAKLeh1IBLxYzadxZn6yijT-E-f0FsmWw_
        • 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-11T06:13:53.557835Z
      • 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.eyJhdWQiOiJkc3MxLnVzczEubG9jYWx1dG0iLCJleHAiOjE3OTE3MDI4MjMsImlzcyI6ImR1bW15Iiwic2NvcGUiOiJ1dG0uYXZhaWxhYmlsaXR5X2FyYml0cmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        • old_version
          :
          HeCWS7OQCUHAKLeh1IBLxYzadxZn6yijT-E-f0FsmWw_
        • availability
          :
          Normal
        • request_id
          :
          79511e61-904d-4d66-81fb-a25465c02339
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Sun, 11 Oct 2026 06:13:53 GMT
        • Content-Length
          :
          116
      • elapsed_s
        :
        0.003347
      • reported
        :
        2026-10-11T06:13:53.561594Z
      • json
        :
        • version
          :
          hfQQ-yIw1ZkD8yfhoHDGgYTks8JkZhBeBOfRtPwlaUQ_
        • 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-11T06:13:53.562038Z
      • 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.eyJhdWQiOiJkc3MxLnVzczEubG9jYWx1dG0iLCJleHAiOjE3OTE3MDI4MjMsImlzcyI6ImR1bW15Iiwic2NvcGUiOiJ1dG0uYXZhaWxhYmlsaXR5X2FyYml0cmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        • old_version
          :
        • availability
          :
          Down
        • request_id
          :
          f95b5071-c411-4ee5-bb94-92695fccc87d
      • body
        :
        None
    • response
      :
      • code
        :
        409
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Sun, 11 Oct 2026 06:13:53 GMT
        • Content-Length
          :
          96
      • elapsed_s
        :
        0.001658
      • reported
        :
        2026-10-11T06:13:53.564135Z
      • json
        :
        • message
          :
          USS availability version is not current (E:2e4a45ac-98cb-4eb4-97d5-4d1a38fdb8b6)
      • 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-11T06:13:53.564387Z
      • 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.eyJhdWQiOiJkc3MxLnVzczEubG9jYWx1dG0iLCJleHAiOjE3OTE3MDI4MjMsImlzcyI6ImR1bW15Iiwic2NvcGUiOiJ1dG0uYXZhaWxhYmlsaXR5X2FyYml0cmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        • old_version
          :
          ThisIsAnIncorrectVersion
        • availability
          :
          Down
        • request_id
          :
          0c8bb2e4-f531-4e1f-bbdf-5a928821bf90
      • body
        :
        None
    • response
      :
      • code
        :
        409
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Sun, 11 Oct 2026 06:13:53 GMT
        • Content-Length
          :
          120
      • elapsed_s
        :
        0.001574
      • reported
        :
        2026-10-11T06:13:53.566411Z
      • json
        :
        • message
          :
          USS availability version ThisIsAnIncorrectVersion is not current (E:95877c12-9a58-440c-bc44-ffe04276d64b)
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.uss.setUssAvailability
    • participant_id
      :
      uss1_dss
🌐
8 ✅ Request to update USS availability status with incorrect version fails ✅