Commit 18783490 authored by garciay's avatar garciay
Browse files
parents 538e2713 5f593830
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -85,7 +85,8 @@ RUN cd /home/etsi \
    && chown etsi:etsi bin lib include tmp frameworks docs man dev \
    && echo "etsi ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers

COPY [^.]* /home/etsi/dev/STF549_Ng112/
#COPY [^.]* /home/etsi/dev/STF549_Ng112/
COPY home home/etsi
RUN chown -R etsi /home/etsi/dev/STF549_Ng112/ && cd /home/etsi/dev/STF549_Ng112

USER etsi
@@ -101,9 +102,8 @@ RUN cd /home/etsi/frameworks \
    && wget -q 'http://ftp.halifax.rwth-aachen.de/eclipse//technology/epp/downloads/release/oxygen/2/eclipse-cpp-oxygen-2-linux-gtk-x86_64.tar.gz' -Oeclipse-cpp-oxygen-2-linux-gtk-x86_64.tar.gz \
    && tar -zxvf ./eclipse-cpp-oxygen-2-linux-gtk-x86_64.tar.gz \
    && rm -f ./eclipse-cpp-oxygen-2-linux-gtk-x86_64.tar.gz \
    && find $HOME -name "*"

RUN cd /home/etsi/dev/STF549_Ng112 \
    && find $HOME -name "*" \
    && cd /home/etsi/dev/STF549_Ng112 \
    && ls \
    && cd /home/etsi/dev/STF549_Ng112/ttcn \
    && git clone https://forge.etsi.org/gitlab/LIBS/LibSip.git ./LibSip \
+338 −62

File changed.

Preview size limit exceeded, changes collapsed.

+637 −579
Original line number Diff line number Diff line
@@ -476,6 +476,64 @@ Expected behaviour
    }
} //End of TP_LIS_HTTP_POST_BV_06

Test Purpose {
TP Id TP_LIS_HTTP_POST_BV_07
Test objective 
    "IUT successfully responds with an error response when it receives a HTTP POST location request with an unknown 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 - HTTP-Enabled Location Delivery (HELD)"
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
        "point" containing 
            "position" indicating value POINT_POS
        ;
    ;
}
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
                            ;
                        ,
                        element "locationType" indicating value "civic" containing
                                attribute "exact" indicating value "true"
                        ;
                       ; 
                    ;
                ;
            ;
        }
        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 "error" inNamespace "urn:ietf:params:xml:ns:geopriv:held" containing
                            attribute "code" indicating value "cannotProvideLiType"
                        ;
                    ;
                ;
            ;
      	}
	}
} //End of TP_LIS_HTTP_POST_BV_07

Test Purpose {
TP Id TP_LIS_HTTP_GET_BV_01