Commit 046ed713 authored by Andreas Liebig's avatar Andreas Liebig
Browse files

add ECRF test purpose for multiple service boundaries for point

parent 8520f6c7
Loading
Loading
Loading
Loading
+83 −0
Original line number Diff line number Diff line
@@ -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 
@@ -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