Commit 752f3924 authored by Andreas Liebig's avatar Andreas Liebig
Browse files

Add TCP and UDP PSAP test purposes

parent 675beb4e
Loading
Loading
Loading
Loading
+70 −7
Original line number Diff line number Diff line
@@ -22,6 +22,8 @@ Package NG112_PSAP {
        Domain {
            pics:
                - PICS_SERVICE_PSAP
                - PICS_SERVICE_PSAP_UDP
                - PICS_SERVICE_PSAP_TCP
                ;
            entities:
                - IUT
@@ -61,21 +63,22 @@ Package NG112_PSAP {
Test Purpose {
TP Id TP_PSAP_SIP_INVITE_BV_01
Test objective 
    "IUT successfully handles SIP INVITE with service urn" 
    "IUT successfully handles SIP INVITE with service urn via UDP" 
Reference 
    "Next Generation 112 Long Term Definition http://www.eena.org/uploads/gallery/files/pdf/2013-03-15-eena_ng_longtermdefinitionupdated.pdf Clause 4.7",
    "https://tools.ietf.org/html/rfc5031"
//Config Id CFG_PSAP_01
PICS Selection PICS_SERVICE_PSAP
PICS Selection PICS_SERVICE_PSAP and PICS_SERVICE_PSAP_UDP
Initial conditions with {
    the IUT entity acceptingIncomingCalls
}
Expected behaviour
    ensure that {
        when {
            the IUT entity receives a SIP_INVITE containing
            the IUT entity receives a UDP SIP_INVITE containing
                Request_URI indicating value "urn:service:sos.police",
                Content_Type indicating value "application/sdp",
                test 
                body containing
                    SDP
                ;
@@ -89,22 +92,53 @@ Expected behaviour

Test Purpose {
TP Id TP_PSAP_SIP_INVITE_BV_02
Test objective 
    "IUT successfully handles SIP INVITE with service urn via TCP" 
Reference 
    "Next Generation 112 Long Term Definition http://www.eena.org/uploads/gallery/files/pdf/2013-03-15-eena_ng_longtermdefinitionupdated.pdf Clause 4.7",
    "https://tools.ietf.org/html/rfc5031"
//Config Id CFG_PSAP_01
PICS Selection PICS_SERVICE_PSAP and PICS_SERVICE_PSAP_TCP
Initial conditions with {
    the IUT entity acceptingIncomingCalls
}
Expected behaviour
    ensure that {
        when {
            the IUT entity receives a TCP SIP_INVITE containing
                Request_URI indicating value "urn:service:sos.police",
                Content_Type indicating value "application/sdp",
                test 
                body containing
                    SDP
                ;
            ;
        }
        then {
            the IUT entity establishesIncomingCall
        }
    }
}  //End of TP_PSAP_SIP_INVITE_BV_02

Test Purpose {
TP Id TP_PSAP_SIP_INVITE_BV_03
Test objective 
    "IUT successfully handles SIP INVITE with SDP and PIDF-LO content" 
Reference 
    "Next Generation 112 Long Term Definition http://www.eena.org/uploads/gallery/files/pdf/2013-03-15-eena_ng_longtermdefinitionupdated.pdf Clause 4.7",
    "https://tools.ietf.org/html/rfc5031"
//Config Id CFG_PSAP_01
PICS Selection PICS_SERVICE_PSAP
PICS Selection PICS_SERVICE_PSAP and PICS_SERVICE_PSAP_TCP
Initial conditions with {
    the IUT entity acceptingIncomingCalls
}
Expected behaviour
    ensure that {
        when {
            the IUT entity receives a SIP_INVITE containing
            the IUT entity receives a TCP SIP_INVITE containing
                Request_URI indicating value "urn:service:sos.police",
                Content_Type indicating value "multipart/mixed",
                Content_Type indicating value "application/sdp",
                test 
                body containing
                    SDP_AND_PIDF_MULTIPART
                ;
@@ -114,5 +148,34 @@ Expected behaviour
            the IUT entity establishesIncomingCall
        }
    }
}  //End of TP_PSAP_SIP_INVITE_BV_02
}  //End of TP_PSAP_SIP_INVITE_BV_03

Test Purpose {
TP Id TP_PSAP_SIP_INVITE_BV_04
Test objective 
    "IUT successfully handles SIP INVITE without service URN" 
Reference 
    "Next Generation 112 Long Term Definition http://www.eena.org/uploads/gallery/files/pdf/2013-03-15-eena_ng_longtermdefinitionupdated.pdf Clause 4.7",
    "https://tools.ietf.org/html/rfc5031"
//Config Id CFG_PSAP_01
PICS Selection PICS_SERVICE_PSAP and PICS_SERVICE_PSAP_UDP
Initial conditions with {
    the IUT entity acceptingIncomingCalls
}
Expected behaviour
    ensure that {
        when {
            the IUT entity receives a UDP SIP_INVITE containing
                Request_URI indicating value "sip:psap@city.com",
                Content_Type indicating value "application/sdp",
                body containing
                    SDP
                ;
            ;
        }
        then {
            the IUT entity establishesIncomingCall
        }
    }
}  //End of TP_PSAP_SIP_INVITE_BV_04
}
 No newline at end of file