Loading test_purposes/lis.tplan2 +82 −2 Original line number Diff line number Diff line Loading @@ -38,10 +38,12 @@ Package NG112_LIS { // Const { // DEVICE_NUMBER_POINT: "tel:+331234567890"; // POINT_POS: "43.616891, 7.053179"; // lat: 43.616891, lon: 7.053179 // POINT_POS: "43.616891, 7.053179"; // (lat, lon) // DEVICE_NUMBER_CIRCLE: "tel:+331234567891"; // CIRCLE_POS: "43.617174, 7.052750"; // lat: 43.617174, lon: 7.052750 // CIRCLE_POS: "43.617174, 7.052750"; // (lat, lon) // CIRCLE_RADIUS: "15"; // DEVICE_NUMBER_CIVIC: "tel:+331234567892"; // CIVIC_ADDRESS: [ref lis.txt:civicAddress]; // } // Data { Loading Loading @@ -399,6 +401,84 @@ Expected behaviour } } //End of TP_LIS_HTTP_POST_BV_05 Test Purpose { TP Id TP_LIS_HTTP_POST_BV_06 Test objective "IUT successfully responds with a CIVIC address when it receives a HTTP POST location request without location type" 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", "https://tools.ietf.org/html/rfc5985" //Config Id CFG_LIS_01 PICS Selection PICS_HTTP_POST_REQUEST PICS_LOCATION_HELD Initial conditions with { the IUT entity havingLocationMappingFor the DEVICE_NUMBER_CIVIC containing CIVIC_ADDRESS ; } 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 "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_CIVIC ; ; ; ; ; } 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 "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 "country" indicating value "AU", element "A1" indicating value "NSW", element "A3" indicating value "Wollongong", element "A4" indicating value "Gwynneville", element "STS" indicating value "Nortfield Avenue", element "LMK" indicating value "University of Wollongong", element "FLR" indicating value "2", element "NAM" indicating value "Andrew Corporation", element "PC" indicating value "2500", element "BLD" indicating value "36", element "SEAT" indicating value "WS-183", element "POBOX" indicating value "U40" ; ; ; ; ; ; ; ; ; } } } //End of TP_LIS_HTTP_POST_BV_06 Test Purpose { TP Id TP_LIS_HTTP_GET_BV_01 Test objective Loading test_purposes/lis.txt +19 −1 Original line number Diff line number Diff line Loading @@ -40,3 +40,21 @@ ; } } } *** civicAddress <country>AU</country> <A1>NSW</A1> <A3>Wollongong</A3> <A4>Gwynneville</A4> <STS>Northfield Avenue</STS> <LMK>University of Wollongong</LMK> <FLR>2</FLR> <NAM>Andrew Corporation</NAM> <PC>2500</PC> <BLD>39</BLD> <SEAT>WS-183</SEAT> <POBOX>U40</POBOX> No newline at end of file Loading
test_purposes/lis.tplan2 +82 −2 Original line number Diff line number Diff line Loading @@ -38,10 +38,12 @@ Package NG112_LIS { // Const { // DEVICE_NUMBER_POINT: "tel:+331234567890"; // POINT_POS: "43.616891, 7.053179"; // lat: 43.616891, lon: 7.053179 // POINT_POS: "43.616891, 7.053179"; // (lat, lon) // DEVICE_NUMBER_CIRCLE: "tel:+331234567891"; // CIRCLE_POS: "43.617174, 7.052750"; // lat: 43.617174, lon: 7.052750 // CIRCLE_POS: "43.617174, 7.052750"; // (lat, lon) // CIRCLE_RADIUS: "15"; // DEVICE_NUMBER_CIVIC: "tel:+331234567892"; // CIVIC_ADDRESS: [ref lis.txt:civicAddress]; // } // Data { Loading Loading @@ -399,6 +401,84 @@ Expected behaviour } } //End of TP_LIS_HTTP_POST_BV_05 Test Purpose { TP Id TP_LIS_HTTP_POST_BV_06 Test objective "IUT successfully responds with a CIVIC address when it receives a HTTP POST location request without location type" 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", "https://tools.ietf.org/html/rfc5985" //Config Id CFG_LIS_01 PICS Selection PICS_HTTP_POST_REQUEST PICS_LOCATION_HELD Initial conditions with { the IUT entity havingLocationMappingFor the DEVICE_NUMBER_CIVIC containing CIVIC_ADDRESS ; } 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 "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_CIVIC ; ; ; ; ; } 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 "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 "country" indicating value "AU", element "A1" indicating value "NSW", element "A3" indicating value "Wollongong", element "A4" indicating value "Gwynneville", element "STS" indicating value "Nortfield Avenue", element "LMK" indicating value "University of Wollongong", element "FLR" indicating value "2", element "NAM" indicating value "Andrew Corporation", element "PC" indicating value "2500", element "BLD" indicating value "36", element "SEAT" indicating value "WS-183", element "POBOX" indicating value "U40" ; ; ; ; ; ; ; ; ; } } } //End of TP_LIS_HTTP_POST_BV_06 Test Purpose { TP Id TP_LIS_HTTP_GET_BV_01 Test objective Loading
test_purposes/lis.txt +19 −1 Original line number Diff line number Diff line Loading @@ -40,3 +40,21 @@ ; } } } *** civicAddress <country>AU</country> <A1>NSW</A1> <A3>Wollongong</A3> <A4>Gwynneville</A4> <STS>Northfield Avenue</STS> <LMK>University of Wollongong</LMK> <FLR>2</FLR> <NAM>Andrew Corporation</NAM> <PC>2500</PC> <BLD>39</BLD> <SEAT>WS-183</SEAT> <POBOX>U40</POBOX> No newline at end of file