Commit c4443aa6 authored by piscione's avatar piscione
Browse files

Added missing TP TP_MEC_MEC011_SRV_TRAF_002_NF for MEC011

parent 3734040d
Loading
Loading
Loading
Loading
+43 −0
Original line number Diff line number Diff line
@@ -135,6 +135,49 @@ Package MEC_MEC011_SRV_TRAF {
   }


   Test Purpose {
      TP Id "TP_MEC_MEC011_SRV_TRAF_002_NF"

      Test objective
         "Check that the IUT responds with an error when a request for an unknown traffic rule
         when queried by a MEC Application"

      Reference 
        "ETSI GS MEC 011 3.2.1, clause 5.2.7",
        "ETSI GS MEC 011 3.2.1, clause 7.1.2.2",
        "ETSI GS MEC 011 3.2.1, clause 7.2.8.3.1"

      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 IUT entity having a apps_instance containing
            instance_id indicating value APP_INSTANCE_ID; and
         the IUT entity having a traffic_rules containing
            rule_id indicating value UNKNOWN_TRAFFIC_RULE_ID;
      }

      // MEC 011 3.2.1, clause 5.2.7
      Expected behaviour
         ensure that {
            when {
               the IUT entity receives a vGET containing
                  uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/traffic_rules/{UNKNOWN_TRAFFIC_RULE_ID}";
               from the MEC_APP entity
            }
            then {
               // MEC 011 3.2.1, clause 7.2.8.3.1
               the IUT entity sends a HTTP_RESPONSE containing
                  status_code set to "404 Not Found";
                  to the MEC_APP entity
            }
         }
   }



   Test Purpose {
      TP Id "TP_MEC_MEC011_SRV_TRAF_003_OK"