Commit 4576649c authored by Yann Garcia's avatar Yann Garcia
Browse files

Implement TPs for Subscription/Notification

parent b530d2d6
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -102,7 +102,7 @@ AtsMec_QoSMeasurementAPI_TestCases.TC_MEC_MEC045_SRV_QOSLOOKUP_001_OK
#AtsMec_QoSMeasurementAPI_TestCases.TC_MEC_MEC045_SRV_QOS_MEAS_SUB_NOT_001_BR_08
#AtsMec_QoSMeasurementAPI_TestCases.TC_MEC_MEC045_SRV_QOS_MEAS_SUB_NOT_001_BR_08
# Check that the IUT acknowledges the changes of an existing QoS measurement subscription request when commanded by a MEC Application
# Check that the IUT acknowledges the changes of an existing QoS measurement subscription request when commanded by a MEC Application
#AtsMec_QoSMeasurementAPI_TestCases.TC_MEC_MEC045_SRV_QOS_MEAS_SUB_NOT_002_OK
#AtsMec_QoSMeasurementAPI_TestCases.TC_MEC_MEC045_SRV_QOS_MEAS_SUB_NOT_002_OK
# Check that the IUT acknowledges an error when a request for an URI that cannot be mapped to a valid resource URI is sent by a MEC Application
# Check that the IUT responds with an error when a request for an URI that cannot be mapped to a valid resource URI is sent by a MEC Application
#AtsMec_QoSMeasurementAPI_TestCases.TC_MEC_MEC045_SRV_QOS_MEAS_SUB_NOT_002_NF
#AtsMec_QoSMeasurementAPI_TestCases.TC_MEC_MEC045_SRV_QOS_MEAS_SUB_NOT_002_NF
# Check that the IUT acknowledges the cancellation of QoS measurement subscription when commanded by a MEC Application
# Check that the IUT acknowledges the cancellation of QoS measurement subscription when commanded by a MEC Application
#AtsMec_QoSMeasurementAPI_TestCases.TC_MEC_MEC045_SRV_QOS_MEAS_SUB_NOT_003_OK
#AtsMec_QoSMeasurementAPI_TestCases.TC_MEC_MEC045_SRV_QOS_MEAS_SUB_NOT_003_OK
+60 −13
Original line number Original line Diff line number Diff line
@@ -119,19 +119,66 @@ AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSDISCOVERY_001_OK_01
#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_007_OK
#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_007_OK
# Check that the IUT responds with an error when the a sensor does not have a characteristic
# Check that the IUT responds with an error when the a sensor does not have a characteristic
#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_007_NF
#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_007_NF

# Check that the IUT acknowledges the creation of SensorDiscoveryEventSubscription request when commanded by a MEC Application

#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_001_OK

# Check that the IUT provides a test notification when requested by a MEC Application

#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_001_OK_01

# Check that the IUT provides a notification when requested by a MEC Application

#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_001_OK_02

# Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - Invalid subscriptionType

#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_001_BR_01

# 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

#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_001_BR_02

# Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - Both callbackReference and websockNotifConfig provided

#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_001_BR_03

# Check that the IUT acknowledges the creation of SensorDiscoveryEventSubscription request when commanded by a MEC Application
#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_002_OK
# Check that the IUT responds with an error when a request for an URI that cannot be mapped to a valid resource URI is sent by a MEC Application
#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_002_NF
# Check that the IUT acknowledges the cancellation of a SensorDiscoveryEventSubscription when commanded by a MEC Application
#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_003_OK
# Check that the IUT responds with an error when a request for an URI that cannot be mapped to a valid resource URI is sent by a MEC Application
#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_003_NF
# Check that the IUT acknowledges the creation of SensorStatusSubscription request when commanded by a MEC Application
#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_004_OK
# Check that the IUT provides a test notification when requested by a MEC Application
#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_004_OK_01
# Check that the IUT provides a notification when requested by a MEC Application
#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_004_OK_02
# Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - Invalid subscriptionType
#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_004_BR_01
# 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
#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_004_BR_02
# Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - Both callbackReference nor websockNotifConfig provided
#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_004_BR_03
# Check that the IUT acknowledges the changes of an existing SensorStatusSubscription when commanded by a MEC Application
#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_005_OK
# Check that the IUT responds with an error when a request for an URI that cannot be mapped to a valid resource URI is sent by a MEC Application
#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_005_NF
# Check that the IUT acknowledges the cancellation of an existing SensorStatusSubscription when commanded by a MEC Application
#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_006_OK
# Check that the IUT responds with an error when a request for an URI that cannot be mapped to a valid resource URI is sent by a MEC Application
#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_006_NF
# Check that the IUT acknowledges the creation of SensorDataSubscription request when commanded by a MEC Application
#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_007_OK
# Check that the IUT provides a test notification when requested by a MEC Application
#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_007_OK_01
# Check that the IUT provides a notification when requested by a MEC Application
#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_007_OK_02
# Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - Invalid subscriptionType
#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_007_BR_01
# 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
#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_007_BR_02
# Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - Both callbackReference nor websockNotifConfig provided
#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_007_BR_03
# Check that the IUT acknowledges the changes of an existing SensorDataSubscription when commanded by a MEC Application
#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_008_OK
# Check that the IUT responds with an error when a request for an URI that cannot be mapped to a valid resource URI is sent by a MEC Application
#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_008_NF
# Check that the IUT acknowledges the cancellation of an existing SensorDataSubscription when commanded by a MEC Application
#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_009_OK
# Check that the IUT responds with an error when a request for an URI that cannot be mapped to a valid resource URI is sent by a MEC Application
#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_009_NF


[GROUPS]
[GROUPS]
# In this section you can specify groups of hosts. These groups can be used inside the
# In this section you can specify groups of hosts. These groups can be used inside the
+1 −1
Original line number Original line Diff line number Diff line
@@ -1444,7 +1444,7 @@ module AtsMec_QoSMeasurementAPI_TestCases {
    } // End of testcase TC_MEC_MEC045_SRV_QOS_MEAS_SUB_NOT_002_OK
    } // End of testcase TC_MEC_MEC045_SRV_QOS_MEAS_SUB_NOT_002_OK


    /**
    /**
     * @desc Check that the IUT acknowledges an error when a request for an URI that cannot be mapped to a valid resource URI is sent by a MEC Application
     * @desc Check that the IUT responds with an error when a request for an URI that cannot be mapped to a valid resource URI is sent by a MEC Application
     */
     */
    testcase TC_MEC_MEC045_SRV_QOS_MEAS_SUB_NOT_002_NF() runs on HttpComponent system HttpTestAdapter {
    testcase TC_MEC_MEC045_SRV_QOS_MEAS_SUB_NOT_002_NF() runs on HttpComponent system HttpTestAdapter {
      // Local variables
      // Local variables
+1841 −2

File changed.

Preview size limit exceeded, changes collapsed.

+38 −0
Original line number Original line Diff line number Diff line
@@ -49,6 +49,44 @@ module AtsMec_SensorsSharingService_TestControl {


      execute(TC_MEC_MEC046_SRV_SENSLOOKUP_007_OK());
      execute(TC_MEC_MEC046_SRV_SENSLOOKUP_007_OK());
      execute(TC_MEC_MEC046_SRV_SENSLOOKUP_007_NF());
      execute(TC_MEC_MEC046_SRV_SENSLOOKUP_007_NF());

      execute(TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_001_OK());
      execute(TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_001_OK_01());
      execute(TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_001_OK_02());
      execute(TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_001_BR_01());
      execute(TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_001_BR_02());

      execute(TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_002_OK());
      execute(TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_002_NF());

      execute(TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_003_OK());
      execute(TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_003_NF());

      execute(TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_004_OK());
      execute(TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_004_OK_01());
      execute(TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_004_OK_02());
      execute(TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_004_BR_01());
      execute(TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_004_BR_02());
      execute(TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_004_BR_03());

      execute(TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_005_OK());
      execute(TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_005_NF());

      execute(TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_006_OK());
      execute(TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_006_NF());

      execute(TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_007_OK());
      execute(TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_007_OK_01());
      execute(TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_007_OK_02());
      execute(TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_007_BR_01());
      execute(TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_007_BR_02());
      execute(TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_007_BR_03());

      execute(TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_008_OK());
      execute(TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_008_NF());

      execute(TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_009_OK());
      execute(TC_MEC_MEC046_SRV_SENSSUBNOT_SUB_NOT_009_NF());
    }
    }


  } // End of 'alt' statement
  } // End of 'alt' statement
Loading