- receives //for packets coming from the network to the IUT
- sends //for packets sent by the IUT to the network
- havingLocationMappingFor //IUT is provisioned with the relevant location data
- isRequestedToSend //an upper layer requests the IUT to send a packet
- generates //for internal event generation
- havingReturnedLocationUriFor //[ref lis.txt:havingReturnedLocationUriFor] IUT returned a locationURI for the relevant location data after a HELD request
;
}
@@ -207,6 +206,149 @@ Expected behaviour
Test Purpose {
TP Id TP_LIS_HTTP_POST_BV_03
Test objective
"IUT successfully responds with a reference when it receives a HTTP POST location request with location type locationURI and exact attribute"
Reference
"ETSI TS 103 479 Vm.t.e (yyyy-mm) Clause 5.5 Location Information Server (LIS)",
"Next Generation 112 Long Term Definition http://www.eena.org/uploads/gallery/files/pdf/2013-03-15-eena_ng_longtermdefinitionupdated.pdf Clause 4.10",
the IUT entity havingLocationMappingFor the DEVICE_NUMBER containing
"circle" containing
"position" indicating value CIRCLE_POS,
"radius" indicating value CIRCLE_RADIUS
;
;
}
Expected behaviour
ensure that {
when {
the IUT entity receives a POST containing
Uri indicating value "/location",
Host,
not Accept,
Content_type indicating value "application/held+xml;charset=utf-8",
body containing
xmlMessage containing
version indicating value "1.0",
element "locationRequest" inNamespace "urn:ietf:params:xml:ns:geopriv:held" containing
element "locationType" indicating value "locationURI" containing
attribute "exact" indicating value "true"
;,
element "device" inNamespace "urn:ietf:params:xml:ns:geopriv:held:id" containing
element "uri" inNamespace "urn:ietf:params:xml:ns:geopriv:held:id" indicating value DEVICE_NUMBER
;
;
;
;
;
}
then {
the IUT entity sends a httpResponse containing
Status_Code indicating value "200 OK",
version indicating value "1.0",
Content_type indicating value "application/held+xml;charset=utf-8",
body containing
xmlMessage containing
version indicating value "1.0",
element "locationResponse" inNamespace "urn:ietf:params:xml:ns:geopriv:held" containing
element "locationUriSet" containing
attribute "expires",
element "locationURI" indicating value valid urn
;
;
;
;
;
}
}
} //End of TP_LIS_HTTP_POST_BV_03
Test Purpose {
TP Id TP_LIS_HTTP_POST_BV_04
Test objective
"IUT successfully responds with a reference and geodetic location when it receives a HTTP POST location request with location types locationURI and geodetic and exact attribute"
Reference
"ETSI TS 103 479 Vm.t.e (yyyy-mm) Clause 5.5 Location Information Server (LIS)",
"Next Generation 112 Long Term Definition http://www.eena.org/uploads/gallery/files/pdf/2013-03-15-eena_ng_longtermdefinitionupdated.pdf Clause 4.10",