Commit 843e5226 authored by Filipe Ferreira's avatar Filipe Ferreira
Browse files

Renaming e reorganization according to TSS.

parent 6b1afe38
Loading
Loading
Loading
Loading
+21 −283
Original line number Original line Diff line number Diff line
@@ -13,17 +13,17 @@ copyright notice shall be included in all copies of whole or part of this
file and shall not imply any sub-license right.
file and shall not imply any sub-license right.
*/
*/


Package sys_mx2_ue_apps_context {
Package MEC_MEO_UEAPPCTX {


   import all from MEC_Common;
   import all from MEC_Common;




   /*
   /*
    * UE Application Contexts (APPCTX)
    * UE Application Contexts (UEAPPCTX)
    */
    */


   Test Purpose {
   Test Purpose {
      TP Id "TP_MEC_SYS_APPCTX_001_OK"
      TP Id "TP_MEC_MEO_UEAPPCTX_001_OK"


      Test objective
      Test objective
         "Check that the IUT acknowledges the creation of the application context
         "Check that the IUT acknowledges the creation of the application context
@@ -76,93 +76,7 @@ Package sys_mx2_ue_apps_context {




   Test Purpose {
   Test Purpose {
      TP Id "TP_MEC_SYS_APPCTX_002_OK"
      TP Id "TP_MEC_MEO_UEAPPCTX_001_BR"

      Test objective
         "Check that the IUT updates the application callback reference
         when commanded by an UE Application"

      Reference "ETSI GS MEC 016 V2.1.1, clause 7.5.3.2",
         "https://forge.etsi.org/gitlab/mec/gs016-ue-app-api/blob/master/UEAppInterfaceApi.yaml#/definitions/AppContext"

      Config Id Config_MEC_4

      PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES

      Initial conditions  with {
         the IUT entity being_in idle_state and
         the UE_APP entity having a appContext containing
            contextId indicating value CONTEXT_ID
         ;
      }

      // MEC 016, clause 5.1.5
      Expected behaviour
         ensure that {
            when {
               the IUT entity receives a vPUT containing
                  uri indicating value "mx2/v2/app_contexts/{CONTEXT_ID}"
                  body containing
                     AppContext containing
                        callbackReference indicating value some_uri
                     ;
                  ;
               ;
               from the UE_APP entity
            }
            then {
               // MEC 017, clause 7.5.3.2
               the IUT entity sends a HTTP_RESPONSE containing
                  status_code set to "204 No Content"
               ;
               to the UE_APP entity
            }
         }
   }


   Test Purpose {
      TP Id "TP_MEC_SYS_APPCTX_003_OK"

      Test objective
         "Check that the IUT deletes the application context
         when commanded by an UE Application"

      Reference "ETSI GS MEC 016 V2.1.1, clause 7.5.3.5"

      Config Id Config_MEC_4

      PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES

      Initial conditions  with {
         the IUT entity being_in idle_state and
         the UE_APP entity having a appContext containing
            contextId indicating value CONTEXT_ID
         ;
      }

      // MEC 016, clause 5.1.4
      Expected behaviour
         ensure that {
            when {
               the IUT entity receives a vDELETE containing
                  uri indicating value "mx2/v2/app_contexts/{CONTEXT_ID}"
               ;
               from the UE_APP entity
            }
            then {
               // MEC 016, clause 7.5.3.5
               the IUT entity sends a HTTP_RESPONSE containing
                  status_code set to "204 No Content"
               ;
               to the UE_APP entity
            }
         }
   }


   Test Purpose {
      TP Id "TP_MEC_SYS_APPCTX_001_BR"


      Test objective
      Test objective
         "Check that the IUT responds with an error when
         "Check that the IUT responds with an error when
@@ -208,101 +122,11 @@ Package sys_mx2_ue_apps_context {




   Test Purpose {
   Test Purpose {
      TP Id "TP_MEC_SYS_APPCTX_002_BI"
      TP Id "TP_MEC_MEO_UEAPPCTX_002_OK"


      Test objective
      Test objective
         "Check that the IUT responds with an error when
         "Check that the IUT updates the application callback reference
         a non-authenticated request is sent by a MEC Application"
         when commanded by an UE Application"

      Reference "ETSI GS MEC 016 V2.1.1, clause 7.4.3.4",
         "https://forge.etsi.org/gitlab/mec/gs016-ue-app-api/blob/master/UEAppInterfaceApi.yaml#/definitions/AppContext"

      Config Id Config_MEC_4

      PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES

      Initial conditions  with {
         the IUT entity being_in idle_state
      }

      // MEC 016, clause 5.1.3
      Expected behaviour
         ensure that {
            when {
               the IUT entity receives a iPOST containing
                  uri indicating value "mx2/v2/app_contexts",
                  body containing
                     AppContext containing
                        appInfo containing
                           appName set to APP_NAME
                        ;
                     ;
                  ;
               ;
               from the UE_APP entity
            }
            then {
               // MEC 016, clause 7.4.3.4
               the IUT entity sends a HTTP_RESPONSE containing
                  status_code set to "401 Unauthorized"
               ;
               to the UE_APP entity
            }
         }
   }


   Test Purpose {
      TP Id "TP_MEC_SYS_APPCTX_003_BI"

      Test objective
         "Check that the IUT responds with an error when
         an unauthorised request is sent by a MEC Application"

      Reference "ETSI GS MEC 016 V2.1.1, clause 7.4.3.4",
         "https://forge.etsi.org/gitlab/mec/gs016-ue-app-api/blob/master/UEAppInterfaceApi.yaml#/definitions/AppContext"

      Config Id Config_MEC_4

      PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES

      Initial conditions  with {
         the IUT entity being_in idle_state
      }

      // MEC 016, clause 5.1.3
      Expected behaviour
         ensure that {
            when {
               the IUT entity receives a POST containing
                  uri indicating value "mx2/v2/app_contexts",
                  body containing
                     AppContext containing
                        appInfo containing
                           appName set to APP_NAME
                        ;
                     ;
                  ;
               ;
               from the UE_APP entity
            }
            then {
               // MEC 016, clause 7.4.3.4
               the IUT entity sends a HTTP_RESPONSE containing
                  status_code set to "403 Forbidden"
               ;
               to the UE_APP entity
            }
         }
   }


   Test Purpose {
      TP Id "TP_MEC_SYS_APPCTX_004_BR"

      Test objective
         "Check that the IUT responds with an error when
         a request with incorrect parameters is sent by a MEC Application"


      Reference "ETSI GS MEC 016 V2.1.1, clause 7.5.3.2",
      Reference "ETSI GS MEC 016 V2.1.1, clause 7.5.3.2",
         "https://forge.etsi.org/gitlab/mec/gs016-ue-app-api/blob/master/UEAppInterfaceApi.yaml#/definitions/AppContext"
         "https://forge.etsi.org/gitlab/mec/gs016-ue-app-api/blob/master/UEAppInterfaceApi.yaml#/definitions/AppContext"
@@ -324,53 +148,6 @@ Package sys_mx2_ue_apps_context {
            when {
            when {
               the IUT entity receives a vPUT containing
               the IUT entity receives a vPUT containing
                  uri indicating value "mx2/v2/app_contexts/{CONTEXT_ID}"
                  uri indicating value "mx2/v2/app_contexts/{CONTEXT_ID}"
                  body containing
                     AppContext containing
                        // A parameter not legible for update should trigger an error response.
                        associateUeAppId indicating value some_value
                     ;
                  ;
               ;
               from the UE_APP entity
            }
            then {
               // MEC 017, clause 7.5.3.2
               the IUT entity sends a HTTP_RESPONSE containing
                  status_code set to "400 Bad Request"
               ;
               to the UE_APP entity
            }
         }
   }


   Test Purpose {
      TP Id "TP_MEC_SYS_APPCTX_005_BI"

      Test objective
         "Check that the IUT responds with an error when
         a non-authenticated request is sent by a MEC Application"

      Reference "ETSI GS MEC 016 V2.1.1, clause 7.5.3.2",
         "https://forge.etsi.org/gitlab/mec/gs016-ue-app-api/blob/master/UEAppInterfaceApi.yaml#/definitions/AppContext"

      Config Id Config_MEC_4

      PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES

      Initial conditions  with {
         the IUT entity being_in idle_state and
         the UE_APP entity having a appContext containing
            contextId indicating value CONTEXT_ID
         ;
      }

      // MEC 016, clause 5.1.5
      Expected behaviour
         ensure that {
            when {
               the IUT entity receives a iPUT containing
                  uri indicating value "mx2/v2/app_contexts/{CONTEXT_ID}",
                  body containing
                  body containing
                     AppContext containing
                     AppContext containing
                        callbackReference indicating value some_uri
                        callbackReference indicating value some_uri
@@ -382,7 +159,7 @@ Package sys_mx2_ue_apps_context {
            then {
            then {
               // MEC 017, clause 7.5.3.2
               // MEC 017, clause 7.5.3.2
               the IUT entity sends a HTTP_RESPONSE containing
               the IUT entity sends a HTTP_RESPONSE containing
                  status_code set to "401 Unauthorized"
                  status_code set to "204 No Content"
               ;
               ;
               to the UE_APP entity
               to the UE_APP entity
            }
            }
@@ -391,11 +168,11 @@ Package sys_mx2_ue_apps_context {




   Test Purpose {
   Test Purpose {
      TP Id "TP_MEC_SYS_APPCTX_006_BI"
      TP Id "TP_MEC_MEO_UEAPPCTX_002_BR"


      Test objective
      Test objective
         "Check that the IUT responds with an error when
         "Check that the IUT responds with an error when
         a non-authorised request is sent by a MEC Application"
         a request with incorrect parameters is sent by a MEC Application"


      Reference "ETSI GS MEC 016 V2.1.1, clause 7.5.3.2",
      Reference "ETSI GS MEC 016 V2.1.1, clause 7.5.3.2",
         "https://forge.etsi.org/gitlab/mec/gs016-ue-app-api/blob/master/UEAppInterfaceApi.yaml#/definitions/AppContext"
         "https://forge.etsi.org/gitlab/mec/gs016-ue-app-api/blob/master/UEAppInterfaceApi.yaml#/definitions/AppContext"
@@ -415,11 +192,12 @@ Package sys_mx2_ue_apps_context {
      Expected behaviour
      Expected behaviour
         ensure that {
         ensure that {
            when {
            when {
               the IUT entity receives a PUT containing
               the IUT entity receives a vPUT containing
                  uri indicating value "mx2/v2/app_contexts/{CONTEXT_ID}"
                  uri indicating value "mx2/v2/app_contexts/{CONTEXT_ID}"
                  body containing
                  body containing
                     AppContext containing
                     AppContext containing
                        callbackReference indicating value some_uri
                        // A parameter not legible for update should trigger an error response.
                        associateUeAppId indicating value some_value
                     ;
                     ;
                  ;
                  ;
               ;
               ;
@@ -428,7 +206,7 @@ Package sys_mx2_ue_apps_context {
            then {
            then {
               // MEC 017, clause 7.5.3.2
               // MEC 017, clause 7.5.3.2
               the IUT entity sends a HTTP_RESPONSE containing
               the IUT entity sends a HTTP_RESPONSE containing
                  status_code set to "403 Forbidden"
                  status_code set to "400 Bad Request"
               ;
               ;
               to the UE_APP entity
               to the UE_APP entity
            }
            }
@@ -437,7 +215,7 @@ Package sys_mx2_ue_apps_context {




   Test Purpose {
   Test Purpose {
      TP Id "TP_MEC_SYS_APPCTX_007_NF"
      TP Id "TP_MEC_MEO_UEAPPCTX_002_NF"


      Test objective
      Test objective
         "Check that the IUT responds with an error when
         "Check that the IUT responds with an error when
@@ -483,51 +261,11 @@ Package sys_mx2_ue_apps_context {




   Test Purpose {
   Test Purpose {
      TP Id "TP_MEC_SYS_APPCTX_008_BI"
      TP Id "TP_MEC_MEO_UEAPPCTX_003_OK"


      Test objective
      Test objective
         "Check that the IUT responds with an error when
         "Check that the IUT deletes the application context
         a non-authenticated request is sent by a MEC Application"
         when commanded by an UE Application"

      Reference "ETSI GS MEC 016 V2.1.1, clause 7.5.3.5"

      Config Id Config_MEC_4

      PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES

      Initial conditions  with {
         the IUT entity being_in idle_state and
         the UE_APP entity having a appContext containing
            contextId indicating value CONTEXT_ID
         ;
      }

      // MEC 016, clause 5.1.4
      Expected behaviour
         ensure that {
            when {
               the IUT entity receives a iDELETE containing
                  uri indicating value "mx2/v2/app_contexts/{CONTEXT_ID}"
               ;
               from the UE_APP entity
            }
            then {
               // MEC 016, clause 7.5.3.5
               the IUT entity sends a HTTP_RESPONSE containing
                  status_code set to "401 Unauthorized"
               ;
               to the UE_APP entity
            }
         }
   }


   Test Purpose {
      TP Id "TP_MEC_SYS_APPCTX_009_BI"

      Test objective
         "Check that the IUT responds with an error when
         an unauthorised request is sent by a MEC Application"


      Reference "ETSI GS MEC 016 V2.1.1, clause 7.5.3.5"
      Reference "ETSI GS MEC 016 V2.1.1, clause 7.5.3.5"


@@ -546,7 +284,7 @@ Package sys_mx2_ue_apps_context {
      Expected behaviour
      Expected behaviour
         ensure that {
         ensure that {
            when {
            when {
               the IUT entity receives a DELETE containing
               the IUT entity receives a vDELETE containing
                  uri indicating value "mx2/v2/app_contexts/{CONTEXT_ID}"
                  uri indicating value "mx2/v2/app_contexts/{CONTEXT_ID}"
               ;
               ;
               from the UE_APP entity
               from the UE_APP entity
@@ -554,7 +292,7 @@ Package sys_mx2_ue_apps_context {
            then {
            then {
               // MEC 016, clause 7.5.3.5
               // MEC 016, clause 7.5.3.5
               the IUT entity sends a HTTP_RESPONSE containing
               the IUT entity sends a HTTP_RESPONSE containing
                  status_code set to "403 Forbidden"
                  status_code set to "204 No Content"
               ;
               ;
               to the UE_APP entity
               to the UE_APP entity
            }
            }
@@ -563,7 +301,7 @@ Package sys_mx2_ue_apps_context {




   Test Purpose {
   Test Purpose {
      TP Id "TP_MEC_SYS_APPCTX_010_NF"
      TP Id "TP_MEC_MEO_UEAPPCTX_003_NF"


      Test objective
      Test objective
         "Check that the IUT responds with an error when
         "Check that the IUT responds with an error when
+4 −90
Original line number Original line Diff line number Diff line
@@ -13,7 +13,7 @@ copyright notice shall be included in all copies of whole or part of this
file and shall not imply any sub-license right.
file and shall not imply any sub-license right.
*/
*/


Package sys_mx2_ue_applications {
Package MEC_MEO_UEAPPS {


   import all from MEC_Common;
   import all from MEC_Common;


@@ -23,7 +23,7 @@ Package sys_mx2_ue_applications {
    */
    */


   Test Purpose {
   Test Purpose {
      TP Id "TP_MEC_SYS_UEAPPS_001_OK"
      TP Id "TP_MEC_MEO_UEAPPS_001_OK"
   
   
      Test objective
      Test objective
      "Check that the IUT responds with the list of user applications available 
      "Check that the IUT responds with the list of user applications available 
@@ -74,7 +74,7 @@ Package sys_mx2_ue_applications {




   Test Purpose {
   Test Purpose {
      TP Id "TP_MEC_SYS_UEAPPS_001_BR"
      TP Id "TP_MEC_MEO_UEAPPS_001_BR"
   
   
      Test objective
      Test objective
         "Check that the IUT responds with an error when
         "Check that the IUT responds with an error when
@@ -119,93 +119,7 @@ Package sys_mx2_ue_applications {




   Test Purpose {
   Test Purpose {
      TP Id "TP_MEC_SYS_UEAPPS_002_BI"
      TP Id "TP_MEC_MEO_UEAPPS_001_NF"
   
      Test objective
         "Check that the IUT responds with an error when
         a non-authenticated request is sent by a MEC Application"
   
      Reference "ETSI GS MEC 016 V2.1.1, clause 7.3.3.1"
   
      Config Id Config_MEC_4
   
      PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES

      Initial conditions  with {
         the IUT entity being_in idle_state and
         the UE_APP entity having a appInfo containing
            appName indicating value APP_NAME
         ;
      }
   
      // MEC 016, clause 5.1.2
      Expected behaviour
         ensure that {
            when {
               the IUT entity receives a iGET containing
                  uri indicating value "mx2/v2/app_list",
                  query_parameters containing
                     appName indicating value APP_NAME
                  ;
               ;
               from the UE_APP entity
            }
            then {
               // MEC 016, clause 7.3.3.1
               the IUT entity sends a HTTP_RESPONSE containing
                  status_code set to "401 Unauthorized"
               ;
               to the UE_APP entity
            }
         }
   }


   Test Purpose {
      TP Id "TP_MEC_SYS_UEAPPS_003_BI"
   
      Test objective
         "Check that the IUT responds with an error when
         an unauthorised request is sent by a MEC Application"
   
      Reference "ETSI GS MEC 016 V2.1.1, clause 7.3.3.1"
   
      Config Id Config_MEC_4
   
      PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES

      Initial conditions  with {
         the IUT entity being_in idle_state and
         the UE_APP entity having a appInfo containing
            appName indicating value APP_NAME
         ;
      }
   
      // MEC 016, clause 5.1.2
      Expected behaviour
         ensure that {
            when {
               the IUT entity receives a GET containing
                  uri indicating value "mx2/v2/app_list",
                  query_parameters containing
                     appName indicating value APP_NAME
                  ;
               ;
               from the UE_APP entity
            }
            then {
               // MEC 016, clause 7.3.3.1
               the IUT entity sends a HTTP_RESPONSE containing
                  status_code set to "403 Forbidden"
               ;
               to the UE_APP entity
            }
         }
   }


   Test Purpose {
      TP Id "TP_MEC_SYS_UEAPPS_004_NF"
   
   
      Test objective
      Test objective
         "Check that the IUT responds with an error when
         "Check that the IUT responds with an error when
+4 −4
Original line number Original line Diff line number Diff line
@@ -13,17 +13,17 @@ copyright notice shall be included in all copies of whole or part of this
file and shall not imply any sub-license right.
file and shall not imply any sub-license right.
*/
*/


Package plat_ue_area_subscription {
Package MEC_SRV_UEAREASUB {


   import all from MEC_Common;
   import all from MEC_Common;




   /*
   /*
    * UE Area Subscribe (AREASUB)
    * UE Area Subscribe (UEAREASUB)
    */
    */


    Test Purpose {
    Test Purpose {
      TP Id "TP_MEC_PLAT_AREASUB_001_OK"
      TP Id "TP_MEC_SRV_UEAREASUB_001_OK"


      Test objective
      Test objective
         "Check that the IUT acknowledges the UE area change subscription request when
         "Check that the IUT acknowledges the UE area change subscription request when
@@ -86,7 +86,7 @@ Package plat_ue_area_subscription {
   }
   }


   Test Purpose {
   Test Purpose {
      TP Id "TP_MEC_PLAT_AREASUB_002_OK"
      TP Id "TP_MEC_SRV_UEAREASUB_002_OK"
   
   
      Test objective
      Test objective
      "Check that the IUT acknowledges the cancellation of UE area change notifications  
      "Check that the IUT acknowledges the cancellation of UE area change notifications  
Loading