Commit 60ded6cf authored by piscione's avatar piscione
Browse files

Implemented Not Found TP for platform configuration for MEC010p2 v2.2.1

parent 6f650eee
Loading
Loading
Loading
Loading
+42 −0
Original line number Original line Diff line number Diff line
@@ -43,5 +43,47 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI {
   }
   }
   
   
   
   
  Test Purpose {
      TP Id "TP_MEC_MEC010p2_MEPM_LCM_01_NF"
      
      Test objective 
         "Check that MEC API provider sends an error when it receives a request 
			for the configuration information in AppD to the MEPM-V with not valid app instance ID"
      
      Reference
          "ETSI GS MEC 010-2 2.2.1, clause 7.7.6.3.1",
          "ETSI GS MEC 010-2 2.2.1, Table 6.2.2.21.2-1" //ConfigPlatformForAppRequest
          
      Config Id Config_MEC_5
      PICS Selection PIC_APP_PACKAGE_MANAGEMENT 
      
      Initial conditions  with {
          the IUT entity "not" having a AppInstanceInfo containing
              id indicating value NOT_EXISTING_APP_ID
          ;
      }
      
      Expected behaviour
      ensure that {
          when {
              the IUT entity receives a vPOST containing 
                  uri indicating value "/app_lcm/v1/app_instances/{NOT_EXISTING_APP_ID}/configure_platform_for_app",
                  body containing
                  ConfigPlatformForAppRequest containing
                     appServiceWrongRequired set to some_values //Wrong Param
                  ;
               ;
              ;
              from the MEO entity
         }
         then {
             the IUT entity sends a HTTP_RESPONSE containing
                 status set to "404 Not Found"
              ;
              to the MEO entity
         }
      }
   }
   


}
}