Loading Test Purposes/MEC045/EVENTSUBNOT/QoSEventSubNot.tplan2 +268 −57 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ Package MEC_MEC045_SRV_QOS_EVENT_SUB_NOT { import all from MEC_Common; Test Purpose { TP Id "TP_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_OK" TP Id "TP_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_OK_01" Test objective "Check that the IUT acknowledges the creation of QoS event subscription request when commanded by a MEC Application" Loading Loading @@ -37,16 +37,16 @@ Package MEC_MEC045_SRV_QOS_EVENT_SUB_NOT { flowFilter containing sourceIp indicating value ACR_SOME_IP;;, reportTrigger containing metricType containing elem0 indicating value "LATENCY", elem1 indicating value "THROUGHPUT";;;, measuringPeriod indicating value 1;; // One Hz metricType indicating value "THROUGHPUT";, measuringPeriod indicating value MEASURINGING_PERIOD;;; from the MEC_APP entity } then { // MEC 045, clause 7.3.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "201 Created" status_code set to "201 Created", headers containing Location set to "/qms/v1/subscriptions/{SUBSCRIPTION_ID}";, body containing qoSMeasurementSubscription containing _links containing Loading @@ -60,21 +60,99 @@ Package MEC_MEC045_SRV_QOS_EVENT_SUB_NOT { flowFilter containing sourceIp indicating value ACR_SOME_IP;;, reportTrigger containing metricType containing elem0 indicating value "LATENCY", elem1 indicating value "THROUGHPUT";;, measuringPeriod indicating value 1;;;; // One Hz metricType indicating value "THROUGHPUT";, measuringPeriod indicating value MEASURINGING_PERIOD;;;; // One Hz to the MEC_APP entity and the IUT entity sends a vPOST containing Uri set to CALLBACK_URL body containing qoSMeasurementNotification containing notificationType indicating value "QoSEventNotification", subscriptionState set to omit, flow indicating value any_value, metricType containing elem0 indicating value "LATENCY", elem1 indicating value "THROUGHPUT";, qosEvent indicating value any_value, metricType indicating value "THROUGHPUT", qosEvent indicating value any_value, // See ETSI GS MEC 045 V3.1.1 (2024-03) Table 6.6.4-1: Enumeration QoSEvent _links indicating value LINKS;;; to the MEC_APP entity } } } Test Purpose { TP Id "TP_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_OK_02" Test objective "Check that the IUT acknowledges the creation of QoS event subscription request when commanded by a MEC Application - With threshold" Reference "ETSI GS MEC 045 3.1.1 Clause 5.2.2", "ETSI GS MEC 013 3.1.1 Clause 6.3.3", "ETSI GS MEC 013 3.1.1 Clause 6.4.3", "ETSI GS MEC 013 3.1.1 Clause 7.3.3.4" Config Id Config_MEC_8 PICS Selection PIC_MEC_PLAT and PIC_SERVICES Initial conditions with { the IUT entity being_in idle_state } Expected behaviour ensure that { when { the IUT entity receives a vPOST containing uri indicating value "qms/v1/subscriptions" body containing qoSMeasurementSubscription containing subscriptionType indicating value "QoSEventSubscription", callbackReference indicating value CALLBACK_URL, users containing elem0 indicating value ACR_SOME_IP;, flowInfo containing flowFilter containing sourceIp indicating value ACR_SOME_IP;;, reportTrigger containing metricType indicating value "THROUGHPUT", upperThreshold indicating value VALUE_1, lowerThreshold indicating value VALUE_2;, measuringPeriod indicating value MEASURINGING_PERIOD;;; from the MEC_APP entity } then { // MEC 045, clause 7.3.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "201 Created", headers containing Location set to "/qms/v1/subscriptions/{SUBSCRIPTION_ID}";, body containing qoSMeasurementSubscription containing _links containing self containing href set to HREF_VALUE;, subscriptionType indicating value "QoSEventSubscription", callbackReference indicating value CALLBACK_URL, users containing elem0 indicating value ACR_SOME_IP;, flowInfo containing flowFilter containing sourceIp indicating value ACR_SOME_IP;;, reportTrigger containing metricType indicating value "THROUGHPUT", upperThreshold indicating value VALUE_1, lowerThreshold indicating value VALUE_2;, measuringPeriod indicating value MEASURINGING_PERIOD;;;; // One Hz to the MEC_APP entity and the IUT entity sends a vPOST containing // Uri set to CALLBACK_URL body containing qoSMeasurementNotification containing notificationType indicating value "QoSEventNotification", subscriptionState set to omit, flow indicating value any_value, metricType indicating value "THROUGHPUT", qosEvent indicating value any_value, // See ETSI GS MEC 045 V3.1.1 (2024-03) Table 6.6.4-1: Enumeration QoSEvent _links indicating value LINKS;;; to the MEC_APP entity } Loading @@ -85,6 +163,54 @@ Package MEC_MEC045_SRV_QOS_EVENT_SUB_NOT { Test Purpose { TP Id "TP_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_BR_01" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - Invalid SubscritionType" Reference "ETSI GS MEC 045 3.1.1 Clause 5.2.2", "ETSI GS MEC 013 3.1.1 Clause 6.3.3", "ETSI GS MEC 013 3.1.1 Clause 7.3.3.4" Config Id Config_MEC_8 PICS Selection PIC_MEC_PLAT and PIC_SERVICES Initial conditions with { the IUT entity being_in idle_state } Expected behaviour ensure that { when { the IUT entity receives a vPOST containing uri indicating value "qms/v1/subscriptions" body containing qoSMeasurementSubscription containing subscriptionType indicating value "QoSSubscription", // Invalid SubscritionType users containing elem0 indicating value ACR_SOME_IP;, flowInfo containing flowFilter containing sourceIp indicating value ACR_SOME_IP;;, reportTrigger containing metricType indicating value "THROUGHPUT";, measuringPeriod indicating value MEASURINGING_PERIOD;;; from the MEC_APP entity } then { // MEC 045, clause 7.3.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request"; to the MEC_APP entity } } } Test Purpose { TP Id "TP_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_BR_02" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - Neither callbackReference nor websockNotifConfig provided" Loading Loading @@ -116,10 +242,9 @@ Package MEC_MEC045_SRV_QOS_EVENT_SUB_NOT { flowFilter containing sourceIp indicating value ACR_SOME_IP;;, reportTrigger containing metricType containing elem0 indicating value "LATENCY", elem1 indicating value "THROUGHPUT";;, measuringPeriod indicating value 1;;; // One Hz metricType metricType indicating value "THROUGHPUT";, measuringPeriod indicating value MEASURINGING_PERIOD;;; from the MEC_APP entity } then { Loading @@ -133,7 +258,7 @@ Package MEC_MEC045_SRV_QOS_EVENT_SUB_NOT { Test Purpose { TP Id "TP_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_BR_02" TP Id "TP_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_BR_03" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent Loading Loading @@ -168,10 +293,8 @@ Package MEC_MEC045_SRV_QOS_EVENT_SUB_NOT { flowFilter containing sourceIp indicating value ACR_SOME_IP;;, reportTrigger containing metricType containing elem0 indicating value "LATENCY", elem1 indicating value "THROUGHPUT";;;, measuringPeriod indicating value 1;; // One Hz metricType indicating value "THROUGHPUT";, measuringPeriod indicating value MEASURINGING_PERIOD;;; from the MEC_APP entity } then { Loading @@ -185,7 +308,7 @@ Package MEC_MEC045_SRV_QOS_EVENT_SUB_NOT { Test Purpose { TP Id "TP_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_BR_03" TP Id "TP_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_BR_04" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent Loading Loading @@ -219,10 +342,8 @@ Package MEC_MEC045_SRV_QOS_EVENT_SUB_NOT { flowFilter containing sourceIp indicating value ACR_SOME_IP;;, reportTrigger containing metricType containing elem0 indicating value "LATENCY", elem1 indicating value "THROUGHPUT";;;, measuringPeriod indicating value 1;; // One Hz metricType indicating value "THROUGHPUT";, measuringPeriod indicating value MEASURINGING_PERIOD;;; from the MEC_APP entity } then { Loading @@ -236,7 +357,7 @@ Package MEC_MEC045_SRV_QOS_EVENT_SUB_NOT { Test Purpose { TP Id "TP_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_BR_04" TP Id "TP_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_BR_05" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent Loading Loading @@ -269,10 +390,108 @@ Package MEC_MEC045_SRV_QOS_EVENT_SUB_NOT { elem0 indicating value ACR_SOME_IP;, flowInfo set to omit, reportTrigger containing metricType containing elem0 indicating value "LATENCY", elem1 indicating value "THROUGHPUT";;;, measuringPeriod indicating value 1;; // One Hz metricType indicating value "THROUGHPUT";, measuringPeriod indicating value MEASURINGING_PERIOD;;; from the MEC_APP entity } then { // MEC 045, clause 7.3.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request"; to the MEC_APP entity } } } Test Purpose { TP Id "TP_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_BR_06" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - Invalid flowFilter" Reference "ETSI GS MEC 045 3.1.1 Clause 5.2.2", "ETSI GS MEC 013 3.1.1 Clause 6.3.3", "ETSI GS MEC 013 3.1.1 Clause 7.3.3.4" Config Id Config_MEC_8 PICS Selection PIC_MEC_PLAT and PIC_SERVICES Initial conditions with { the IUT entity being_in idle_state } Expected behaviour ensure that { when { the IUT entity receives a vPOST containing uri indicating value "qms/v1/subscriptions" body containing qoSMeasurementSubscription containing subscriptionType indicating value "QoSEventSubscription", callbackReference indicating value CALLBACK_URL, websockNotifConfig indicating value WEBSOCKET_CONFIG, users containing elem0 indicating value ACR_SOME_IP;, flowInfo set to empty, // Invalid flowFilter reportTrigger containing metricType indicating value "THROUGHPUT";, measuringPeriod indicating value MEASURINGING_PERIOD;;; from the MEC_APP entity } then { // MEC 045, clause 7.3.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request"; to the MEC_APP entity } } } Test Purpose { TP Id "TP_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_BR_07" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - Invalid condition on monitoringArea" Reference "ETSI GS MEC 045 3.1.1 Clause 5.2.2", "ETSI GS MEC 013 3.1.1 Clause 6.3.3", "ETSI GS MEC 013 3.1.1 Clause 7.3.3.4" Config Id Config_MEC_8 PICS Selection PIC_MEC_PLAT and PIC_SERVICES Initial conditions with { the IUT entity being_in idle_state } Expected behaviour ensure that { when { the IUT entity receives a vPOST containing uri indicating value "qms/v1/subscriptions" body containing qoSMeasurementSubscription containing subscriptionType indicating value "QoSEventSubscription", callbackReference indicating value CALLBACK_URL, websockNotifConfig indicating value WEBSOCKET_CONFIG, users containing elem0 indicating value ACR_SOME_IP;, flowInfo set to empty, // Invalid flowFilter reportTrigger containing metricType indicating value "THROUGHPUT";, measuringPeriod indicating value MEASURINGING_PERIOD, monitoringArea containing areaInfo set to omit, // Shall be present if accessPointId and zoneId are present accessPointId indicating value any_value, zoneId indicating value any_value;;;; from the MEC_APP entity } then { Loading Loading @@ -322,11 +541,9 @@ Package MEC_MEC045_SRV_QOS_EVENT_SUB_NOT { sourceIp indicating value ACR_SOME_IP, sourcePort indicating value any_value;;;, reportTrigger containing metricType containing elem0 indicating value "LATENCY", elem1 indicating value "THROUGHPUT", elem2 indicating value "ERROR_RATE";;, measuringPeriod indicating value 1;; // One Hz metricType indicating value "THROUGHPUT", upperThreshodld indicating value VALUE_1;, measuringPeriod indicating value MEASURINGING_PERIOD;; from the MEC_APP entity } then { Loading @@ -347,11 +564,9 @@ Package MEC_MEC045_SRV_QOS_EVENT_SUB_NOT { sourceIp indicating value ACR_SOME_IP, sourcePort indicating value any_value;;;, reportTrigger containing metricType containing elem0 indicating value "LATENCY", elem1 indicating value "THROUGHPUT", elem2 indicating value "ERROR_RATE";;, measuringPeriod indicating value 1;;; // One Hz metricType indicating value "THROUGHPUT", upperThreshodld indicating value VALUE_1;, measuringPeriod indicating value MEASURINGING_PERIOD;;; to the MEC_APP entity } } Loading Loading @@ -395,11 +610,9 @@ Package MEC_MEC045_SRV_QOS_EVENT_SUB_NOT { sourceIp indicating value ACR_SOME_IP, sourcePort indicating value any_value;;;, reportTrigger containing metricType containing elem0 indicating value "LATENCY", elem1 indicating value "THROUGHPUT", elem2 indicating value "ERROR_RATE";;, measuringPeriod indicating value 1;; // One Hz metricType indicating value "THROUGHPUT", upperThreshodld indicating value VALUE_1;, measuringPeriod indicating value MEASURINGING_PERIOD;; from the MEC_APP entity } then { Loading Loading @@ -522,16 +735,16 @@ Package MEC_MEC045_SRV_QOS_EVENT_SUB_NOT { flowFilter containing sourceIp indicating value ACR_SOME_IP;;, reportTrigger containing metricType containing elem0 indicating value "LATENCY", elem1 indicating value "THROUGHPUT";;;, measuringPeriod indicating value 1;; // One Hz metricType indicating value "THROUGHPUT";, measuringPeriod indicating value MEASURINGING_PERIOD;;; from the MEC_APP entity } then { // MEC 045, clause 7.3.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "201 Created" status_code set to "201 Created", headers containing Location set to "/qms/v1/subscriptions/{SUBSCRIPTION_ID}";, body containing qoSMeasurementSubscription containing _links containing Loading @@ -545,10 +758,8 @@ Package MEC_MEC045_SRV_QOS_EVENT_SUB_NOT { flowFilter containing sourceIp indicating value ACR_SOME_IP;;, reportTrigger containing metricType containing elem0 indicating value "LATENCY", elem1 indicating value "THROUGHPUT";;, measuringPeriod indicating value 1;;;; // One Hz metricType indicating value "THROUGHPUT";, measuringPeriod indicating value MEASURINGING_PERIOD;;;; to the MEC_APP entity and the IUT entity sends a vPOST containing Uri set to CALLBACK_URL Loading Test Purposes/MEC045/MEASSUBNOT/QoSMeasurementSubNot.tplan2 +462 −6 File changed.Preview size limit exceeded, changes collapsed. Show changes Test Purposes/mec-common.tplan2 +7 −0 Original line number Diff line number Diff line Loading @@ -93,11 +93,13 @@ Package MEC_Common { - grant - havingV2xMsgDistributionServerMqtt - doNotSendNotificationAfterTimerExpiry - removeTheSubscriptionWhenNumberOfReportsIsReached ; } Data { type STRING; type UINT32; type JSON; type string with s of type STRING; type IMSI; Loading Loading @@ -188,6 +190,11 @@ Package MEC_Common { STRING SYSTEM_ID_3; STRING SYSTEM_NAME_3; STRING SYSTEM_PROVIDER_3; UINT32 REPORTING_INTERVAL; UINT32 MEASURINGING_PERIOD; UINT32 MEASURINGING_PERIOD_GT_REPORTING_INTERVAL; // REPORTING_INTERVAL * 2 UINT32 MEASURINGING_PERIOD_LT_REPORTING_INTERVAL; // REPORTING_INTERVAL / 3 UINT32 NUM_OF_REPORT; } Loading Loading
Test Purposes/MEC045/EVENTSUBNOT/QoSEventSubNot.tplan2 +268 −57 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ Package MEC_MEC045_SRV_QOS_EVENT_SUB_NOT { import all from MEC_Common; Test Purpose { TP Id "TP_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_OK" TP Id "TP_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_OK_01" Test objective "Check that the IUT acknowledges the creation of QoS event subscription request when commanded by a MEC Application" Loading Loading @@ -37,16 +37,16 @@ Package MEC_MEC045_SRV_QOS_EVENT_SUB_NOT { flowFilter containing sourceIp indicating value ACR_SOME_IP;;, reportTrigger containing metricType containing elem0 indicating value "LATENCY", elem1 indicating value "THROUGHPUT";;;, measuringPeriod indicating value 1;; // One Hz metricType indicating value "THROUGHPUT";, measuringPeriod indicating value MEASURINGING_PERIOD;;; from the MEC_APP entity } then { // MEC 045, clause 7.3.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "201 Created" status_code set to "201 Created", headers containing Location set to "/qms/v1/subscriptions/{SUBSCRIPTION_ID}";, body containing qoSMeasurementSubscription containing _links containing Loading @@ -60,21 +60,99 @@ Package MEC_MEC045_SRV_QOS_EVENT_SUB_NOT { flowFilter containing sourceIp indicating value ACR_SOME_IP;;, reportTrigger containing metricType containing elem0 indicating value "LATENCY", elem1 indicating value "THROUGHPUT";;, measuringPeriod indicating value 1;;;; // One Hz metricType indicating value "THROUGHPUT";, measuringPeriod indicating value MEASURINGING_PERIOD;;;; // One Hz to the MEC_APP entity and the IUT entity sends a vPOST containing Uri set to CALLBACK_URL body containing qoSMeasurementNotification containing notificationType indicating value "QoSEventNotification", subscriptionState set to omit, flow indicating value any_value, metricType containing elem0 indicating value "LATENCY", elem1 indicating value "THROUGHPUT";, qosEvent indicating value any_value, metricType indicating value "THROUGHPUT", qosEvent indicating value any_value, // See ETSI GS MEC 045 V3.1.1 (2024-03) Table 6.6.4-1: Enumeration QoSEvent _links indicating value LINKS;;; to the MEC_APP entity } } } Test Purpose { TP Id "TP_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_OK_02" Test objective "Check that the IUT acknowledges the creation of QoS event subscription request when commanded by a MEC Application - With threshold" Reference "ETSI GS MEC 045 3.1.1 Clause 5.2.2", "ETSI GS MEC 013 3.1.1 Clause 6.3.3", "ETSI GS MEC 013 3.1.1 Clause 6.4.3", "ETSI GS MEC 013 3.1.1 Clause 7.3.3.4" Config Id Config_MEC_8 PICS Selection PIC_MEC_PLAT and PIC_SERVICES Initial conditions with { the IUT entity being_in idle_state } Expected behaviour ensure that { when { the IUT entity receives a vPOST containing uri indicating value "qms/v1/subscriptions" body containing qoSMeasurementSubscription containing subscriptionType indicating value "QoSEventSubscription", callbackReference indicating value CALLBACK_URL, users containing elem0 indicating value ACR_SOME_IP;, flowInfo containing flowFilter containing sourceIp indicating value ACR_SOME_IP;;, reportTrigger containing metricType indicating value "THROUGHPUT", upperThreshold indicating value VALUE_1, lowerThreshold indicating value VALUE_2;, measuringPeriod indicating value MEASURINGING_PERIOD;;; from the MEC_APP entity } then { // MEC 045, clause 7.3.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "201 Created", headers containing Location set to "/qms/v1/subscriptions/{SUBSCRIPTION_ID}";, body containing qoSMeasurementSubscription containing _links containing self containing href set to HREF_VALUE;, subscriptionType indicating value "QoSEventSubscription", callbackReference indicating value CALLBACK_URL, users containing elem0 indicating value ACR_SOME_IP;, flowInfo containing flowFilter containing sourceIp indicating value ACR_SOME_IP;;, reportTrigger containing metricType indicating value "THROUGHPUT", upperThreshold indicating value VALUE_1, lowerThreshold indicating value VALUE_2;, measuringPeriod indicating value MEASURINGING_PERIOD;;;; // One Hz to the MEC_APP entity and the IUT entity sends a vPOST containing // Uri set to CALLBACK_URL body containing qoSMeasurementNotification containing notificationType indicating value "QoSEventNotification", subscriptionState set to omit, flow indicating value any_value, metricType indicating value "THROUGHPUT", qosEvent indicating value any_value, // See ETSI GS MEC 045 V3.1.1 (2024-03) Table 6.6.4-1: Enumeration QoSEvent _links indicating value LINKS;;; to the MEC_APP entity } Loading @@ -85,6 +163,54 @@ Package MEC_MEC045_SRV_QOS_EVENT_SUB_NOT { Test Purpose { TP Id "TP_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_BR_01" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - Invalid SubscritionType" Reference "ETSI GS MEC 045 3.1.1 Clause 5.2.2", "ETSI GS MEC 013 3.1.1 Clause 6.3.3", "ETSI GS MEC 013 3.1.1 Clause 7.3.3.4" Config Id Config_MEC_8 PICS Selection PIC_MEC_PLAT and PIC_SERVICES Initial conditions with { the IUT entity being_in idle_state } Expected behaviour ensure that { when { the IUT entity receives a vPOST containing uri indicating value "qms/v1/subscriptions" body containing qoSMeasurementSubscription containing subscriptionType indicating value "QoSSubscription", // Invalid SubscritionType users containing elem0 indicating value ACR_SOME_IP;, flowInfo containing flowFilter containing sourceIp indicating value ACR_SOME_IP;;, reportTrigger containing metricType indicating value "THROUGHPUT";, measuringPeriod indicating value MEASURINGING_PERIOD;;; from the MEC_APP entity } then { // MEC 045, clause 7.3.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request"; to the MEC_APP entity } } } Test Purpose { TP Id "TP_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_BR_02" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - Neither callbackReference nor websockNotifConfig provided" Loading Loading @@ -116,10 +242,9 @@ Package MEC_MEC045_SRV_QOS_EVENT_SUB_NOT { flowFilter containing sourceIp indicating value ACR_SOME_IP;;, reportTrigger containing metricType containing elem0 indicating value "LATENCY", elem1 indicating value "THROUGHPUT";;, measuringPeriod indicating value 1;;; // One Hz metricType metricType indicating value "THROUGHPUT";, measuringPeriod indicating value MEASURINGING_PERIOD;;; from the MEC_APP entity } then { Loading @@ -133,7 +258,7 @@ Package MEC_MEC045_SRV_QOS_EVENT_SUB_NOT { Test Purpose { TP Id "TP_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_BR_02" TP Id "TP_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_BR_03" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent Loading Loading @@ -168,10 +293,8 @@ Package MEC_MEC045_SRV_QOS_EVENT_SUB_NOT { flowFilter containing sourceIp indicating value ACR_SOME_IP;;, reportTrigger containing metricType containing elem0 indicating value "LATENCY", elem1 indicating value "THROUGHPUT";;;, measuringPeriod indicating value 1;; // One Hz metricType indicating value "THROUGHPUT";, measuringPeriod indicating value MEASURINGING_PERIOD;;; from the MEC_APP entity } then { Loading @@ -185,7 +308,7 @@ Package MEC_MEC045_SRV_QOS_EVENT_SUB_NOT { Test Purpose { TP Id "TP_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_BR_03" TP Id "TP_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_BR_04" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent Loading Loading @@ -219,10 +342,8 @@ Package MEC_MEC045_SRV_QOS_EVENT_SUB_NOT { flowFilter containing sourceIp indicating value ACR_SOME_IP;;, reportTrigger containing metricType containing elem0 indicating value "LATENCY", elem1 indicating value "THROUGHPUT";;;, measuringPeriod indicating value 1;; // One Hz metricType indicating value "THROUGHPUT";, measuringPeriod indicating value MEASURINGING_PERIOD;;; from the MEC_APP entity } then { Loading @@ -236,7 +357,7 @@ Package MEC_MEC045_SRV_QOS_EVENT_SUB_NOT { Test Purpose { TP Id "TP_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_BR_04" TP Id "TP_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_BR_05" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent Loading Loading @@ -269,10 +390,108 @@ Package MEC_MEC045_SRV_QOS_EVENT_SUB_NOT { elem0 indicating value ACR_SOME_IP;, flowInfo set to omit, reportTrigger containing metricType containing elem0 indicating value "LATENCY", elem1 indicating value "THROUGHPUT";;;, measuringPeriod indicating value 1;; // One Hz metricType indicating value "THROUGHPUT";, measuringPeriod indicating value MEASURINGING_PERIOD;;; from the MEC_APP entity } then { // MEC 045, clause 7.3.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request"; to the MEC_APP entity } } } Test Purpose { TP Id "TP_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_BR_06" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - Invalid flowFilter" Reference "ETSI GS MEC 045 3.1.1 Clause 5.2.2", "ETSI GS MEC 013 3.1.1 Clause 6.3.3", "ETSI GS MEC 013 3.1.1 Clause 7.3.3.4" Config Id Config_MEC_8 PICS Selection PIC_MEC_PLAT and PIC_SERVICES Initial conditions with { the IUT entity being_in idle_state } Expected behaviour ensure that { when { the IUT entity receives a vPOST containing uri indicating value "qms/v1/subscriptions" body containing qoSMeasurementSubscription containing subscriptionType indicating value "QoSEventSubscription", callbackReference indicating value CALLBACK_URL, websockNotifConfig indicating value WEBSOCKET_CONFIG, users containing elem0 indicating value ACR_SOME_IP;, flowInfo set to empty, // Invalid flowFilter reportTrigger containing metricType indicating value "THROUGHPUT";, measuringPeriod indicating value MEASURINGING_PERIOD;;; from the MEC_APP entity } then { // MEC 045, clause 7.3.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request"; to the MEC_APP entity } } } Test Purpose { TP Id "TP_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_BR_07" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - Invalid condition on monitoringArea" Reference "ETSI GS MEC 045 3.1.1 Clause 5.2.2", "ETSI GS MEC 013 3.1.1 Clause 6.3.3", "ETSI GS MEC 013 3.1.1 Clause 7.3.3.4" Config Id Config_MEC_8 PICS Selection PIC_MEC_PLAT and PIC_SERVICES Initial conditions with { the IUT entity being_in idle_state } Expected behaviour ensure that { when { the IUT entity receives a vPOST containing uri indicating value "qms/v1/subscriptions" body containing qoSMeasurementSubscription containing subscriptionType indicating value "QoSEventSubscription", callbackReference indicating value CALLBACK_URL, websockNotifConfig indicating value WEBSOCKET_CONFIG, users containing elem0 indicating value ACR_SOME_IP;, flowInfo set to empty, // Invalid flowFilter reportTrigger containing metricType indicating value "THROUGHPUT";, measuringPeriod indicating value MEASURINGING_PERIOD, monitoringArea containing areaInfo set to omit, // Shall be present if accessPointId and zoneId are present accessPointId indicating value any_value, zoneId indicating value any_value;;;; from the MEC_APP entity } then { Loading Loading @@ -322,11 +541,9 @@ Package MEC_MEC045_SRV_QOS_EVENT_SUB_NOT { sourceIp indicating value ACR_SOME_IP, sourcePort indicating value any_value;;;, reportTrigger containing metricType containing elem0 indicating value "LATENCY", elem1 indicating value "THROUGHPUT", elem2 indicating value "ERROR_RATE";;, measuringPeriod indicating value 1;; // One Hz metricType indicating value "THROUGHPUT", upperThreshodld indicating value VALUE_1;, measuringPeriod indicating value MEASURINGING_PERIOD;; from the MEC_APP entity } then { Loading @@ -347,11 +564,9 @@ Package MEC_MEC045_SRV_QOS_EVENT_SUB_NOT { sourceIp indicating value ACR_SOME_IP, sourcePort indicating value any_value;;;, reportTrigger containing metricType containing elem0 indicating value "LATENCY", elem1 indicating value "THROUGHPUT", elem2 indicating value "ERROR_RATE";;, measuringPeriod indicating value 1;;; // One Hz metricType indicating value "THROUGHPUT", upperThreshodld indicating value VALUE_1;, measuringPeriod indicating value MEASURINGING_PERIOD;;; to the MEC_APP entity } } Loading Loading @@ -395,11 +610,9 @@ Package MEC_MEC045_SRV_QOS_EVENT_SUB_NOT { sourceIp indicating value ACR_SOME_IP, sourcePort indicating value any_value;;;, reportTrigger containing metricType containing elem0 indicating value "LATENCY", elem1 indicating value "THROUGHPUT", elem2 indicating value "ERROR_RATE";;, measuringPeriod indicating value 1;; // One Hz metricType indicating value "THROUGHPUT", upperThreshodld indicating value VALUE_1;, measuringPeriod indicating value MEASURINGING_PERIOD;; from the MEC_APP entity } then { Loading Loading @@ -522,16 +735,16 @@ Package MEC_MEC045_SRV_QOS_EVENT_SUB_NOT { flowFilter containing sourceIp indicating value ACR_SOME_IP;;, reportTrigger containing metricType containing elem0 indicating value "LATENCY", elem1 indicating value "THROUGHPUT";;;, measuringPeriod indicating value 1;; // One Hz metricType indicating value "THROUGHPUT";, measuringPeriod indicating value MEASURINGING_PERIOD;;; from the MEC_APP entity } then { // MEC 045, clause 7.3.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "201 Created" status_code set to "201 Created", headers containing Location set to "/qms/v1/subscriptions/{SUBSCRIPTION_ID}";, body containing qoSMeasurementSubscription containing _links containing Loading @@ -545,10 +758,8 @@ Package MEC_MEC045_SRV_QOS_EVENT_SUB_NOT { flowFilter containing sourceIp indicating value ACR_SOME_IP;;, reportTrigger containing metricType containing elem0 indicating value "LATENCY", elem1 indicating value "THROUGHPUT";;, measuringPeriod indicating value 1;;;; // One Hz metricType indicating value "THROUGHPUT";, measuringPeriod indicating value MEASURINGING_PERIOD;;;; to the MEC_APP entity and the IUT entity sends a vPOST containing Uri set to CALLBACK_URL Loading
Test Purposes/MEC045/MEASSUBNOT/QoSMeasurementSubNot.tplan2 +462 −6 File changed.Preview size limit exceeded, changes collapsed. Show changes
Test Purposes/mec-common.tplan2 +7 −0 Original line number Diff line number Diff line Loading @@ -93,11 +93,13 @@ Package MEC_Common { - grant - havingV2xMsgDistributionServerMqtt - doNotSendNotificationAfterTimerExpiry - removeTheSubscriptionWhenNumberOfReportsIsReached ; } Data { type STRING; type UINT32; type JSON; type string with s of type STRING; type IMSI; Loading Loading @@ -188,6 +190,11 @@ Package MEC_Common { STRING SYSTEM_ID_3; STRING SYSTEM_NAME_3; STRING SYSTEM_PROVIDER_3; UINT32 REPORTING_INTERVAL; UINT32 MEASURINGING_PERIOD; UINT32 MEASURINGING_PERIOD_GT_REPORTING_INTERVAL; // REPORTING_INTERVAL * 2 UINT32 MEASURINGING_PERIOD_LT_REPORTING_INTERVAL; // REPORTING_INTERVAL / 3 UINT32 NUM_OF_REPORT; } Loading