Commit 7ebe6a40 authored by Yann Garcia's avatar Yann Garcia
Browse files

Minor bug fixed in TC_MEC_MEC046_SRV_SENSDISCOVERY_001_OK_01

parent f4f4c110
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -16,9 +16,9 @@ LibHttp_Pics.PICS_USE_TOKEN_HEADER := true

LibMec_Pics.PICS_ROOT_API             := "/sbxykqjr17/mep1/" # Need to sign in on https://mec-platform.etsi.org/, section 'Try-it from your MEC application'

SensorsSharingService_Pixits.PX_SENS_SUB_CALLBACK_URI        := "http://yanngarcia.ddns.net/sens/v1/notif"
SensorsSharingService_Pixits.PX_SENS_DISCOVERY_TYPE          := ""
SensorsSharingService_Pixits.PX_SENS_DISCOVERY_PROPERTY_LIST := "SAREF" # Could be [], string or [string1 string2]
SensorsSharingService_Pixits.PX_SENS_SUB_CALLBACK_URI        := "http://yanngarcia.ddns.net:8547/sens/v1/notif"
SensorsSharingService_Pixits.PX_SENS_DISCOVERY_TYPE          := "CNT"
SensorsSharingService_Pixits.PX_SENS_DISCOVERY_PROPERTY_LIST := "saref:any" # Could be [], string or [string1 string2]
SensorsSharingService_Pixits.PX_SENSOR_IDENTIFIER            := "cnt8WkyGNcEDV"

[LOGGING]
@@ -66,9 +66,9 @@ system.httpPort_notif.params := "HTTP(codecs=json:json_codec_mec046)/TCP(debug=1
#AtsMec_SensorsSharingService_TestControl.control

# Check that the IUT responds with the list of SensorDiscoveryInfo when queried by a MEC Application
#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSDISCOVERY_001_OK_01
AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSDISCOVERY_001_OK_01
# Check that the IUT responds with the list of SensorDiscoveryInfo when queried by a MEC Application - Using type filter
#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSDISCOVERY_001_OK_01
#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSDISCOVERY_001_OK_02
# Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - Invalid filter
#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSDISCOVERY_001_BR
# Check that the IUT responds with an error when the IUT does not have sensor(s)
@@ -96,7 +96,7 @@ system.httpPort_notif.params := "HTTP(codecs=json:json_codec_mec046)/TCP(debug=1
# Check that the IUT responds with an error when the IUT does not have sensor(s)
#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_002_NF
# Check that the IUT responds with the list of SensorData when queried by a MEC Application
AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_003_OK
#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_003_OK
# Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application
#AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_003_BR
# Check that the IUT responds with an error when the IUT does not have sensor(s)
+1 −1
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@ module AtsMec_SensorsSharingService_TestCases {
      httpPort.send(
                    m_http_request(
                                   m_http_request_get(
                                                      PICS_ROOT_API & PX_SENS_DISCOVERY & "?type=" & PX_SENSOR_IDENTIFIER,
                                                      PICS_ROOT_API & PX_SENS_DISCOVERY & "?type=" & PX_SENSOR_IDENTIFIER & "&sensorPropertyList=" & PX_SENS_DISCOVERY_PROPERTY_LIST,
                                                      v_headers
                    )));
      f_selfOrClientSyncAndVerdict(c_prDone, e_success);