Commit b090d150 authored by Yann Garcia's avatar Yann Garcia
Browse files
parents 5355b198 15530420
Loading
Loading
Loading
Loading
+8 −90
Original line number Diff line number Diff line
@@ -832,91 +832,9 @@ 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 [1], clause XXXX",
    "EENA Next Generation 112 LTD [2], clause 4.4",
    "RFC5222 [5]"
Config Id CFG_ECRF_01
PICS Selection L_FIS_GEO1
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
                                attribute "profile" indicating value "geodetic-2d",
                                attribute "id" indicating value LOCATION_ID,
                                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_V_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 "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 "path" containing
                              element via containing attribute "source";
                            ;,
                            element "locationUsed" containing
                              attribute "id" indicating value LOCATION_ID;
                        ;
                    ;
                ;
            ;
        }
    }
}  //End of TP_ECRF_HTTP_POST_BV_09

Test Purpose {
TP Id TP_ECRF_HTTP_POST_BV_10
TP Id TP_ECRF_HTTP_POST_BV_09
Test objective 
    "IUT successfully responds with configured service types for a ListServices request" 
Reference 
@@ -972,10 +890,10 @@ Expected behaviour
            ;
        }
    }
}  //End of TP_ECRF_HTTP_POST_BV_10
}  //End of TP_ECRF_HTTP_POST_BV_09

Test Purpose {
TP Id TP_ECRF_HTTP_POST_BV_11
TP Id TP_ECRF_HTTP_POST_BV_10
Test objective 
    "IUT successfully responds with configured service types for a ListServicesByLocation request" 
Reference 
@@ -1040,11 +958,11 @@ Expected behaviour
            ;
        }
    }
}  //End of TP_ECRF_HTTP_POST_BV_11
}  //End of TP_ECRF_HTTP_POST_BV_10


Test Purpose {
TP Id TP_ECRF_HTTP_POST_BV_12
TP Id TP_ECRF_HTTP_POST_BV_11
Test objective 
    "IUT successfully responds with configured service types for a ListServices request without service element" 
Reference 
@@ -1098,10 +1016,10 @@ Expected behaviour
            ;
        }
    }
}  //End of TP_ECRF_HTTP_POST_BV_12
}  //End of TP_ECRF_HTTP_POST_BV_11

Test Purpose {
TP Id TP_ECRF_HTTP_POST_BV_13
TP Id TP_ECRF_HTTP_POST_BV_12
Test objective 
    "IUT successfully responds with configured service types for a ListServicesByLocation request without service element" 
Reference 
@@ -1165,5 +1083,5 @@ Expected behaviour
            ;
        }
    }
}  //End of TP_ECRF_HTTP_POST_BV_13
}  //End of TP_ECRF_HTTP_POST_BV_12
}
 No newline at end of file