Commit b7d959f0 authored by Yann Garcia's avatar Yann Garcia Committed by Miguel Angel Reina Ortega
Browse files

Bug fixed in TP_MEC_MEC046_SRV_SENSLOOKUP_001_BR & TP_MEC_MEC046_SRV_SENSLOOKUP_002_OK

parent 62a25796
Loading
Loading
Loading
Loading
+9 −5
Original line number Original line Diff line number Diff line
@@ -123,7 +123,9 @@ Package MEC_MEC046_SRV_SENSLOOKUP {
            ensure that {
            ensure that {
                when {
                when {
                    the IUT entity receives a vGET containing
                    the IUT entity receives a vGET containing
                        uri indicating value "sens/v1/subscriptions/sensor_st"; // Wrong URL
                        uri indicating value "sens/v1/subscriptions/sensor_status",
                        query_parameters containing
                            sensorId indicating value SENSOR_IDENTIFIER_LIST;; // Wrong query parameter
                    from the MEC_APP entity
                    from the MEC_APP entity
                }
                }
                then {
                then {
@@ -206,10 +208,12 @@ Package MEC_MEC046_SRV_SENSLOOKUP {
                    the IUT entity sends a HTTP_RESPONSE containing
                    the IUT entity sends a HTTP_RESPONSE containing
                        status_code set to "200 OK"
                        status_code set to "200 OK"
                        body containing
                        body containing
                            sensorStatusInfoList containing
                            sensorStatusSubscription containing
                                sensorStatusInfo containing
                                _links containing 
                                    sensorIdentifier indicating value any_value,
                                    self containing
                                    sensorStatusType indicating value any_value;;;;
                                        href set to HREF_VALUE;,
                                subscriptionType indicating value "SensorStatusSubscription",
                                callbackReference indicating value CALLBACK_URL;;;;
                    to the MEC_APP entity
                    to the MEC_APP entity
                }
                }
            }
            }