Changes for test_purposes/Cx/TP_CX.tplan2: 167 added lines, 0 removed lines.
Original line number
Original line
Diff line number
Diff line
/*
Copyright (c) ETSI 2019.
This software is subject to copyrights owned by ETSI. Non-exclusive permission
is hereby granted, free of charge, to copy, reproduce and amend this file
under the following conditions: It is provided "as is", without warranty of any
kind, expressed or implied.
ETSI shall never be liable for any claim, damages, or other liability arising
from its use or inability of use.This permission does not apply to any documentation
associated with this file for which ETSI keeps all rights reserved. The present
copyright notice shall be included in all copies of whole or part of this
file and shall not imply any sub-license right.
*/
Package TP_CX {
import all from Sip_Common;
import all from Diameter_Common;
Test Purpose {
TP Id TP_CX_HSS_ECO_UAA_01
//TP_CX_HSS_UAA_01 from TS 103 653-1 V2.1.1 without emergency registration
Test objective "IUT successfully processes all mandatory AVPs in a UA-Request received due to first UE emergency registration and sends UA-Answer."
Reference
"TS 129 228 [4], clause 6.1.1 and tables 6.1.1.1 and 6.1.1.2",
"TS 129 229 [5], clauses 6.1.1 and 6.1.2"
Config Id CF_VxLTE_INT
PICS Selection NONE
Initial conditions with {
the UE_A entity not isEmergencyRegisteredTo the IMS_A
}
Expected behaviour
ensure that {
when {
the IMS_I_CSCF_A entity sends a UAR containing
Session_ID_AVP
Vendor_Specific_Application_Id_AVP
Auth_Session_State_AVP
indicating value NO_STATE_MAINTAINED,
Origin_Host_AVP
Origin_Realm_AVP
Public_Identity_AVP
Visited_Network_Identifier_AVP
User_Authorization_Type_AVP
indicating value REGISTRATION,
User_Name_AVP
Destination_Host_AVP
Destination_Realm_AVP
UAR_Flags_AVP indicating value '1'; //IMS emergency registration
to the IMS_HSS_A entity
}
then {
the IMS_HSS_A entity sends the UAA containing
Session_ID_AVP,
Vendor_Specific_Application_Id_AVP,
Auth_Session_State_AVP,
Origin_Host_AVP,
Origin_Realm_AVP,
not Result_Code_AVP
Experimental_Result_AVP containing
Experimental_Result_Code_AVP
indicating value DIAMETER_FIRST_REGISTRATION;;
to the IMS_I_CSCF_A entity
}
}
} // End of TP TP_CX_HSS_ECO_UAA_01
Test Purpose {
TP Id TP_CX_HSS_ECO_UAA_02
//TP_CX_HSS_UAA_02 from TS 103 653-1 V2.1.1 without emergency registration
Test objective "IUT successfully processes all mandatory AVPs in a UA-Request received due to protected UE emergency registration and sends UA-Answer."
Reference
"TS 129 228 [4], clause 6.1.1.1"
Config Id CF_VxLTE_INT
PICS Selection NONE
Initial conditions with {
the UE_A entity not isEmergencyRegisteredTo the IMS_A
}
Expected behaviour
ensure that {
when {
the IMS_I_CSCF_A entity sends a UAR containing
Public_Identity_AVP
User_Name_AVP
UAR_Flags_AVP indicating value '1'; //IMS emergency registration
to the IMS_HSS_A entity
}
then {
the IMS_HSS_A entity sends the UAA containing
not Result_Code_AVP,
Experimental_Result_AVP containing
Experimental_Result_Code_AVP
indicating value DIAMETER_SUBSEQUENT_REGISTRATION;,
Server_Name_AVP,
not Server_Capabilities_AVP;
to the IMS_I_CSCF_A entity
}
}
} // End of TP TP_CX_HSS_ECO_UAA_02
Test Purpose {
TP Id TP_CX_HSS_ECO_SAA_01
Test objective "IUT successfully processes all mandatory AVPs in a SA-Request received due to S-CSCF registration notification procedure when credentials not matches and sends SA-Answer."
Reference
"TS 129 228 [4], clause 6.1.2",
"TS 129 229 [5], clauses 6.1.3 and 6.1.4"
Config Id CF_VxLTE_INT
PICS Selection NONE
Initial conditions with {
the UE_A entity isNotRegisteredTo the IMS_A
}
Expected behaviour
ensure that {
when {
the IMS_S_CSCF_A entity sends a SAR containing
Session_ID_AVP,
Vendor_Specific_Application_Id_AVP,
Auth_Session_State_AVP
indicating value NO_STATE_MAINTAINED,
Origin_Host_AVP,
Origin_Realm_AVP,
Public_Identity_AVP,
not User_Name_AVP,
Destination_Realm_AVP,
Server_Name_AVP,
Server_Assignment_Type_AVP
indicating value AUTHENTICATION_FAILURE //or AUTHENTICATION_TIMEOUT
the UE_A entity isEmergencyAttachedTo the EPC_A and
the UE_A entity not isRegisteredTo the IMS_A and
the UE_A entity hasAchievedFirstRegistration
}
Expected behaviour
ensure that {
when {
the IMS_P_CSCF_A entity receives a REGISTER containing
From indicating value PX_UE_A_SIP_URI,
To indicating value PX_UE_A_SIP_URI,
CallId indicating value PX_UE_A_CALLID,
Via indicating value PX_UE_A_VIA,
Authorization containing
Authentication_Schema indicating value PX_TO_BE_DEFINED,
Authentication_URI indicating value PX_TO_BE_DEFINED,
Username indicating value PX_UE_A_USERNAME,
Realm indicating value PX_UE_A_REALM,
Algorithm indicating value PX_UE_A_AUTH_ALG,
Nonce indicating value "not empty",
qop indicating value "auth",
not SecurityClient,
Contact indicating value "sos";;
from the UE_A entity
}
then {
the IMS_P_CSCF_A entity sends an 200_Ok containing
From indicating value PX_UE_A_SIP_URI,
To indicating value PX_UE_A_SIP_URI,
CallId indicating value PX_UE_A_CALLID,
Via indicating value PX_UE_A_VIA,
AuthenticationInfo,
PAccessNetworkInfo,
PAssociatedURI indicating value PX_UE_A_SIP_URI, //ListOfImplicitelyRegisteredPublicUserIdentities;
PChargingVector,
orig_ioi_parameter
indicating value "Operator Identifier Of ImsA"
Path,
ServiceRoute;
to the UE_A entity
}
}
} // End of TP_GM_PCSCF_ECO_REGISTER_02
Test Purpose {
TP Id TP_GM_PCSCF_ECO_REGISTER_03
Test objective "Verify that the emergency registration is rejected with 403 (Forbidden) in case invalid credentials sent from UE. (Unsuccessful emergency registration)."
Reference
"ETSI TS 124 229 [1], Clauses 5.1.6.2 and 5.2.10.5"
Config Id CF_VxLTE_INT
PICS Selection NONE
Initial conditions with {
the UE_A entity isEmergencyAttachedTo the EPC_A and
the UE_A entity not isRegisteredTo the IMS_A
}
Expected behaviour
ensure that {
when {
the IMS_P_CSCF_A entity receives a REGISTER containing
From indicating value PX_UE_A_SIP_URI,
To indicating value PX_UE_A_SIP_URI,
CallId indicating value PX_UE_A_CALLID,
Via indicating value PX_UE_A_VIA,
Authorization indicating value "Invalid credentials",
Contact indicating value "sos";
to the UE_A entity
}
then {
the IMS_P_CSCF_A entity sends a 403_Forbiden containing
From indicating value PX_UE_A_SIP_URI,
To indicating value PX_UE_A_SIP_URI,
CallId indicating value PX_UE_A_CALLID,
Via indicating value PX_UE_A_VIA;
from the UE_A entity
}
}
} // End of TP_GM_PCSCF_ECO_REGISTER_03
Test Purpose {
TP Id TP_GM_PCSCF_ECO_REGISTER_04
Test objective "Verify that the emergency registration is rejected with 403 (Forbidden) in case the UE and P-CSCF does not support GPRS-IMS-Bundled authentication. (Unsuccessful emergency registration)."
Reference
"ETSI TS 124 229 [1], Clauses 5.1.6.2 and 5.2.10.5"
Config Id CF_VxLTE_RMI
PICS Selection NONE
Initial conditions with {
the UE_A entity isEmergencyAttachedTo the EPC_B and
the UE_A entity not isRegisteredTo the IMS_B
}
Expected behaviour
ensure that {
when {
the IMS_P_CSCF_B entity receives a REGISTER containing
From indicating value PX_UE_A_SIP_URI,
To indicating value PX_UE_A_SIP_URI,
CallId indicating value PX_UE_A_CALLID,
Via indicating value PX_UE_A_VIA,
Authorization not indicating value GPRS_IMS_Bundled_authentication,
Contact indicating value "sos";
to the UE_A entity
}
then {
the IMS_P_CSCF_B entity sends a 403_Forbidden containing
From indicating value PX_UE_A_SIP_URI,
To indicating value PX_UE_A_SIP_URI,
CallId indicating value PX_UE_A_CALLID,
Via indicating value PX_UE_A_VIA,
MessageBody containing
XML containing
ims_3gpp_element indicating value anonymous_emergencycall;;;
from the UE_A entity
}
}
} // End of TP_GM_PCSCF_ECO_REGISTER_04
Test Purpose {
TP Id TP_GM_PCSCF_ECO_REGISTER_05
Test objective "Verify that the emergency registration is rejected with 420 (Bad Extension) in case the UE does not support GPRS-IMS-Bundled authentication while the P-CSCF supports it. (Unsuccessful emergency registration)."
Reference
"ETSI TS 124 229 [1], Clauses 5.1.6.2 and 5.2.10.5"
Config Id CF_VxLTE_RMI
PICS Selection NONE
Initial conditions with {
the UE_A entity isEmergencyAttachedTo the EPC_B and
the UE_A entity not isRegisteredTo the IMS_B
}
Expected behaviour
ensure that {
when {
the IMS_P_CSCF_B entity receives a REGISTER containing
From indicating value PX_UE_A_SIP_URI,
To indicating value PX_UE_A_SIP_URI,
CallId indicating value PX_UE_A_CALLID,
Via indicating value PX_UE_A_VIA,
Authorization not indicating value GPRS_IMS_Bundled_authentication,
Contact indicating value "sos";
to the UE_A entity
}
then {
the IMS_P_CSCF_B entity sends a 420_BadExtension containing
From indicating value PX_UE_A_SIP_URI,
To indicating value PX_UE_A_SIP_URI,
CallId indicating value PX_UE_A_CALLID,
Via indicating value PX_UE_A_VIA,
Unsupported indicating value sec_agree,
MessageBody containing
XML containing
ims_3gpp_element indicating value anonymous_emergencycall;;;
from the UE_A entity
}
}
} // End of TP_GM_PCSCF_ECO_REGISTER_05
Test Purpose {
TP Id TP_GM_PCSCF_ECO_INVITE_01
Test objective "Verify that the P-CSCF successfully receives an initial emergency INVITE from an unregistered UE."
Reference
"ETSI TS 124 229 [1], Clauses 5.1.6.8.2"
Config Id CF_VxLTE_INT
PICS Selection NONE
Initial conditions with {
the UE_A entity isAttachedTo the EPC_A and
the UE_A entity not isRegisteredTo the IMS_A and
the UE_A entity not isEmergencyRegisteredTo the IMS_A
}
Expected behaviour
ensure that {
when {
the UE_A entity isRequestedToEstablishEmergencyCall
}
then {
the IMS_P_CSCF_A entity receives an INVITE containing
From indicating value "Anonymous",
To indicating value PX_SIP_EMERGENCY_SERVICE_URN,
CallId indicating value PX_UE_A_CALLID,
Via indicating value PX_UE_A_VIA, // see 5.1.6.8.2 7)
Route indicating value PX_UE_A_SERVICE_ROUTE,
MessageBody;
from the UE_A entity
}
}
} // End of TP_GM_PCSCF_ECO_INVITE_01
Test Purpose {
TP Id TP_GM_PCSCF_ECO_INVITE_02
Test objective "Verify that the P-CSCF successfully receives an initial emergency INVITE from an emergency registered UE."
Reference
"ETSI TS 124 229 [1], Clauses 5.1.6.8.3"
Config Id CF_VxLTE_INT
PICS Selection NONE
Initial conditions with {
the UE_A entity isEmergencyAttachedTo the EPC_A and
the UE_A entity isEmergencyRegisteredTo the IMS_A
}
Expected behaviour
ensure that {
when {
the UE_A entity isRequestedToEstablishEmergencyCall
}
then {
the IMS_P_CSCF_A entity receives an INVITE containing
From indicating value PX_UE_A_SIP_URI,
To indicating value PX_SIP_EMERGENCY_SERVICE_URN,
CallId indicating value PX_UE_A_CALLID,
Via indicating value PX_UE_A_VIA,
Route indicating value PX_UE_A_SERVICE_ROUTE,
PPreferredIdentity, // one or two instances
// TODO Geolocation header maybe added later, check!
MessageBody;
from the UE_A entity
}
}
} // End of TP_GM_PCSCF_ECO_INVITE_02
Test Purpose {
TP Id TP_GM_PCSCF_ECO_INVITE_03
Test objective "Verify that the P-CSCF successfully receives an initial emergency INVITE from a registered but not emergency registered UE."
Reference
"ETSI TS 124 229 [1], Clauses 5.1.6.8.4"
Config Id CF_VxLTE_INT
PICS Selection NONE
Initial conditions with {
the UE_A entity isAttachedTo the EPC_A and
the UE_A entity isRegisteredTo the IMS_A and
the UE_A entity not isEmergencyRegisteredTo the IMS_A
/* This implies that the UE is currently attached and registered
to its home operator's network and the IP-CAN does not define emergency bearers
see 5.1.6.1 3rd paragraph */
}
Expected behaviour
ensure that {
when {
the UE_A entity isRequestedToEstablishEmergencyCall
}
then {
the IMS_P_CSCF_A entity receives an INVITE containing
From indicating value PX_UE_A_SIP_URI,
To indicating value PX_SIP_EMERGENCY_SERVICE_URN,
CallId indicating value PX_UE_A_CALLID,
Via indicating value PX_UE_A_VIA,
Route indicating value PX_UE_A_SERVICE_ROUTE,
PPreferredIdentity, // one or two instances
MessageBody;
from the UE_A entity
}
}
} // End of TP_GM_PCSCF_ECO_INVITE_03
Test Purpose {
TP Id TP_GM_PCSCF_ECO_INVITE_04
Test objective "Verify that the P-CSCF successfully receives an initial eCall type INVITE from an emergency registered UE."
Reference
"ETSI TS 124 229 [1], Clauses 5.1.6.11"
Config Id CF_VxLTE_INT
PICS Selection NONE
Initial conditions with {
the UE_A entity isEmergencyAttachedTo the EPC_A and
the UE_A entity isEmergencyRegisteredTo the IMS_A
}
Expected behaviour
ensure that {
when {
the UE_A entity isRequestedToEstablisheCallTypeEmergencyCall
}
then {
the IMS_P_CSCF_A entity receives an INVITE containing
From indicating value PX_UE_A_SIP_URI,
To indicating value PX_SIP_ECALL_EMERGENCY_SERVICE_URN, // "urn:service:sos.ecall.manual" or "urn:service:sos.ecall.automatic"
CallId indicating value PX_UE_A_CALLID,
Via indicating value PX_UE_A_VIA,
Route indicating value PX_UE_A_SERVICE_ROUTE,
Accept indicating value "application/EmergencyCallData.Control+xml",
RecvInfo indicating value "EmergencyCallData.eCall.MSD",
PPreferredIdentity, // one or two instances
// TODO Geolocation header maybe added later, check!
MessageBody containing
MIME containing MSD;;; // MIME may contain additional parts e.g., sdp, xml
Changes for test_purposes/Gx/TP_GX.tplan2: 123 added lines, 0 removed lines.
Original line number
Original line
Diff line number
Diff line
/*
Copyright (c) ETSI 2019.
This software is subject to copyrights owned by ETSI. Non-exclusive permission
is hereby granted, free of charge, to copy, reproduce and amend this file
under the following conditions: It is provided "as is", without warranty of any
kind, expressed or implied.
ETSI shall never be liable for any claim, damages, or other liability arising
from its use or inability of use.This permission does not apply to any documentation
associated with this file for which ETSI keeps all rights reserved. The present
copyright notice shall be included in all copies of whole or part of this
file and shall not imply any sub-license right.
*/
Package TP_GX {
import all from Sip_Common;
import all from Diameter_Common;
Test Purpose {
TP Id TP_GX_PCRF_CCA_01
//TP_GX_PCRF_CCA_01 from TS 103 653-1 V2.1.1 without emergency registration
Test objective "Verify that IUT when receives CC-Request for PCC Rules containing IMSI for emergency services sends a CC-Answer in case of attachment procedure."
Reference
"TS 129 212 [9], clauses 4.5.15.2.1"
Config Id CF_VxLTE_INT
PICS Selection NONE
Initial conditions with {
the UE_A entity isNotAttachedTo the EPC_A and
the UE_A entity isNotRegisteredTo the IMS_A
}
Expected behaviour
ensure that {
when {
the EPC_PGW_A entity sends an CCR containing
CC_Request_Type_AVP indicating value INITIAL_REQUEST
Subscription_Id_AVP containing
Subscription_Id_Type_AVP
indicating value END_USER_IMSI;,
IP_CAN_Type_AVP indicating value RestrictedToEmergencyServices,
RAT_Type_AVP,
Called_Station_Id_AVP indicating value "Emergency_APN"
Framed_IP_Address_AVP
"or" Framed_IP6_IP_Address_AVP
QoS_Information_AVP
Default_EPS_Bearer_QoS_AVP containing
QoS_Class_Identifier_AVP
indicating value '5'
Allocation_Retention_Priority_AVP containing
Priority_Level_AVP
Pre_emption_Capablity_AVP
Pre_emption_Vulnerability_AVP;;;
to the EPC_PCRF_A entity
}
then {
the EPC_PCRF_A entity sends the CCA containing
Result_Code_AVP
indicating value DIAMETER_SUCCESS;
to the EPC_PGW_A entity
}
}
} // End of TP_GX_PCRF_ECO_CCA_01
Test Purpose {
TP Id TP_GX_PCRF_CCA_02
Test objective "Verify that IUT when receives CC-Request for PCC Rules containing IMEI for emergency services sends a CC-Answer in case of attachment procedure."
Reference
"TS 129 212 [9], clauses 4.5.15.2.1"
Config Id CF_VxLTE_INT
PICS Selection NONE
Initial conditions with {
the UE_A entity isNotAttachedTo the EPC_A and
the UE_A entity isNotRegisteredTo the IMS_A
}
Expected behaviour
ensure that {
when {
the EPC_PGW_A entity sends an CCR containing
CC_Request_Type_AVP indicating value INITIAL_REQUEST,
User_Equipment_Info_AVP containing
User_Equipment_Info_Type_AVP indicating value IMEISV
User_Equipment_Info_Value_AVP;,
IP_CAN_Type_AVP indicating value RestrictedToEmergencyServices,
RAT_Type_AVP,
Called_Station_Id_AVP indicating value "Emergency_APN"