Loading test_purposes/ecrf.tplan2 +83 −0 Original line number Diff line number Diff line Loading @@ -691,6 +691,7 @@ Expected behaviour } } } //End of TP_ECRF_HTTP_POST_BV_07 Test Purpose { TP Id TP_ECRF_HTTP_POST_BV_08 Test objective Loading Loading @@ -763,4 +764,86 @@ Expected behaviour } } } //End of TP_ECRF_HTTP_POST_BV_08 Test Purpose { TP Id TP_ECRF_HTTP_POST_BV_09 Test objective "IUT successfully responds with multiple service URIs for a Point in multiple service boundaries" Reference "ETSI TS 103 479 Vm.t.e (yyyy-mm) Clause XXX EMERGENCY CALL ROUTING FUNCTION (ECRF)", "Next Generation 112 Long Term Definition http://www.eena.org/uploads/gallery/files/pdf/2013-03-15-eena_ng_longtermdefinitionupdated.pdf Clause 4.4", "https://tools.ietf.org/html/rfc5222" Config Id CFG_ECRF_01 PICS Selection PICS_HTTP_POST_REQUEST and PICS_SERVICE_LOST Initial conditions with { the IUT entity havingServiceBoundaryFor the V_POLICE_SERVICE_BOUNDARY containing serviceMappingFor V_POLICE_SERVICE_URN containing URI indicating value V_POLICE_SIP_URI; ; and the IUT entity havingServiceBoundaryFor the V_FIRE_SERVICE_BOUNDARY containing serviceMappingFor V_FIRE_SERVICE_URN containing URI indicating value V_FIRE_SIP_URI; ; } Expected behaviour ensure that { when { the IUT entity receives a POST containing Uri indicating value "/service", Host, not Accept, Content_type indicating value "application/lost+xml;charset=utf-8", body containing xmlMessage containing version indicating value "1.0", element "findService" inNamespace "urn:ietf:params:xml:ns:lost1" containing element "location" containing element "Circle" inNamespace "http://www.opengis.net/pidflo/1.0" containing attribute "srsName" indicating value "urn:ogc:def:crs:EPSG::4326", element "pos" inNamespace "http://www.opengis.net/gml" indicating value CIRCLE_IN_V_FIRE_SERVICE_BOUNDARY_POS, element "radius" indicating value CIRCLE_IN_V_FIRE_SERVICE_BOUNDARY_RADIUS containing attribute "uom" indicating value "urn:ogc:def:uom:EPSG::9001" ; ; , element "service" indicating value "urn:service:sos"; ; ; ; ; } then { the IUT entity sends a httpResponse containing Status_Code indicating value "200 OK", version indicating value "1.0", Content_type indicating value "application/lost+xml;charset=utf-8", body containing xmlMessage containing version indicating value "1.0", element "findServiceResponse" inNamespace "urn:ietf:params:xml:ns:lost1" containing element "mapping" containing attribute "source", attribute "sourceId", attribute "lastUpdated", attribute "expires", element "service" indicating value V_FIRE_SERVICE_URN, element "uri" indicating value V_FIRE_SIP_URI; , element "mapping" containing attribute "source", attribute "sourceId", attribute "lastUpdated", attribute "expires", element "service" indicating value V_POLICE_SERVICE_URN, element "uri" indicating value V_POLICE_SIP_URI; , element "locationUsed" ; ; ; ; } } } //End of TP_ECRF_HTTP_POST_BV_09 } No newline at end of file test_purposes/esrp.tplan2 +437 −175 Original line number Diff line number Diff line Loading @@ -26,20 +26,29 @@ Package NG112_ESRP { entities: - IUT - ECRF - LIS - PSAP ; events: - receives //for packets coming from the network to the IUT - sends //for packets sent by the IUT to the network - forwards //forwards the previously received message to the next hop - isConfiguredWith //IUT is configured to use the ECRF - isConfiguredWith //IUT is configured to use the specified service - isReachableWith // the PSAP is reachable via the specified URI - isNotReachable // the PSAP is not reachable - receivedInitialInviteRequestAndSentLostQueryToEcrf // [ref esrp.txt:RECEIVED_INITITAL_INVITE_AND_SENT_LOST_REQUEST] - receivesLostResponseFor // IUT receives a LoST response for the give target URI [ref esrp.txt:RECEIVES_LOST_RESPONSE_FOR] - receivedInitialInviteRequestWithoutLocationAndSentHeldRequestToLisFor // [ref esrp.txt:RECEIVED_INITITAL_INVITE_WITHOUT_LOCATION_AND_SENT_HELD_REQUEST_FOR] - receivedInitialInviteRequestWithLocationReferenceAndSentGetRequestToLisFor // [ref esrp.txt:RECEIVED_INITITAL_INVITE_WITH_LOCATIONREFERENCE_AND_SENT_GET_REQUEST_FOR] - sendsLostQueryToEcrfFor // IUT sends a LoST request to the LIs with the given LOCATION [ref esrp.txt:SENDS_LOST_REQUEST_FOR] - receivesHeldResponseWith // IUT receives a HELD response with the give LOCATION [ref esrp.txt:RECEIVES_HELD_RESPONSE_WITH] - receivesLostResponseWith // IUT receives a LoST response with the give URN [ref esrp.txt:RECEIVES_LOST_RESPONSE_WITH] - receivesLocationResponseWith // IUT receives a Location response with the give LOCATION [ref esrp.txt:RECEIVES_LOCATION_RESPONSE_WITH] ; } // Const { // DEVICE_NUMBER: "+33123456789"; // PIDF [ref esrp.txt:PIDF]; // SDP_AND_PIDF_MULTIPART [ref esrp.txt:SDP_AND_PIDF_MULTIPART]; // SERVICE_URN_1: "urn:service:sos.police"; // SIP_URI_1: "sip:police@city.com"; Loading Loading @@ -76,7 +85,7 @@ Initial conditions with { Expected behaviour ensure that { when { the IUT entity receives a SIP_INVITE containing the IUT entity receives a TCP SIP_INVITE containing Request_URI indicating value SERVICE_URN_1, Content_Type indicating value "multipart/mixed", body containing Loading @@ -85,7 +94,7 @@ Expected behaviour ; and the IUT entity sends a POST containing Content_type indicating value "application/lost+xml;charset=utf-8", body containing body containingreceivedInitialInviteRequestWithLocationReferenceAndSentGetRequestToLisFor xmlMessage containing version indicating value "1.0", element "findService" inNamespace "urn:ietf:params:xml:ns:lost1" containing Loading Loading @@ -151,7 +160,7 @@ Initial conditions with { Expected behaviour ensure that { when { the IUT entity receivesLostResponseFor the SIP_URI_1 from the ECRF entity the IUT entity receivesLostResponseWith the SIP_URI_1 from the ECRF entity } then { the IUT entity forwards the SIP_INVITE containing Loading @@ -173,4 +182,257 @@ Expected behaviour } } } //End of TP_ESRP_SIP_INVITE_BV_02 Test Purpose { TP Id TP_ESRP_SIP_INVITE_BV_03 Test objective "IUT uses HELD request to query location when INVITE does not contain the location" Reference "Next Generation 112 Long Term Definition http://www.eena.org/uploads/gallery/files/pdf/2013-03-15-eena_ng_longtermdefinitionupdated.pdf Clause 4.3", "https://tools.ietf.org/html/rfc5222" Config Id CFG_ESRP_01 PICS Selection PICS_SERVICE_ESRP Initial conditions with { the IUT entity isConfiguredWith the ECRF and the IUT entity isConfiguredWith the LIS and the PSAP entity isReachableWith the SIP_URI_1 and the IUT entity receivedInitialInviteRequestWithoutLocationAndSentHeldRequestToLisFor the DEVICE_NUMBER and the IUT entity receivesHeldResponseWith the LOCATION_1 from the LIS entity and the IUT entity sendsLostQueryToEcrfFor the LOCATION_1 to the ECRF entity } Expected behaviour ensure that { when { the IUT entity receivesLostResponseWith the SIP_URI_1 from the ECRF entity } then { the IUT entity forwards the SIP_INVITE containing Request_URI indicating value SERVICE_URN_1, Content_Type indicating value "multipart/mixed", Route indicating value SIP_URI_1, Call_Info containing uri indicating value valid "Incident Tracking Identifier", purpose "EES-IncidentId" ;, Call_Info containing uri indicating value valid "Call Identifier", purpose "EES-CallId" ;, body containing SDP_AND_PIDF_MULTIPART ; ; to the PSAP entity } } } //End of TP_ESRP_SIP_INVITE_BV_03 Test Purpose { TP Id TP_ESRP_SIP_INVITE_BV_04 Test objective "IUT uses HELD request to query location when INVITE contains location by reference" Reference "Next Generation 112 Long Term Definition http://www.eena.org/uploads/gallery/files/pdf/2013-03-15-eena_ng_longtermdefinitionupdated.pdf Clause 4.3", "https://tools.ietf.org/html/rfc5222" "https://tools.ietf.org/html/rfc6442" Config Id CFG_ESRP_01 PICS Selection PICS_SERVICE_ESRP Initial conditions with { the IUT entity isConfiguredWith the ECRF and the IUT entity isConfiguredWith the LIS and the PSAP entity isReachableWith the SIP_URI_1 and the IUT entity receivedInitialInviteRequestWithLocationReferenceAndSentGetRequestToLisFor the DEVICE_NUMBER and the IUT entity receivesLocationResponseWith the LOCATION_1 from the LIS entity and the IUT entity sendsLostQueryToEcrfFor the LOCATION_1 to the ECRF entity } Expected behaviour ensure that { when { the IUT entity receivesLostResponseWith the SIP_URI_1 from the ECRF entity } then { the IUT entity forwards the SIP_INVITE containing Request_URI indicating value SERVICE_URN_1, Content_Type indicating value "multipart/mixed", Route indicating value SIP_URI_1, Call_Info containing uri indicating value valid "Incident Tracking Identifier", purpose "EES-IncidentId" ;, Call_Info containing uri indicating value valid "Call Identifier", purpose "EES-CallId" ;, body containing SDP_AND_PIDF_MULTIPART ; ; to the PSAP entity } } } //End of TP_ESRP_SIP_INVITE_BV_04 Test Purpose { TP Id TP_ESRP_SIP_INVITE_BV_05 Test objective "IUT responds to OPTIONS requests" Reference "https://tools.ietf.org/html/rfc3261" Config Id CFG_ESRP_01 PICS Selection PICS_SERVICE_ESRP Expected behaviour ensure that { when { the IUT entity receives a SIP_OPTIONS } then { the IUT entity sends a SIP_RESPONSE containing Status_Code indicating value "200 OK" } } } //End of TP_ESRP_SIP_INVITE_BV_05 Test Purpose { TP Id TP_ESRP_SIP_INVITE_BV_06 Test objective "IUT successfully forwards an incoming SIP MESSAGE to the correct downstream element, based on the ECRF response" Reference "Next Generation 112 Long Term Definition http://www.eena.org/uploads/gallery/files/pdf/2013-03-15-eena_ng_longtermdefinitionupdated.pdf Clause 4.3", "https://tools.ietf.org/html/rfc5222" Config Id CFG_ESRP_01 PICS Selection PICS_SERVICE_ESRP Initial conditions with { the IUT entity isConfiguredWith the ECRF and the PSAP entity isReachableWith the SIP_URI_1 and the IUT entity receivedInitialInviteRequestAndSentLostQueryToEcrf } Expected behaviour ensure that { when { the IUT entity receives a TCP SIP_MESSAGE containing Request_URI indicating value SERVICE_URN_1, Content_Type indicating value "application/pidf+xml", body containing PIDF ; ; and the IUT entity sends a POST containing Content_type indicating value "application/lost+xml;charset=utf-8", body containingreceivedInitialInviteRequestWithLocationReferenceAndSentGetRequestToLisFor xmlMessage containing version indicating value "1.0", element "findService" inNamespace "urn:ietf:params:xml:ns:lost1" containing element "location" containing element "Point" inNamespace "http://www.opengis.net/gml" containing attribute "srsName" indicating value "urn:ogc:def:crs:EPSG::4326", element "pos" indicating value LOCATION_1; , element "service" indicating value SERVICE_URN_1; ; ; ; ; to the ECRF entity and the IUT entity receives a httpResponse containing Status_Code indicating value "200 OK", version indicating value "1.0", Content_type indicating value "application/lost+xml;charset=utf-8", body containing xmlMessage containing version indicating value "1.0", element "findServiceResponse" inNamespace "urn:ietf:params:xml:ns:lost1" containing element "mapping" containing attribute "source", attribute "sourceId", attribute "lastUpdated", attribute "expires", element "service" indicating value SERVICE_URN_1, element "uri" indicating value SIP_URI_1; , element "locationUsed" ; ; ; ; from the ECRF entity } then { the IUT entity forwards a SIP_MESSAGE containing Request_URI indicating value SERVICE_URN_1, Content_Type indicating value "application/pidf+xml", Route_Header indicating value SIP_URI_1 body containing PIDF ; ; to the PSAP entity } } } //End of TP_ESRP_SIP_INVITE_BV_06 Test Purpose { TP Id TP_ESRP_SIP_INVITE_BV_07 Test objective "IUT responds BUSY for an incoming SIP MESSAGE when downstream element is not reachable" Reference "Next Generation 112 Long Term Definition http://www.eena.org/uploads/gallery/files/pdf/2013-03-15-eena_ng_longtermdefinitionupdated.pdf Clause 4.3", "https://tools.ietf.org/html/rfc5222" Config Id CFG_ESRP_01 PICS Selection PICS_SERVICE_ESRP Initial conditions with { the IUT entity isConfiguredWith the ECRF and the PSAP entity isNotReachable and the IUT entity receivedInitialInviteRequestAndSentLostQueryToEcrf } Expected behaviour ensure that { when { the IUT entity receives a TCP SIP_MESSAGE containing Request_URI indicating value SERVICE_URN_1, Content_Type indicating value "application/pidf+xml", body containing PIDF ; ; and the IUT entity sends a POST containing Content_type indicating value "application/lost+xml;charset=utf-8", body containingreceivedInitialInviteRequestWithLocationReferenceAndSentGetRequestToLisFor xmlMessage containing version indicating value "1.0", element "findService" inNamespace "urn:ietf:params:xml:ns:lost1" containing element "location" containing element "Point" inNamespace "http://www.opengis.net/gml" containing attribute "srsName" indicating value "urn:ogc:def:crs:EPSG::4326", element "pos" indicating value LOCATION_1; , element "service" indicating value SERVICE_URN_1; ; ; ; ; to the ECRF entity and the IUT entity receives a httpResponse containing Status_Code indicating value "200 OK", version indicating value "1.0", Content_type indicating value "application/lost+xml;charset=utf-8", body containing xmlMessage containing version indicating value "1.0", element "findServiceResponse" inNamespace "urn:ietf:params:xml:ns:lost1" containing element "mapping" containing attribute "source", attribute "sourceId", attribute "lastUpdated", attribute "expires", element "service" indicating value SERVICE_URN_1, element "uri" indicating value SIP_URI_1; , element "locationUsed" ; ; ; ; from the ECRF entity } then { the IUT entity sends a SIP_RESPONSE containing Status_Code indicating value "486 BUSY HERE" } } } //End of TP_ESRP_SIP_INVITE_BV_07 } No newline at end of file test_purposes/esrp.txt +141 −3 Original line number Diff line number Diff line Loading @@ -10,6 +10,31 @@ m=video 20002 RTP/AVP 31 a=rtpmap:31 H261/90000 *** PIDF <?xml version="1.0" encoding="UTF-8"?> <presence xmlns="urn:ietf:params:xml:ns:pidf" entity="pres:3650n87934c@ls.example.com"> <tuple id="b650sf789nd"> <status> <geopriv xmlns="urn:ietf:params:xml:ns:pidf:geopriv10"> <location-info> <Point xmlns="http://www.opengis.net/gml" srsName="urn:ogc:def:crs:EPSG::4326"> <pos>12.00, 53.00</pos> </Point> </location-info> <usage-rules xmlns:gbp="urn:ietf:params:xml:ns:pidf:geopriv10:basicPolicy"> <gbp:retention-expiry>2006-01-11T03:42:28+00:00 </gbp:retention-expiry> </usage-rules> <method>Wiremap</method> </geopriv> </status> <timestamp>2006-01-10T03:42:28+00:00</timestamp> </tuple> </presence> *** SDP_AND_PIDF_MULTIPART --boundary1 Content-Type: application/sdp Loading Loading @@ -54,7 +79,7 @@ a=rtpmap:31 H261/90000 *** RECEIVED_INITITAL_INVITE_AND_SENT_LOST_REQUEST the IUT entity receives a SIP_INVITE containing the IUT entity receives a TCP SIP_INVITE containing Request_URI indicating value SERVICE_URN_1, Content_Type indicating value "multipart/mixed", body containing Loading @@ -78,7 +103,7 @@ the IUT entity receives a SIP_INVITE containing ; ; to the ECRF entity *** RECEIVES_LOST_RESPONSE_FOR [TARGET_URI] *** RECEIVES_LOST_RESPONSE_WITH [TARGET_URI] the IUT entity receives a httpResponse containing Status_Code indicating value "200 OK", version indicating value "1.0", Loading @@ -100,3 +125,116 @@ the IUT entity receives a SIP_INVITE containing ; ; ; from the ECRF entity *** RECEIVED_INITITAL_INVITE_WITHOUT_LOCATION_AND_SENT_HELD_REQUEST_FOR [DEVICE_NUMBER] the IUT entity receives a UDP SIP_INVITE containing Request_URI indicating value SERVICE_URN_1, Content_Type indicating value "application/sdp", P-Asserted-Identity indicating value tel:DEVICE_NUMBER, body containing SDP ; ; and the IUT entity sends a POST containing Content_type indicating value "application/lost+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 "geodetic" 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 ; ; ; ; ; to the LIS entity *** RECEIVES_HELD_RESPONSE_FOR [LOCATION] the IUT entity receives 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 "presence" inNamespace "urn:ietf:params:xml:ns:pidf" containing attribute "entity" indicating value valid "pres:" uri, element "tuple" containing attribute "id", element "status" containing element "geopriv" inNamespace "urn:ietf:params:xml:ns:pidf:geopriv10" containing element "location-info" containing element "Point" inNamespace "http://www.opengis.net/gml" containing attribute "srsName" indicating value "urn:ogc:def:crs:EPSG::4326", element "pos" indicating value LOCATION ; ; ; ; ; ; ; ; ; ; from the LIS entity *** SENDS_LOST_REQUEST_FOR [LOCATION] the IUT entity sends a POST containing Content_type indicating value "application/lost+xml;charset=utf-8", body containing xmlMessage containing version indicating value "1.0", element "findService" inNamespace "urn:ietf:params:xml:ns:lost1" containing element "location" containing element "Point" inNamespace "http://www.opengis.net/gml" containing attribute "srsName" indicating value "urn:ogc:def:crs:EPSG::4326", element "pos" indicating value LOCATION; , element "service" indicating value SERVICE_URN_1; ; ; ; ; to the ECRF entity *** RECEIVED_INITITAL_INVITE_WITH_LOCATIONREFERENCE_AND_SENT_GET_REQUEST_FOR [DEVICE_NUMBER] the IUT entity receives a UDP SIP_INVITE containing Request_URI indicating value SERVICE_URN_1, Content_Type indicating value "application/sdp", Geolocation indicating value LOCATION_URI body containing SDP ; ; and the IUT entity sends a GET to the LOCATION_URI *** RECEIVES_LOCATION_RESPONSE_WITH [LOCATION] the IUT entity receives a httpResponse containing Status_Code indicating value "200 OK", version indicating value "1.0", Content_type indicating value "application/pidf+xml;charset=utf-8", body containing xmlMessage containing version indicating value "1.0", element "presence" inNamespace "urn:ietf:params:xml:ns:pidf" containing attribute "entity" indicating value valid "pres:" uri, element "tuple" containing attribute "id", element "status" containing element "geopriv" inNamespace "urn:ietf:params:xml:ns:pidf:geopriv10" containing element "location-info" containing element "Point" inNamespace "http://www.opengis.net/gml" containing attribute "srsName" indicating value "urn:ogc:def:crs:EPSG::4326", element "pos" indicating value LOCATION ; ; ; ; ; ; ; ; from the LIS entity test_purposes/psap.tplan2 +112 −15 File changed.Preview size limit exceeded, changes collapsed. Show changes test_purposes/psap.txt +29 −2 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ THEN IUT sends OK THEN IUT receives ACK *** SDP *** SDP_ULAW v=0 o=alice 2890844526 2890842807 IN IP4 atlanta.example.com s=- Loading @@ -16,6 +16,18 @@ a=rtpmap:0 PCMU/8000 m=video 20002 RTP/AVP 31 a=rtpmap:31 H261/90000 *** SDP_ALAW v=0 o=alice 2890844526 2890842807 IN IP4 atlanta.example.com s=- c=IN IP4 192.0.2.1 t=0 0 m=audio 20000 RTP/AVP 0 a=rtpmap:8 PCMA/8000 m=video 20002 RTP/AVP 31 a=rtpmap:31 H261/90000 *** SDP_AND_PIDF_MULTIPART --boundary1 Loading Loading @@ -58,3 +70,18 @@ a=rtpmap:31 H261/90000 </tuple> </presence> --boundary1-- *** inAnActiveIncomingCall WHEN the IUT entity receives a TCP SIP_INVITE containing Request_URI indicating value "urn:service:sos.police", Content_Type indicating value "multipart/mixed", body containing SDP_AND_PIDF_MULTIPART ; ; THEN the IUT sends TRYING (optional) THEN the IUT sends RINGING (optional) THEN the IUT sends OK THEN the IUT receives ACK No newline at end of file Loading
test_purposes/ecrf.tplan2 +83 −0 Original line number Diff line number Diff line Loading @@ -691,6 +691,7 @@ Expected behaviour } } } //End of TP_ECRF_HTTP_POST_BV_07 Test Purpose { TP Id TP_ECRF_HTTP_POST_BV_08 Test objective Loading Loading @@ -763,4 +764,86 @@ Expected behaviour } } } //End of TP_ECRF_HTTP_POST_BV_08 Test Purpose { TP Id TP_ECRF_HTTP_POST_BV_09 Test objective "IUT successfully responds with multiple service URIs for a Point in multiple service boundaries" Reference "ETSI TS 103 479 Vm.t.e (yyyy-mm) Clause XXX EMERGENCY CALL ROUTING FUNCTION (ECRF)", "Next Generation 112 Long Term Definition http://www.eena.org/uploads/gallery/files/pdf/2013-03-15-eena_ng_longtermdefinitionupdated.pdf Clause 4.4", "https://tools.ietf.org/html/rfc5222" Config Id CFG_ECRF_01 PICS Selection PICS_HTTP_POST_REQUEST and PICS_SERVICE_LOST Initial conditions with { the IUT entity havingServiceBoundaryFor the V_POLICE_SERVICE_BOUNDARY containing serviceMappingFor V_POLICE_SERVICE_URN containing URI indicating value V_POLICE_SIP_URI; ; and the IUT entity havingServiceBoundaryFor the V_FIRE_SERVICE_BOUNDARY containing serviceMappingFor V_FIRE_SERVICE_URN containing URI indicating value V_FIRE_SIP_URI; ; } Expected behaviour ensure that { when { the IUT entity receives a POST containing Uri indicating value "/service", Host, not Accept, Content_type indicating value "application/lost+xml;charset=utf-8", body containing xmlMessage containing version indicating value "1.0", element "findService" inNamespace "urn:ietf:params:xml:ns:lost1" containing element "location" containing element "Circle" inNamespace "http://www.opengis.net/pidflo/1.0" containing attribute "srsName" indicating value "urn:ogc:def:crs:EPSG::4326", element "pos" inNamespace "http://www.opengis.net/gml" indicating value CIRCLE_IN_V_FIRE_SERVICE_BOUNDARY_POS, element "radius" indicating value CIRCLE_IN_V_FIRE_SERVICE_BOUNDARY_RADIUS containing attribute "uom" indicating value "urn:ogc:def:uom:EPSG::9001" ; ; , element "service" indicating value "urn:service:sos"; ; ; ; ; } then { the IUT entity sends a httpResponse containing Status_Code indicating value "200 OK", version indicating value "1.0", Content_type indicating value "application/lost+xml;charset=utf-8", body containing xmlMessage containing version indicating value "1.0", element "findServiceResponse" inNamespace "urn:ietf:params:xml:ns:lost1" containing element "mapping" containing attribute "source", attribute "sourceId", attribute "lastUpdated", attribute "expires", element "service" indicating value V_FIRE_SERVICE_URN, element "uri" indicating value V_FIRE_SIP_URI; , element "mapping" containing attribute "source", attribute "sourceId", attribute "lastUpdated", attribute "expires", element "service" indicating value V_POLICE_SERVICE_URN, element "uri" indicating value V_POLICE_SIP_URI; , element "locationUsed" ; ; ; ; } } } //End of TP_ECRF_HTTP_POST_BV_09 } No newline at end of file
test_purposes/esrp.tplan2 +437 −175 Original line number Diff line number Diff line Loading @@ -26,20 +26,29 @@ Package NG112_ESRP { entities: - IUT - ECRF - LIS - PSAP ; events: - receives //for packets coming from the network to the IUT - sends //for packets sent by the IUT to the network - forwards //forwards the previously received message to the next hop - isConfiguredWith //IUT is configured to use the ECRF - isConfiguredWith //IUT is configured to use the specified service - isReachableWith // the PSAP is reachable via the specified URI - isNotReachable // the PSAP is not reachable - receivedInitialInviteRequestAndSentLostQueryToEcrf // [ref esrp.txt:RECEIVED_INITITAL_INVITE_AND_SENT_LOST_REQUEST] - receivesLostResponseFor // IUT receives a LoST response for the give target URI [ref esrp.txt:RECEIVES_LOST_RESPONSE_FOR] - receivedInitialInviteRequestWithoutLocationAndSentHeldRequestToLisFor // [ref esrp.txt:RECEIVED_INITITAL_INVITE_WITHOUT_LOCATION_AND_SENT_HELD_REQUEST_FOR] - receivedInitialInviteRequestWithLocationReferenceAndSentGetRequestToLisFor // [ref esrp.txt:RECEIVED_INITITAL_INVITE_WITH_LOCATIONREFERENCE_AND_SENT_GET_REQUEST_FOR] - sendsLostQueryToEcrfFor // IUT sends a LoST request to the LIs with the given LOCATION [ref esrp.txt:SENDS_LOST_REQUEST_FOR] - receivesHeldResponseWith // IUT receives a HELD response with the give LOCATION [ref esrp.txt:RECEIVES_HELD_RESPONSE_WITH] - receivesLostResponseWith // IUT receives a LoST response with the give URN [ref esrp.txt:RECEIVES_LOST_RESPONSE_WITH] - receivesLocationResponseWith // IUT receives a Location response with the give LOCATION [ref esrp.txt:RECEIVES_LOCATION_RESPONSE_WITH] ; } // Const { // DEVICE_NUMBER: "+33123456789"; // PIDF [ref esrp.txt:PIDF]; // SDP_AND_PIDF_MULTIPART [ref esrp.txt:SDP_AND_PIDF_MULTIPART]; // SERVICE_URN_1: "urn:service:sos.police"; // SIP_URI_1: "sip:police@city.com"; Loading Loading @@ -76,7 +85,7 @@ Initial conditions with { Expected behaviour ensure that { when { the IUT entity receives a SIP_INVITE containing the IUT entity receives a TCP SIP_INVITE containing Request_URI indicating value SERVICE_URN_1, Content_Type indicating value "multipart/mixed", body containing Loading @@ -85,7 +94,7 @@ Expected behaviour ; and the IUT entity sends a POST containing Content_type indicating value "application/lost+xml;charset=utf-8", body containing body containingreceivedInitialInviteRequestWithLocationReferenceAndSentGetRequestToLisFor xmlMessage containing version indicating value "1.0", element "findService" inNamespace "urn:ietf:params:xml:ns:lost1" containing Loading Loading @@ -151,7 +160,7 @@ Initial conditions with { Expected behaviour ensure that { when { the IUT entity receivesLostResponseFor the SIP_URI_1 from the ECRF entity the IUT entity receivesLostResponseWith the SIP_URI_1 from the ECRF entity } then { the IUT entity forwards the SIP_INVITE containing Loading @@ -173,4 +182,257 @@ Expected behaviour } } } //End of TP_ESRP_SIP_INVITE_BV_02 Test Purpose { TP Id TP_ESRP_SIP_INVITE_BV_03 Test objective "IUT uses HELD request to query location when INVITE does not contain the location" Reference "Next Generation 112 Long Term Definition http://www.eena.org/uploads/gallery/files/pdf/2013-03-15-eena_ng_longtermdefinitionupdated.pdf Clause 4.3", "https://tools.ietf.org/html/rfc5222" Config Id CFG_ESRP_01 PICS Selection PICS_SERVICE_ESRP Initial conditions with { the IUT entity isConfiguredWith the ECRF and the IUT entity isConfiguredWith the LIS and the PSAP entity isReachableWith the SIP_URI_1 and the IUT entity receivedInitialInviteRequestWithoutLocationAndSentHeldRequestToLisFor the DEVICE_NUMBER and the IUT entity receivesHeldResponseWith the LOCATION_1 from the LIS entity and the IUT entity sendsLostQueryToEcrfFor the LOCATION_1 to the ECRF entity } Expected behaviour ensure that { when { the IUT entity receivesLostResponseWith the SIP_URI_1 from the ECRF entity } then { the IUT entity forwards the SIP_INVITE containing Request_URI indicating value SERVICE_URN_1, Content_Type indicating value "multipart/mixed", Route indicating value SIP_URI_1, Call_Info containing uri indicating value valid "Incident Tracking Identifier", purpose "EES-IncidentId" ;, Call_Info containing uri indicating value valid "Call Identifier", purpose "EES-CallId" ;, body containing SDP_AND_PIDF_MULTIPART ; ; to the PSAP entity } } } //End of TP_ESRP_SIP_INVITE_BV_03 Test Purpose { TP Id TP_ESRP_SIP_INVITE_BV_04 Test objective "IUT uses HELD request to query location when INVITE contains location by reference" Reference "Next Generation 112 Long Term Definition http://www.eena.org/uploads/gallery/files/pdf/2013-03-15-eena_ng_longtermdefinitionupdated.pdf Clause 4.3", "https://tools.ietf.org/html/rfc5222" "https://tools.ietf.org/html/rfc6442" Config Id CFG_ESRP_01 PICS Selection PICS_SERVICE_ESRP Initial conditions with { the IUT entity isConfiguredWith the ECRF and the IUT entity isConfiguredWith the LIS and the PSAP entity isReachableWith the SIP_URI_1 and the IUT entity receivedInitialInviteRequestWithLocationReferenceAndSentGetRequestToLisFor the DEVICE_NUMBER and the IUT entity receivesLocationResponseWith the LOCATION_1 from the LIS entity and the IUT entity sendsLostQueryToEcrfFor the LOCATION_1 to the ECRF entity } Expected behaviour ensure that { when { the IUT entity receivesLostResponseWith the SIP_URI_1 from the ECRF entity } then { the IUT entity forwards the SIP_INVITE containing Request_URI indicating value SERVICE_URN_1, Content_Type indicating value "multipart/mixed", Route indicating value SIP_URI_1, Call_Info containing uri indicating value valid "Incident Tracking Identifier", purpose "EES-IncidentId" ;, Call_Info containing uri indicating value valid "Call Identifier", purpose "EES-CallId" ;, body containing SDP_AND_PIDF_MULTIPART ; ; to the PSAP entity } } } //End of TP_ESRP_SIP_INVITE_BV_04 Test Purpose { TP Id TP_ESRP_SIP_INVITE_BV_05 Test objective "IUT responds to OPTIONS requests" Reference "https://tools.ietf.org/html/rfc3261" Config Id CFG_ESRP_01 PICS Selection PICS_SERVICE_ESRP Expected behaviour ensure that { when { the IUT entity receives a SIP_OPTIONS } then { the IUT entity sends a SIP_RESPONSE containing Status_Code indicating value "200 OK" } } } //End of TP_ESRP_SIP_INVITE_BV_05 Test Purpose { TP Id TP_ESRP_SIP_INVITE_BV_06 Test objective "IUT successfully forwards an incoming SIP MESSAGE to the correct downstream element, based on the ECRF response" Reference "Next Generation 112 Long Term Definition http://www.eena.org/uploads/gallery/files/pdf/2013-03-15-eena_ng_longtermdefinitionupdated.pdf Clause 4.3", "https://tools.ietf.org/html/rfc5222" Config Id CFG_ESRP_01 PICS Selection PICS_SERVICE_ESRP Initial conditions with { the IUT entity isConfiguredWith the ECRF and the PSAP entity isReachableWith the SIP_URI_1 and the IUT entity receivedInitialInviteRequestAndSentLostQueryToEcrf } Expected behaviour ensure that { when { the IUT entity receives a TCP SIP_MESSAGE containing Request_URI indicating value SERVICE_URN_1, Content_Type indicating value "application/pidf+xml", body containing PIDF ; ; and the IUT entity sends a POST containing Content_type indicating value "application/lost+xml;charset=utf-8", body containingreceivedInitialInviteRequestWithLocationReferenceAndSentGetRequestToLisFor xmlMessage containing version indicating value "1.0", element "findService" inNamespace "urn:ietf:params:xml:ns:lost1" containing element "location" containing element "Point" inNamespace "http://www.opengis.net/gml" containing attribute "srsName" indicating value "urn:ogc:def:crs:EPSG::4326", element "pos" indicating value LOCATION_1; , element "service" indicating value SERVICE_URN_1; ; ; ; ; to the ECRF entity and the IUT entity receives a httpResponse containing Status_Code indicating value "200 OK", version indicating value "1.0", Content_type indicating value "application/lost+xml;charset=utf-8", body containing xmlMessage containing version indicating value "1.0", element "findServiceResponse" inNamespace "urn:ietf:params:xml:ns:lost1" containing element "mapping" containing attribute "source", attribute "sourceId", attribute "lastUpdated", attribute "expires", element "service" indicating value SERVICE_URN_1, element "uri" indicating value SIP_URI_1; , element "locationUsed" ; ; ; ; from the ECRF entity } then { the IUT entity forwards a SIP_MESSAGE containing Request_URI indicating value SERVICE_URN_1, Content_Type indicating value "application/pidf+xml", Route_Header indicating value SIP_URI_1 body containing PIDF ; ; to the PSAP entity } } } //End of TP_ESRP_SIP_INVITE_BV_06 Test Purpose { TP Id TP_ESRP_SIP_INVITE_BV_07 Test objective "IUT responds BUSY for an incoming SIP MESSAGE when downstream element is not reachable" Reference "Next Generation 112 Long Term Definition http://www.eena.org/uploads/gallery/files/pdf/2013-03-15-eena_ng_longtermdefinitionupdated.pdf Clause 4.3", "https://tools.ietf.org/html/rfc5222" Config Id CFG_ESRP_01 PICS Selection PICS_SERVICE_ESRP Initial conditions with { the IUT entity isConfiguredWith the ECRF and the PSAP entity isNotReachable and the IUT entity receivedInitialInviteRequestAndSentLostQueryToEcrf } Expected behaviour ensure that { when { the IUT entity receives a TCP SIP_MESSAGE containing Request_URI indicating value SERVICE_URN_1, Content_Type indicating value "application/pidf+xml", body containing PIDF ; ; and the IUT entity sends a POST containing Content_type indicating value "application/lost+xml;charset=utf-8", body containingreceivedInitialInviteRequestWithLocationReferenceAndSentGetRequestToLisFor xmlMessage containing version indicating value "1.0", element "findService" inNamespace "urn:ietf:params:xml:ns:lost1" containing element "location" containing element "Point" inNamespace "http://www.opengis.net/gml" containing attribute "srsName" indicating value "urn:ogc:def:crs:EPSG::4326", element "pos" indicating value LOCATION_1; , element "service" indicating value SERVICE_URN_1; ; ; ; ; to the ECRF entity and the IUT entity receives a httpResponse containing Status_Code indicating value "200 OK", version indicating value "1.0", Content_type indicating value "application/lost+xml;charset=utf-8", body containing xmlMessage containing version indicating value "1.0", element "findServiceResponse" inNamespace "urn:ietf:params:xml:ns:lost1" containing element "mapping" containing attribute "source", attribute "sourceId", attribute "lastUpdated", attribute "expires", element "service" indicating value SERVICE_URN_1, element "uri" indicating value SIP_URI_1; , element "locationUsed" ; ; ; ; from the ECRF entity } then { the IUT entity sends a SIP_RESPONSE containing Status_Code indicating value "486 BUSY HERE" } } } //End of TP_ESRP_SIP_INVITE_BV_07 } No newline at end of file
test_purposes/esrp.txt +141 −3 Original line number Diff line number Diff line Loading @@ -10,6 +10,31 @@ m=video 20002 RTP/AVP 31 a=rtpmap:31 H261/90000 *** PIDF <?xml version="1.0" encoding="UTF-8"?> <presence xmlns="urn:ietf:params:xml:ns:pidf" entity="pres:3650n87934c@ls.example.com"> <tuple id="b650sf789nd"> <status> <geopriv xmlns="urn:ietf:params:xml:ns:pidf:geopriv10"> <location-info> <Point xmlns="http://www.opengis.net/gml" srsName="urn:ogc:def:crs:EPSG::4326"> <pos>12.00, 53.00</pos> </Point> </location-info> <usage-rules xmlns:gbp="urn:ietf:params:xml:ns:pidf:geopriv10:basicPolicy"> <gbp:retention-expiry>2006-01-11T03:42:28+00:00 </gbp:retention-expiry> </usage-rules> <method>Wiremap</method> </geopriv> </status> <timestamp>2006-01-10T03:42:28+00:00</timestamp> </tuple> </presence> *** SDP_AND_PIDF_MULTIPART --boundary1 Content-Type: application/sdp Loading Loading @@ -54,7 +79,7 @@ a=rtpmap:31 H261/90000 *** RECEIVED_INITITAL_INVITE_AND_SENT_LOST_REQUEST the IUT entity receives a SIP_INVITE containing the IUT entity receives a TCP SIP_INVITE containing Request_URI indicating value SERVICE_URN_1, Content_Type indicating value "multipart/mixed", body containing Loading @@ -78,7 +103,7 @@ the IUT entity receives a SIP_INVITE containing ; ; to the ECRF entity *** RECEIVES_LOST_RESPONSE_FOR [TARGET_URI] *** RECEIVES_LOST_RESPONSE_WITH [TARGET_URI] the IUT entity receives a httpResponse containing Status_Code indicating value "200 OK", version indicating value "1.0", Loading @@ -100,3 +125,116 @@ the IUT entity receives a SIP_INVITE containing ; ; ; from the ECRF entity *** RECEIVED_INITITAL_INVITE_WITHOUT_LOCATION_AND_SENT_HELD_REQUEST_FOR [DEVICE_NUMBER] the IUT entity receives a UDP SIP_INVITE containing Request_URI indicating value SERVICE_URN_1, Content_Type indicating value "application/sdp", P-Asserted-Identity indicating value tel:DEVICE_NUMBER, body containing SDP ; ; and the IUT entity sends a POST containing Content_type indicating value "application/lost+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 "geodetic" 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 ; ; ; ; ; to the LIS entity *** RECEIVES_HELD_RESPONSE_FOR [LOCATION] the IUT entity receives 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 "presence" inNamespace "urn:ietf:params:xml:ns:pidf" containing attribute "entity" indicating value valid "pres:" uri, element "tuple" containing attribute "id", element "status" containing element "geopriv" inNamespace "urn:ietf:params:xml:ns:pidf:geopriv10" containing element "location-info" containing element "Point" inNamespace "http://www.opengis.net/gml" containing attribute "srsName" indicating value "urn:ogc:def:crs:EPSG::4326", element "pos" indicating value LOCATION ; ; ; ; ; ; ; ; ; ; from the LIS entity *** SENDS_LOST_REQUEST_FOR [LOCATION] the IUT entity sends a POST containing Content_type indicating value "application/lost+xml;charset=utf-8", body containing xmlMessage containing version indicating value "1.0", element "findService" inNamespace "urn:ietf:params:xml:ns:lost1" containing element "location" containing element "Point" inNamespace "http://www.opengis.net/gml" containing attribute "srsName" indicating value "urn:ogc:def:crs:EPSG::4326", element "pos" indicating value LOCATION; , element "service" indicating value SERVICE_URN_1; ; ; ; ; to the ECRF entity *** RECEIVED_INITITAL_INVITE_WITH_LOCATIONREFERENCE_AND_SENT_GET_REQUEST_FOR [DEVICE_NUMBER] the IUT entity receives a UDP SIP_INVITE containing Request_URI indicating value SERVICE_URN_1, Content_Type indicating value "application/sdp", Geolocation indicating value LOCATION_URI body containing SDP ; ; and the IUT entity sends a GET to the LOCATION_URI *** RECEIVES_LOCATION_RESPONSE_WITH [LOCATION] the IUT entity receives a httpResponse containing Status_Code indicating value "200 OK", version indicating value "1.0", Content_type indicating value "application/pidf+xml;charset=utf-8", body containing xmlMessage containing version indicating value "1.0", element "presence" inNamespace "urn:ietf:params:xml:ns:pidf" containing attribute "entity" indicating value valid "pres:" uri, element "tuple" containing attribute "id", element "status" containing element "geopriv" inNamespace "urn:ietf:params:xml:ns:pidf:geopriv10" containing element "location-info" containing element "Point" inNamespace "http://www.opengis.net/gml" containing attribute "srsName" indicating value "urn:ogc:def:crs:EPSG::4326", element "pos" indicating value LOCATION ; ; ; ; ; ; ; ; from the LIS entity
test_purposes/psap.tplan2 +112 −15 File changed.Preview size limit exceeded, changes collapsed. Show changes
test_purposes/psap.txt +29 −2 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ THEN IUT sends OK THEN IUT receives ACK *** SDP *** SDP_ULAW v=0 o=alice 2890844526 2890842807 IN IP4 atlanta.example.com s=- Loading @@ -16,6 +16,18 @@ a=rtpmap:0 PCMU/8000 m=video 20002 RTP/AVP 31 a=rtpmap:31 H261/90000 *** SDP_ALAW v=0 o=alice 2890844526 2890842807 IN IP4 atlanta.example.com s=- c=IN IP4 192.0.2.1 t=0 0 m=audio 20000 RTP/AVP 0 a=rtpmap:8 PCMA/8000 m=video 20002 RTP/AVP 31 a=rtpmap:31 H261/90000 *** SDP_AND_PIDF_MULTIPART --boundary1 Loading Loading @@ -58,3 +70,18 @@ a=rtpmap:31 H261/90000 </tuple> </presence> --boundary1-- *** inAnActiveIncomingCall WHEN the IUT entity receives a TCP SIP_INVITE containing Request_URI indicating value "urn:service:sos.police", Content_Type indicating value "multipart/mixed", body containing SDP_AND_PIDF_MULTIPART ; ; THEN the IUT sends TRYING (optional) THEN the IUT sends RINGING (optional) THEN the IUT sends OK THEN the IUT receives ACK No newline at end of file