Commit d54dfb73 authored by garciay's avatar garciay
Browse files
parents 65ada19a bca866b1
Loading
Loading
Loading
Loading
+145 −0
Original line number Diff line number Diff line
@@ -228,6 +228,9 @@ Expected behaviour
                                element "service" indicating value E_POLICE_SERVICE_URN,
                                element "uri" indicating value E_POLICE_SIP_URI;
                            ,
                            element "path" containing
                              element via containing attribute "source";
                            ;,
                            element "locationUsed"
                        ;
                    ;
@@ -301,6 +304,9 @@ Expected behaviour
                                element "service" indicating value V_FIRE_SERVICE_URN,
                                element "uri" indicating value V_FIRE_SIP_URI;
                            ,
                            element "path" containing
                              element via containing attribute "source";
                            ;,
                            element "locationUsed"
                        ;
                    ;
@@ -501,6 +507,9 @@ Expected behaviour
                                ;,
                                element "uri" indicating value E_POLICE_SIP_URI;
                            ,
                            element "path" containing
                              element via containing attribute "source";
                            ;,
                            element "locationUsed"
                        ;
                    ;
@@ -610,6 +619,9 @@ Expected behaviour
                                element "service" indicating value V_FIRE_SERVICE_URN,
                                element "uri" indicating value V_FIRE_SIP_URI;
                            ,
                            element "path" containing
                              element via containing attribute "source";
                            ;,
                            element "locationUsed"
                        ;
                    ;
@@ -683,6 +695,9 @@ Expected behaviour
                                element "service" indicating value V_FIRE_SERVICE_URN,
                                element "uri" indicating value V_FIRE_SIP_URI;
                            ,
                            element "path" containing
                              element via containing attribute "source";
                            ;,
                            element "locationUsed"
                        ;
                    ;
@@ -756,6 +771,9 @@ Expected behaviour
                                element "service" indicating value V_FIRE_SERVICE_URN,
                                element "uri" indicating value V_FIRE_SIP_URI;
                            ,
                            element "path" containing
                              element via containing attribute "source";
                            ;,
                            element "locationUsed"
                        ;
                    ;
@@ -837,6 +855,9 @@ Expected behaviour
                                element "service" indicating value V_POLICE_SERVICE_URN,
                                element "uri" indicating value V_POLICE_SIP_URI;
                            ,
                            element "path" containing
                              element via containing attribute "source";
                            ;,
                            element "locationUsed"
                        ;
                    ;
@@ -846,4 +867,128 @@ Expected behaviour
    }
}  //End of TP_ECRF_HTTP_POST_BV_09

Test Purpose {
TP Id TP_ECRF_HTTP_POST_BV_10
Test objective 
    "IUT successfully responds with configured service types for a ListServices request" 
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 E_POLICE_SERVICE_BOUNDARY containing
        serviceMappingFor E_POLICE_SERVICE_URN containing
        	URI indicating value E_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 "listServices" inNamespace "urn:ietf:params:xml:ns:lost1" containing
                            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 "listServicesResponse" inNamespace "urn:ietf:params:xml:ns:lost1" containing
                            element "serviceList" indicating value "urn:service:sos.fire urn:service:sos.police",
                            element "path" containing
                              element via containing attribute "source";
                            ;
                        ;
                    ;
                ;
            ;
        }
    }
}  //End of TP_ECRF_HTTP_POST_BV_10

Test Purpose {
TP Id TP_ECRF_HTTP_POST_BV_11
Test objective 
    "IUT successfully responds with configured service types for a ListServicesByLocation request" 
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 E_POLICE_SERVICE_BOUNDARY containing
        serviceMappingFor E_POLICE_SERVICE_URN containing
        	URI indicating value E_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 "listServicesByLocation" 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 POINT_IN_E_POLICE_SERVICE_BOUNDARY;
                            ,
                            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 "listServicesByLocationResponse" inNamespace "urn:ietf:params:xml:ns:lost1" containing
                            element "serviceList" indicating value "urn:service:sos.police",
                            element "path" containing
                              element via containing attribute "source";
                            ;,
                            element "locationUsed"
                        ;
                    ;
                ;
            ;
        }
    }
}  //End of TP_ECRF_HTTP_POST_BV_11

}
 No newline at end of file
+2 −2
Original line number Diff line number Diff line
@@ -487,7 +487,7 @@ Reference
Config Id CFG_LIS_01
PICS Selection PICS_HTTP_POST_REQUEST and PICS_LOCATION_HELD
Initial conditions with {
    the IUT entity havingLocationMappingFor the DEVICE_NUMBER containing
    the IUT entity havingLocationMappingFor the DEVICE_NUMBER_POINT containing
        "point" containing 
            "position" indicating value POINT_POS
        ;
@@ -506,7 +506,7 @@ Expected behaviour
                        version indicating value "1.0",
                        element "locationRequest" inNamespace "urn:ietf:params:xml:ns:geopriv:held" containing
                            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
                                element "uri" inNamespace "urn:ietf:params:xml:ns:geopriv:held:id" indicating value DEVICE_NUMBER_POINT
                            ;
                        ,
                        element "locationType" indicating value "civic" containing