Commit 45d3abfc authored by Giada Landi's avatar Giada Landi
Browse files

Merge branch 'nxw' of https://forge.etsi.org/gitlab/mec/MEC-tests into nxw

parents 207c8b93 8f405a78
Loading
Loading
Loading
Loading
+37 −37
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ Package MEC010_2_MEO_MM1_APP_INSTANCE_LCM_BO_BI {
   import all from MEC_Common;
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_LCM_BO_BI_001"
      TP Id "TP_MEC_MEO_MM1_LCM_001_BO_BI_001"
      
      Test objective 
         "Check that MEO fails on creation of a new App Instance when requested"
@@ -56,7 +56,7 @@ Package MEC010_2_MEO_MM1_APP_INSTANCE_LCM_BO_BI {


   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_LCM_BO_BI_002"   // No token
      TP Id "TP_MEC_MEO_MM1_LCM_001_BO_BI_002"   // No token
      
      Test objective 
         "Check that MEO fails on creation of a new App Instance when requested using no token"
@@ -95,7 +95,7 @@ Package MEC010_2_MEO_MM1_APP_INSTANCE_LCM_BO_BI {
   }

   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_LCM_BO_BI_003"   // Wrong token
      TP Id "TP_MEC_MEO_MM1_LCM_001_BO_BI_003"   // Wrong token
      
      Test objective 
         "Check that MEO fails on creation of a new App Instance when requested using wrong token"
@@ -137,7 +137,7 @@ Package MEC010_2_MEO_MM1_APP_INSTANCE_LCM_BO_BI {
   

   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_LCM_BO_BI_004"   // No token
      TP Id "TP_MEC_MEO_MM1_LCM_002_BO_BI_001"   // No token
      
      Test objective 
         "Check that MEO fails on retrieving the list of App Instances when requested using no token"
@@ -170,7 +170,7 @@ Package MEC010_2_MEO_MM1_APP_INSTANCE_LCM_BO_BI {
   }

   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_LCM_BO_BI_005"   // Wrong token
      TP Id "TP_MEC_MEO_MM1_LCM_002_BO_BI_002"   // Wrong token
      
      Test objective 
         "Check that MEO fails on retrieving the list of App Instances when requested using wrong token"
@@ -203,7 +203,7 @@ Package MEC010_2_MEO_MM1_APP_INSTANCE_LCM_BO_BI {
   }   
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_LCM_BO_BI_006"   // No token
      TP Id "TP_MEC_MEO_MM1_LCM_003_BO_BI_001"   // No token
      
      Test objective 
         "Check that MEO fails on retrieving an App Instance when requested using no token"
@@ -237,7 +237,7 @@ Package MEC010_2_MEO_MM1_APP_INSTANCE_LCM_BO_BI {
   }

   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_LCM_BO_BI_007"   // Wrong token
      TP Id "TP_MEC_MEO_MM1_LCM_003_BO_BI_002"   // Wrong token
      
      Test objective 
         "Check that MEO fails on retrieving an App Instance when requested using wrong token"
@@ -271,7 +271,7 @@ Package MEC010_2_MEO_MM1_APP_INSTANCE_LCM_BO_BI {
   }  
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_LCM_BO_BI_008"   // Wrong APP_INSTANCE_ID
      TP Id "TP_MEC_MEO_MM1_LCM_003_BO_BI_003"   // Wrong APP_INSTANCE_ID
      
      Test objective 
         "Check that MEO fails on retrieving an App Instance when requested using wrong appInstanceId"
@@ -305,7 +305,7 @@ Package MEC010_2_MEO_MM1_APP_INSTANCE_LCM_BO_BI {
   

   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_LCM_BO_BI_009"   // No token
      TP Id "TP_MEC_MEO_MM1_LCM_004_BO_BI_001"   // No token
      
      Test objective 
         "Check that MEO fails on deletion of an App Instance when requested using no token"
@@ -339,7 +339,7 @@ Package MEC010_2_MEO_MM1_APP_INSTANCE_LCM_BO_BI {
   }

   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_LCM_BO_BI_010"   // Wrong token
      TP Id "TP_MEC_MEO_MM1_LCM_004_BO_BI_002"   // Wrong token
      
      Test objective 
         "Check that MEO fails on deletion of an App Instance when requested using wrong token"
@@ -373,7 +373,7 @@ Package MEC010_2_MEO_MM1_APP_INSTANCE_LCM_BO_BI {
   }  
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_LCM_BO_BI_011"   // Wrong APP_INSTANCE_ID
      TP Id "TP_MEC_MEO_MM1_LCM_004_BO_BI_003"   // Wrong APP_INSTANCE_ID
      
      Test objective 
         "Check that MEO fails on deletion of an App Instance when requested using wrong appInstanceId"
@@ -407,7 +407,7 @@ Package MEC010_2_MEO_MM1_APP_INSTANCE_LCM_BO_BI {
   

   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_LCM_BO_BI_012"
      TP Id "TP_MEC_MEO_MM1_LCM_005_BO_BI_001"
      
      Test objective 
         "Check that MEO service fails to instantiate an App Instance when requested"
@@ -448,7 +448,7 @@ Package MEC010_2_MEO_MM1_APP_INSTANCE_LCM_BO_BI {


   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_LCM_BO_BI_013"   // No token
      TP Id "TP_MEC_MEO_MM1_LCM_005_BO_BI_002"   // No token
      
      Test objective 
         "Check that MEO fails on instantiating an App Instance when requested using no token"
@@ -494,7 +494,7 @@ Package MEC010_2_MEO_MM1_APP_INSTANCE_LCM_BO_BI {
   }

   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_LCM_BO_BI_014"   // Wrong token
      TP Id "TP_MEC_MEO_MM1_LCM_005_BO_BI_003"   // Wrong token
      
      Test objective 
         "Check that MEO fails on instantiation of an App Instance when requested using wrong token"
@@ -541,7 +541,7 @@ Package MEC010_2_MEO_MM1_APP_INSTANCE_LCM_BO_BI {
   
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_LCM_BO_BI_015"
      TP Id "TP_MEC_MEO_MM1_LCM_006_BO_BI_001"
      
      Test objective 
         "Check that MEO service fails to terminate an App Instance when requested"
@@ -582,7 +582,7 @@ Package MEC010_2_MEO_MM1_APP_INSTANCE_LCM_BO_BI {


   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_LCM_BO_BI_016"   // No token
      TP Id "TP_MEC_MEO_MM1_LCM_006_BO_BI_002"   // No token
      
      Test objective 
         "Check that MEO fails to terminate an App Instance when requested using no token"
@@ -623,7 +623,7 @@ Package MEC010_2_MEO_MM1_APP_INSTANCE_LCM_BO_BI {
   }

   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_LCM_BO_BI_017"   // Wrong token
      TP Id "TP_MEC_MEO_MM1_LCM_006_BO_BI_003"   // Wrong token
      
      Test objective 
         "Check that MEO fails to terminate an App Instance when requested using wrong token"
@@ -665,7 +665,7 @@ Package MEC010_2_MEO_MM1_APP_INSTANCE_LCM_BO_BI {
      

   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_LCM_BO_BI_018"
      TP Id "TP_MEC_MEO_MM1_LCM_007_BO_BI_001"
      
      Test objective 
         "Check that MEO service fails to operate on an App Instance when requested"
@@ -707,7 +707,7 @@ Package MEC010_2_MEO_MM1_APP_INSTANCE_LCM_BO_BI {


   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_LCM_BO_BI_019"   // No token
      TP Id "TP_MEC_MEO_MM1_LCM_007_BO_BI_002"   // No token
      
      Test objective 
         "Check that MEO fails to terminate an App Instance when requested using no token"
@@ -749,7 +749,7 @@ Package MEC010_2_MEO_MM1_APP_INSTANCE_LCM_BO_BI {
   }

   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_LCM_BO_BI_020"   // Wrong token
      TP Id "TP_MEC_MEO_MM1_LCM_007_BO_BI_003"   // Wrong token
      
      Test objective 
         "Check that MEO fails to terminate an App Instance when requested using wrong token"
@@ -793,7 +793,7 @@ Package MEC010_2_MEO_MM1_APP_INSTANCE_LCM_BO_BI {
   
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_LCM_BO_BI_021"
      TP Id "TP_MEC_MEO_MM1_LCM_008_BO_BI_001"
      
      Test objective 
         "Check that MEO service failing to retrieve info from LCM Operation Occurrencies on an App Instance when requested using no token"
@@ -828,7 +828,7 @@ Package MEC010_2_MEO_MM1_APP_INSTANCE_LCM_BO_BI {


   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_LCM_BO_BI_022"
      TP Id "TP_MEC_MEO_MM1_LCM_008_BO_BI_002"
      
      Test objective 
         "Check that MEO service failing to retrieve info from LCM Operation Occurrencies on an App Instance when requested using wrong token"
@@ -867,7 +867,7 @@ Package MEC010_2_MEO_MM1_APP_INSTANCE_LCM_BO_BI {


   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_LCM_BO_BI_023"
      TP Id "TP_MEC_MEO_MM1_LCM_009_BO_BI_001a"
      
      Test objective 
         "Check that MEO service failing to retrieve info from LCM Operation Occurrencies on an App Instance when requested using no token"
@@ -904,7 +904,7 @@ Package MEC010_2_MEO_MM1_APP_INSTANCE_LCM_BO_BI {


   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_LCM_BO_BI_024"
      TP Id "TP_MEC_MEO_MM1_LCM_009_BO_BI_001b"
      
      Test objective 
         "Check that MEO service failing to retrieve info from LCM Operation Occurrencies on an App Instance when requested using wrong token"
@@ -939,7 +939,7 @@ Package MEC010_2_MEO_MM1_APP_INSTANCE_LCM_BO_BI {
   } 
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_LCM_BO_BI_025"
      TP Id "TP_MEC_MEO_MM1_LCM_009_BO_BI_002"
      
      Test objective 
         "Check that MEO service failing to retrieve info from LCM Operation Occurrencies on an App Instance when requested using wrong lcm id"
@@ -974,7 +974,7 @@ Package MEC010_2_MEO_MM1_APP_INSTANCE_LCM_BO_BI {
   
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_LCM_BO_BI_026"
      TP Id "TP_MEC_MEO_MM1_LCM_001a_BO_BI_001"
      
      Test objective 
         "Check that MEO service fails to send a LCM Subscription for AppInstSubscriptionRequest event when requested"
@@ -1015,7 +1015,7 @@ Package MEC010_2_MEO_MM1_APP_INSTANCE_LCM_BO_BI {
 
 
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_LCM_BO_BI_027"
      TP Id "TP_MEC_MEO_MM1_LCM_001b_BO_BI_001"
      
      Test objective 
         "Check that MEO service fails to send a LCM Subscription for AppLcmOpOccSubscriptionInfo when requested"
@@ -1055,7 +1055,7 @@ Package MEC010_2_MEO_MM1_APP_INSTANCE_LCM_BO_BI {
   }
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_LCM_BO_BI_028"
      TP Id "TP_MEC_MEO_MM1_LCM_001a_BO_BI_002"
      
      Test objective 
         "Check that MEO service fails to send a LCM Subscription when requested using no token"
@@ -1089,7 +1089,7 @@ Package MEC010_2_MEO_MM1_APP_INSTANCE_LCM_BO_BI {


   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_LCM_BO_BI_029"
      TP Id "TP_MEC_MEO_MM1_LCM_001b_BO_BI_002"
      
      Test objective 
         "Check that MEO service fails to send a LCM Subscription when requested using wrong token"
@@ -1121,7 +1121,7 @@ Package MEC010_2_MEO_MM1_APP_INSTANCE_LCM_BO_BI {
   }   
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_LCM_BO_BI_030"
      TP Id "TP_MEC_MEO_MM1_LCM_SUB_002_BO_BI_001"
      
      Test objective 
         "Check that MEO service fails to retrieve the list of LCM Subscriptions when requested using no token"
@@ -1155,7 +1155,7 @@ Package MEC010_2_MEO_MM1_APP_INSTANCE_LCM_BO_BI {


   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_LCM_BO_BI_031"
      TP Id "TP_MEC_MEO_MM1_LCM_SUB_002_BO_BI_002"
      
      Test objective 
         "Check that MEO service fails to retrieve the list of LCM Subscriptions when requested using wrong token"
@@ -1188,7 +1188,7 @@ Package MEC010_2_MEO_MM1_APP_INSTANCE_LCM_BO_BI {


   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_LCM_BO_BI_032"
      TP Id "TP_MEC_MEO_MM1_LCM_SUB_003a_BO_BI_001"
      
      Test objective 
         "Check that MEO service fails to retrieve a LCM Subscription when requested using no token"
@@ -1224,7 +1224,7 @@ Package MEC010_2_MEO_MM1_APP_INSTANCE_LCM_BO_BI {


   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_LCM_BO_BI_033"
      TP Id "TP_MEC_MEO_MM1_LCM_SUB_003b_BO_BI_001"
      
      Test objective 
         "Check that MEO service fails to retrieve a LCM Subscription when requested using wrong token"
@@ -1258,7 +1258,7 @@ Package MEC010_2_MEO_MM1_APP_INSTANCE_LCM_BO_BI {
   }     

   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_LCM_BO_BI_034"
      TP Id "TP_MEC_MEO_MM1_LCM_SUB_003a_BO_BI_002"
      
      Test objective 
         "Check that MEO service fails to retrieve a LCM Subscription when requested using wrong subscription ID"
@@ -1292,7 +1292,7 @@ Package MEC010_2_MEO_MM1_APP_INSTANCE_LCM_BO_BI {
   
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_LCM_BO_BI_034"
      TP Id "TP_MEC_MEO_MM1_LCM_SUB_004_BO_BI_001"
      
      Test objective 
         "Check that MEO service fails to delete a LCM Subscription when requested using no token"
@@ -1328,7 +1328,7 @@ Package MEC010_2_MEO_MM1_APP_INSTANCE_LCM_BO_BI {


   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_LCM_BO_BI_035"
      TP Id "TP_MEC_MEO_MM1_LCM_SUB_004_BO_BI_002"
      
      Test objective 
         "Check that MEO service fails to delete a LCM Subscription when requested using wrong token"
@@ -1362,7 +1362,7 @@ Package MEC010_2_MEO_MM1_APP_INSTANCE_LCM_BO_BI {
   }     

   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_LCM_BO_BI_036"
      TP Id "TP_MEC_MEO_MM1_LCM_SUB_004_BO_BI_003"
      
      Test objective 
         "Check that MEO service fails to delete a LCM Subscription when requested using wrong subscription ID"
+2 −2
Original line number Diff line number Diff line
@@ -444,7 +444,7 @@ Package MEC010_2_MEO_MM1_APP_INSTANCE_LCM {


   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_LCM_SUB_001_v1"
      TP Id "TP_MEC_MEO_MM1_LCM_SUB_001a"
      
      Test objective 
         "Check that MEO service sends a LCM Subscription for AppInstSubscriptionRequest event when requested"
@@ -496,7 +496,7 @@ Package MEC010_2_MEO_MM1_APP_INSTANCE_LCM {
 
 
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_LCM_SUB_001_v2"
      TP Id "TP_MEC_MEO_MM1_LCM_SUB_001b"
      
      Test objective 
         "Check that MEO service sends a LCM Subscription for AppLcmOpOccSubscriptionInfo when requested"
+29 −112
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI {
   
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_001_NEG_A"         //Negative case 400 Bad request
      TP Id "TP_MEC_MEO_MM1_PKGM_001_BO_BI_001"         //Negative case 400 Bad request
      
      Test objective 
         "Check that MEO responds with an error when it receives 
@@ -54,7 +54,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI {
   }
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_001_NEG_B"         //Negative case 401 Unauthorized - no token
      TP Id "TP_MEC_MEO_MM1_PKGM_001_BO_BI_002"         //Negative case 401 Unauthorized - no token
      
      Test objective 
         "Check that MEO responds with an error when it receives 
@@ -92,7 +92,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI {
   }
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_001_NEG_C"         //Negative case 401 Unauthorized - wrong token
      TP Id "TP_MEC_MEO_MM1_PKGM_001_BO_BI_003"         //Negative case 401 Unauthorized - wrong token
      
      Test objective 
         "Check that MEO responds with an error when it receives 
@@ -129,7 +129,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI {
   }
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_001_NEG_D"         //Negative case 404 Not found
      TP Id "TP_MEC_MEO_MM1_PKGM_002b_BO_BI_003"         //Negative case 404 Not found
      
      Test objective 
         "Check that MEO responds with an error when it receives 
@@ -164,7 +164,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI {
   
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_001_NEG_E"         //Negative case 400 Bad request
      TP Id "TP_MEC_MEO_MM1_PKGM_002a_BO_BI_001"         //Negative case 400 Bad request
      
      Test objective 
         "Check that MEO responds with an error when it receives 
@@ -200,7 +200,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI {
   
   
      Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_001_NEG_F"         //Negative case 401 Unauthorized - no token
      TP Id "TP_MEC_MEO_MM1_PKGM_002a_BO_BI_002"         //Negative case 401 Unauthorized - no token
      
      Test objective 
         "Check that MEO responds with an error when it receives 
@@ -233,7 +233,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI {
   }
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_001_NEG_G"         //Negative case 401 Unauthorized - wrong token
      TP Id "TP_MEC_MEO_MM1_PKGM_002a_BO_BI_003"         //Negative case 401 Unauthorized - wrong token
      
      Test objective 
         "Check that MEO responds with an error when it receives 
@@ -265,46 +265,10 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI {
      }       
   }

   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_001_NEG_H"         //Negative case 400 Bad request
      
      Test objective 
         "Check that MEO responds with an error when it receives 
         a malformed request for retrieving an existing App Package"
      
      Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.2.3.2",
              "ETSI GS MEC 010-2 2.0.9, Table 6.2.3.3.2-1"      //OnboardedAppPkgInfo
      Config Id Config_MEC_2
      PICS Selection PIC_APP_PACKAGE and PIC_APP_PACKAGE_MANAGEMENT

      Initial conditions  with {
         the IUT entity having a App_Package containing
            appPkgId indicating value ON_BOARDED_APP_PKG_ID,
            appDId indicating value APPD_ID
         ;
      }

      Expected behaviour
      ensure that {
         when {
            the IUT entity receives a vGET containing 
               uri indicating value "/apmi/v1/app_packages",
               query_parameters containing 
                  operationalStatus indicating value ENABLED      // the query parameter should be operationalState not operationalStatus
               ;
            ; from the MEC_OSS entity
         }
         then {
            the IUT entity sends a HTTP_RESPONSE containing
               status set to "400 Bad Request"
            ; to the MEC_OSS entity
         }
      }       
   }
   
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_001_NEG_I"         //Negative case 401 Unauthorized - no token
      TP Id "TP_MEC_MEO_MM1_PKGM_002b_BO_BI_001"         //Negative case 401 Unauthorized - no token
      
      Test objective 
         "Check that MEO responds with an error when it receives 
@@ -345,7 +309,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI {
   }
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_001_NEG_J"         //Negative case 401 Unauthorized - wrong token
      TP Id "TP_MEC_MEO_MM1_PKGM_002b_BO_BI_002"         //Negative case 401 Unauthorized - wrong token
      
      Test objective 
         "Check that MEO responds with an error when it receives 
@@ -386,7 +350,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI {
      
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_001_NEG_K"         //Negative case 401 Unauthorized - no token
      TP Id "TP_MEC_MEO_MM1_PKGM_003_BO_BI_001"         //Negative case 401 Unauthorized - no token
      
      Test objective 
         "Check that MEO responds with an error when it receives 
@@ -427,7 +391,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI {
   }
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_001_NEG_L"         //Negative case 401 Unauthorized - wrong token
      TP Id "TP_MEC_MEO_MM1_PKGM_003_BO_BI_002"         //Negative case 401 Unauthorized - wrong token
      
      Test objective 
         "Check that MEO responds with an error when it receives 
@@ -467,7 +431,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI {
   }
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_001_NEG_M"         //Negative case 404 Not found
      TP Id "TP_MEC_MEO_MM1_PKGM_003_BO_BI_003"         //Negative case 404 Not found
      
      Test objective 
         "Check that MEO responds with an error when it receives 
@@ -501,7 +465,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI {
   }
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_001_NEG_N"
      TP Id "TP_MEC_MEO_MM1_PKGM_004_BO_BI_001"
      
      Test objective 
         "Check that MEO fails to disable an App Package already in disable status when requested"
@@ -534,7 +498,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI {
   }
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_001_NEG_O"         //Negative case 401 Unauthorized - no token
      TP Id "TP_MEC_MEO_MM1_PKGM_004_BO_BI_002"         //Negative case 401 Unauthorized - no token
      
      Test objective 
         "Check that MEO responds with an error when it receives 
@@ -571,7 +535,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI {
   }
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_001_NEG_P"         //Negative case 401 Unauthorized - wrong token
      TP Id "TP_MEC_MEO_MM1_PKGM_004_BO_BI_003"         //Negative case 401 Unauthorized - wrong token
      
      Test objective 
         "Check that MEO responds with an error when it receives 
@@ -607,7 +571,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI {
   }   
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_001_NEG_Q"         //Negative case 404 Not found
      TP Id "TP_MEC_MEO_MM1_PKGM_004_BO_BI_004"         //Negative case 404 Not found
      
      Test objective 
         "Check that MEO responds with an error when it receives 
@@ -642,7 +606,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI {
   }
 
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_001_NEG_R"
      TP Id "TP_MEC_MEO_MM1_PKGM_005_BO_BI_001"
      
      Test objective 
         "Check that MEO fails to retrieve the AppD from  an App Package when requested"
@@ -675,7 +639,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI {
   }
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_001_NEG_S"         //Negative case 401 Unauthorized - wrong token
      TP Id "TP_MEC_MEO_MM1_PKGM_005_BO_BI_002"         //Negative case 401 Unauthorized - wrong token
      
      Test objective 
         "Check that MEO responds with an error when it receives 
@@ -710,7 +674,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI {
   }   
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_SUB_NEG_A"
      TP Id "TP_MEC_MEO_MM1_PKGM_SUB_002_BO_BI_001"
      
      Test objective 
         "Check that MEO service fails retrieving Subscriptions on AppPackages when requested using no token"
@@ -743,7 +707,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI {
   

   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_SUB_NEG_B"
      TP Id "TP_MEC_MEO_MM1_PKGM_SUB_002_BO_BI_002"
      
      Test objective 
         "Check that MEO service fails retrieving Subscriptions on AppPackages when requested using wrong token"
@@ -777,7 +741,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI {


   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_SUB_NEG_C"
      TP Id "TP_MEC_MEO_MM1_PKGM_SUB_001_BO_BI_001"
      
      Test objective 
         "Check that MEO service fails creating new Subscription on AppPackages when requested using incorrect parameters"
@@ -819,7 +783,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI {
   
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_SUB_NEG_D"
      TP Id "TP_MEC_MEO_MM1_PKGM_SUB_001_BO_BI_002"
      
      Test objective 
         "Check that MEO service fails creating new Subscription on AppPackages when requested using no token"
@@ -861,7 +825,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI {
   

   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_SUB_NEG_E"
      TP Id "TP_MEC_MEO_MM1_PKGM_SUB_001_BO_BI_003"
      
      Test objective 
         "Check that MEO service fails creating new Subscription on AppPackages when requested using wrong token"
@@ -902,7 +866,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI {
   }     
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_SUB_NEG_F"
      TP Id "TP_MEC_MEO_MM1_PKGM_SUB_004_BO_BI_001"
      
      Test objective 
         "Check that MEO service fails retrieving a specific subscription on AppPackages when requested using no token"
@@ -939,7 +903,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI {
   

   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_SUB_NEG_G"
      TP Id "TP_MEC_MEO_MM1_PKGM_SUB_004_BO_BI_002"
      
      Test objective 
         "Check that MEO service fails retrieving a specific subscription on AppPackages when requested using wrong token"
@@ -976,7 +940,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI {


   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_SUB_NEG_H"
      TP Id "TP_MEC_MEO_MM1_PKGM_SUB_004_BO_BI_003"
      
      Test objective 
         "Check that MEO service fails retrieving a specific subscription on AppPackages when requested using wrong identifier"
@@ -1011,7 +975,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI {


   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_SUB_NEG_I"
      TP Id "TP_MEC_MEO_MM1_PKGM_SUB_003_BO_BI_001"
      
      Test objective 
         "Check that MEO service fails deleting a specific subscription on AppPackages when requested using no token"
@@ -1048,7 +1012,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI {
   

   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_SUB_NEG_J"
      TP Id "TP_MEC_MEO_MM1_PKGM_SUB_003_BO_BI_002"
      
      Test objective 
         "Check that MEO service fails deleting a specific subscription on AppPackages when requested using wrong token"
@@ -1085,7 +1049,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI {


   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_SUB_NEG_K"
      TP Id "TP_MEC_MEO_MM1_PKGM_SUB_003_BO_BI_003"
      
      Test objective 
         "Check that MEO service fails deleting a specific subscription on AppPackages when requested using wrong identifier"
@@ -1116,51 +1080,4 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI {
         }
      }
   }  
   
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_NOTIF_NEG_01"
      
      Test objective 
         "Check that the MEO service fails to send a application package notification 
          if the MEO service has an associated subscription and the event is generated, without using token"
      
      Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.5.1"
      
      Config Id Config_MEC_1
      PICS Selection PIC_APP_PACKAGE and PIC_APP_PACKAGE_NOTIFICATIONS

      Initial conditions  with {
         the IUT entity having a MEO_subscription containing 
            subscriptionId set to SUBSCRIPTION_ID,
	        subscriptionType set to "ON_BOARDING",
	        callbackUri set to CALLBACK_URI
         ;
      }

      Expected behaviour
      ensure that {
         when {
            the IUT entity generates a on_boarding_event containing 
               subscriptionId set to SUBSCRIPTION_ID;
         }
         then {
            the IUT entity sends a POST containing
               uri indicating value CALLBACK_URI,
               body containing
                  notificationId set to NOTIFICATION_ID,
                  notificationType indicating value "ON_BOARDING",
                  subscriptionId set to SUBSCRIPTION_ID,
                  timeStamp set to DATE_TIME,
                  appPkgId set to APP_PKG_ID,
                  appDId set to APPD_ID,
                  _links containing
                     self set to "/apmi/v1/subscriptions/{subscriptionId}"
                  ;
               ;
            ; to the MEC_SUB entity
         }
      }
   }

}
+21 −105

File changed.

Preview size limit exceeded, changes collapsed.