Commit 5c85748f authored by Yann Garcia's avatar Yann Garcia
Browse files

Add Notification TPs

parent 49834718
Loading
Loading
Loading
Loading
+117 −0
Original line number Original line Diff line number Diff line
@@ -2180,4 +2180,121 @@ Package MEC_MEC030_SRV_V2X {
   }
   }




   Test Purpose {
      TP Id "TP_MEC_MEC030_SRV_V2X_011_OK_01"

      Test objective
        "Check that the IUT sends a notification about the provisioning information changes for V2X communication over Uu unicast"

      Reference "ETSI GS MEC 030 V2.1.1, clause 5.5.6",
                "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml"

      Config Id Config_MEC_1

      PICS Selection PIC_MEC_PLAT and PIC_SERVICES

      Initial conditions  with {
         the IUT entity being_in idle_state and
         the MEC_APP entity having a ProvChgUuUniSubscription containing
            callbackReference indicating value CALLBACK_UU_UNI_URI
         ;
      }

      // MEC 030 Clause 6.4.2 Type: ProvChgUuUniSubscription
      Expected behaviour
         ensure that {
            when {
              the IUT entity generates a provChgUuUniNotification containing 
                 notificationType indicating value "ProvChgUuUniNotification",
                 locationInfo indicating value LOCATION_INFO;
              }
            then {
               // MEC 030 Clause 7.3.3.1
               the IUT entity sends a HTTP_RESPONSE containing
                  status_code set to "204 No Content"
               ;
               to the MEC_APP entity
            }
         }
   }


   Test Purpose {
      TP Id "TP_MEC_MEC030_SRV_V2X_011_OK_02"

      Test objective
        "Check that the IUT sends a notification about the provisioning information changes for V2X communication over Uu MBMS"

      Reference "ETSI GS MEC 030 V2.1.1, clause 5.5.7",
                "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml"

      Config Id Config_MEC_1

      PICS Selection PIC_MEC_PLAT and PIC_SERVICES

      Initial conditions  with {
         the IUT entity being_in idle_state and
         the MEC_APP entity having a ProvChgUuMbmsSubscription containing
            callbackReference indicating value CALLBACK_UU_MBMS_URI
         ;
      }

      // MEC 030 Clause 6.4.3 Type: ProvChgUuMbmsSubscription
      Expected behaviour
         ensure that {
            when {
              the IUT entity generates a provChgUuMbmsNotification containing 
                 notificationType indicating value "ProvChgUuMbmsNotification",
                 locationInfo indicating value LOCATION_INFO;
              }
            then {
               // MEC 030 Clause 7.3.3.1
               the IUT entity sends a HTTP_RESPONSE containing
                  status_code set to "204 No Content"
               ;
               to the MEC_APP entity
            }
         }
   }


   Test Purpose {
      TP Id "TP_MEC_MEC030_SRV_V2X_011_OK_03"

      Test objective
        "Check that the IUT sends a notification about the provisioning information changes for V2X communication over PC5"

      Reference "ETSI GS MEC 030 V2.1.1, clause 5.5.8",
                "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml"

      Config Id Config_MEC_1

      PICS Selection PIC_MEC_PLAT and PIC_SERVICES

      Initial conditions  with {
         the IUT entity being_in idle_state and
         the MEC_APP entity having a ProvChgPc5Subscription containing
            callbackReference indicating value CALLBACK_PC5_URI
         ;
      }

      // MEC 030 Clause 6.4.4 Type: ProvChgPc5Subscription
      Expected behaviour
         ensure that {
            when {
              the IUT entity generates a provChgPc5Notification containing 
                 notificationType indicating value "ProvChgPc5Notification",
                 locationInfo indicating value LOCATION_INFO;
              }
            then {
               // MEC 030 Clause 7.3.3.1
               the IUT entity sends a HTTP_RESPONSE containing
                  status_code set to "204 No Content"
               ;
               to the MEC_APP entity
            }
         }
   }


}
}