1、 ETSI ES 202 388-13 V1.1.1 (2005-03)ETSI Standard Open Service Access (OSA);Application Programming Interface (API);Test Suite Structure and Test Purposes (TSSPart 13: Policy Management SCF(Parlay 4)ETSI ETSI ES 202 388-13 V1.1.1 (2005-03) 2 Reference DES/TISPAN-06004-13-OSA Keywords API, OSA, TSS E
2、ssential, or potentially Essential, IPRs notified to ETSI in respect of ETSI standards“, which is available from the ETSI Secretariat. Latest updates are available on the ETSI Web server (http:/webapp.etsi.org/IPR/home.asp). Pursuant to the ETSI IPR Policy, no investigation, including IPR searches,
3、has been carried out by ETSI. No guarantee can be given as to the existence of other IPRs not referenced in ETSI SR 000 314 (or the updates on the ETSI Web server) which are, or may be, or may become, essential to the present document. Foreword This ETSI Standard (ES) has been produced by ETSI Techn
4、ical Committee Telecommunications and Internet converged Services and Protocols for Advanced Networking (TISPAN). The present document is part 13 of a multi-part deliverable. Full details of the entire series can be found in part 1 6. To evaluate conformance of a particular implementation, it is nec
5、essary to have a set of test purposes to evaluate the dynamic behaviour of the Implementation Under Test (IUT). The specification containing those test purposes is called a Test Suite Structure and Test Purposes (TSS Application Programming Interface (API); Part 13: Policy Management SCF (Parlay 4)“
6、. 2 ETSI ES 202 363: “Open Service Access (OSA); Application Programming Interface (API); Implementation Conformance Statement (ICS) proforma specification; (Parlay 4)“. 3 ISO/IEC 9646-1: “Information technology - Open Systems Interconnection - Conformance testing methodology and framework - Part 1:
7、 General concepts“. 4 ISO/IEC 9646-2: “Information technology - Open Systems Interconnection - Conformance testing methodology and framework - Part 2: Abstract Test Suite specification“. 5 ETSI ETS 300 406: “Methods for Testing and Specification (MTS); Protocol and profile conformance testing specif
8、ications; Standardization methodology“. 6 ETSI ES 202 388-1: “Open Service Access (OSA); Application Programming Interface (API); Test Suite Structure and Test Purposes (TSS Part 1: Overview (Parlay 4)“. 3 Definitions and abbreviations 3.1 Definitions For the purposes of the present document, the te
9、rms and definitions given in ES 202 915-13 1, ISO/IEC 9646-1 3, ISO/IEC 9646-2 4 and the following apply: abstract test case: Refer to ISO/IEC 9646-1 3. Abstract Test Method (ATM): Refer to ISO/IEC 9646-1 3. Abstract Test Suite (ATS): Refer to ISO/IEC 9646-1 3. Implementation Under Test (IUT): Refer
10、 to ISO/IEC 9646-1 3. Lower Tester (LT): Refer to ISO/IEC 9646-1 3. Implementation Conformance Statement (ICS): Refer to ISO/IEC 9646-1 3. ETSI ETSI ES 202 388-13 V1.1.1 (2005-03) 6 ICS proforma: Refer to ISO/IEC 9646-1 3. Implementation eXtra Information for Testing (IXIT): Refer to ISO/IEC 9646-1
11、3. IXIT proforma: Refer to ISO/IEC 9646-1 3. Test Purpose (TP): Refer to ISO/IEC 9646-1 3. 3.2 Abbreviations For the purposes of the present document, the following abbreviations apply: API Application Programming Interface ATM Abstract Test Method ATS Abstract Test Suite ICS Implementation Conforma
12、nce Statement IUT Implementation Under Test IXIT Implementation eXtra Information for Testing LT Lower Tester OSA Open Service Access SCF Service Capability Feature PM Policy Management TP Test Purpose TSS Test Suite Structure 4 Test Suite Structure (TSS) Policy Management SCF 5 Test Purposes (TP) 5
13、.1 Introduction For each test requirement a TP is defined. 5.1.1 TP naming convention TPs are numbered, starting at 01, within each group. Groups are organized according to the TSS. Additional references are added to identify the actual test suite (see table 1). Table 1: TP identifier naming convent
14、ion scheme Identifier: _ = SCF name: “PM“ for Policy Management SCF = group number: two character field representing the group reference according to TSS = sequential number: (01 to 99) 5.1.2 Source of TP definition The TPs are based on ES 202 915-13 1. ETSI ETSI ES 202 388-13 V1.1.1 (2005-03) 7 5.1
15、.3 Test strategy As the base standard ES 202 915-13 1 contains no explicit requirements for testing, the TPs were generated as a result of an analysis of the base standard and the PICS specification ES 202 363 2. The TPs are only based on conformance requirements related to the externally observable
16、 behaviour of the IUT and are limited to conceivable situations to which a real implementation is likely to be faced (see ETS 300 406 5). 5.2 TPs for the Policy Management SCF All PICS items referred to in this clause are as specified in ES 202 363 2 unless indicated otherwise by another numbered re
17、ference. All parameters specified in method calls are valid unless specified. The procedures to trigger the SCF to call methods in the application are dependant on the underlying network architecture and are out of the scope of the present document. Those method calls are preceded by the words “Trig
18、gered action“. 5.2.1 Policy Management, SCF side 5.2.1.1 IpPolicyManager Test PM_PM_01 Summary: create domain. Reference: ES 202 915-13 1, clause 8.1. Precondition: createDomain() implemented. Preamble: Registration of the IUT (Policy Management Control SCF) and the tester (application) to the frame
19、work. The tester must have obtained a reference to an instance of the IpPolicyManager interface through selecting that service and signing the required service agreement. Test Sequence: 1. Method call startTransaction() Parameters: none Check: no exception is returned 2. Method call createDomain() P
20、arameters: domainName Check: valid value of IpPolicyDomainRef is returned 3. Method call commitTransaction() Parameters: none Check: value TRUE is returned ETSI ETSI ES 202 388-13 V1.1.1 (2005-03) 8 : IpPolicyManager: (Logical View:IpAppLogic)1. startTransaction( )2. createDomain(domainName)3. commi
21、tTransaction( )TRUEIpPolicyDomainRefTest PM_PM_02 Summary: get domain. Reference: ES 202 915-13 1, clauses 8.1. Precondition: getDomain() implemented. Preamble: Registration of the IUT (Policy Management Control SCF) and the tester (application) to the framework. The tester must have obtained a refe
22、rence to an instance of the IpPolicyManager interface through selecting that service and signing the required service agreement. Policy domains have to be present and the tester (application) must be authorized to invoke methods related to them. Test Sequence: 1. Method call startTransaction() Param
23、eters: none Check: no exception is returned 2. Method call getDomain() Parameters: domainName Check: valid value of IpPolicyDomainRef is returned 3. Method call commitTransaction() Parameters: none Check: value TRUE is returned ETSI ETSI ES 202 388-13 V1.1.1 (2005-03) 9 : IpPolicyManager: (Logical V
24、iew:IpAppLogic)1. startTransaction( )2. getDomain(domainName)3. commitTransaction( )TRUEIpPolicyDomainRefTest PM_PM_03 Summary: remove domain. Reference: ES 202 915-13 1, clause 8.1. Precondition: removeDomain() implemented. Preamble: Registration of the IUT (Policy Management Control SCF) and the t
25、ester (application) to the framework. The tester must have obtained a reference to an instance of the IpPolicyManager interface through selecting that service and signing the required service agreement. Policy domains have to be present and the tester (application) must be authorized to invoke metho
26、ds related to them. Test Sequence: 1. Method call startTransaction() Parameters: none Check: no exception is returned 2. Method call removeDomain() Parameters: domainName Check: no exception is returned 3. Method call commitTransaction() Parameters: none Check: value TRUE is returned ETSI ETSI ES 20
27、2 388-13 V1.1.1 (2005-03) 10: IpPolicyManager: (Logical View:IpAppLogic)1. startTransaction( )2. removeDomain(domainName)3. commitTransaction( )TRUETest PM_PM_04 Summary: get number of policy domains. Reference: ES 202 915-13 1, clause 8.1. Precondition: getDomainCount() implemented. Preamble: Regis
28、tration of the IUT (Policy Management Control SCF) and the tester (application) to the framework. The tester must have obtained a reference to an instance of the IpPolicyManager interface through selecting that service and signing the required service agreement. Policy domains have to be present and
29、 the tester (application) must be authorized to invoke methods related to them. Test Sequence: 1. Method call startTransaction() Parameters: none Check: no exception is returned 2. Method call getDomainCount() Parameters: none Check: valid number of domains is returned 3. Method call commitTransacti
30、on() Parameters: none Check: value TRUE is returned ETSI ETSI ES 202 388-13 V1.1.1 (2005-03) 11: IpPolicyManager: (Logical View:IpAppLogic)1. startTransaction( )2. getDomainCount(domainName)3. commitTransaction( )TRUEnumber of domainsTest PM_PM_05 Summary: get reference to policy domain iterator. Re
31、ference: ES 202 915-13 1, clause 8.1. Precondition: getDomainIterator() implemented. Preamble: Registration of the IUT (Policy Management Control SCF) and the tester (application) to the framework. The tester must have obtained a reference to an instance of the IpPolicyManager interface through sele
32、cting that service and signing the required service agreement. Policy domains have to be present and the tester (application) must be authorized to invoke methods related to them. Test Sequence: 1. Method call startTransaction() Parameters: none Check: no exception is returned 2. Method call getDoma
33、inIterator() Parameters: none Check: valid value of IpPolicyIteratorRef is returned 3. Method call commitTransaction() Parameters: none Check: value TRUE is returned ETSI ETSI ES 202 388-13 V1.1.1 (2005-03) 12: IpPolicyManager: (Logical View:IpAppLogic)1. startTransaction( )2. getDomainIterator(doma
34、inName)3. commitTransaction( )TRUEIpPolicyIteratorRefTest PM_PM_06 Summary: find matching policy domains. Reference: ES 202 915-13 1, clause 8.1. Precondition: findMatchingDomain() implemented. Preamble: Registration of the IUT (Policy Management Control SCF) and the tester (application) to the fram
35、ework. The tester must have obtained a reference to an instance of the IpPolicyManager interface through selecting that service and signing the required service agreement. Policy domains have to be present and the tester (application) must be authorized to invoke methods related to them. Test Sequen
36、ce: 1. Method call startTransaction() Parameters: none Check: no exception is returned 2. Method call findMatchingDomain() Parameters: matchingAttributes Check: valid TpStringSet is returned 3. Method call commitTransaction() Parameters: none Check: value TRUE is returned ETSI ETSI ES 202 388-13 V1.
37、1.1 (2005-03) 13: IpPolicyManager: (Logical View:IpAppLogic)1. startTransaction( )2. findMatchingDomain(domainName)3. commitTransaction( )TRUETpStringSetTest PM_PM_07 Summary: create policy repository. Reference: ES 202 915-13 1, clause 8.1. Precondition: createRepository() implemented. Preamble: Re
38、gistration of the IUT (Policy Management Control SCF) and the tester (application) to the framework. The tester must have obtained a reference to an instance of the IpPolicyManager interface through selecting that service and signing the required service agreement. Test Sequence: 1. Method call star
39、tTransaction() Parameters: none Check: no exception is returned 2. Method call createRepository() Parameters: repositoryName Check: valid value of IpPolicyRepository is returned 3. Method call commitTransaction() Parameters: none Check: value TRUE is returned ETSI ETSI ES 202 388-13 V1.1.1 (2005-03)
40、 14: IpPolicyManager: (Logical View:IpAppLogic)1. startTransaction( )2. createRepository(repositoryName)3. commitTransaction( )TRUEIpPolicyRepositoryTest PM_PM_08 Summary: get policy repository. Reference: ES 202 915-13 1, clause 8.1. Precondition: getRepository() implemented. Preamble: Registration
41、 of the IUT (Policy Management Control SCF) and the tester (application) to the framework. The tester must have obtained a reference to an instance of the IpPolicyManager interface through selecting that service and signing the required service agreement. Policy repositories have to be present and t
42、he tester (application) must be authorized to invoke methods related to them. Test Sequence: 1. Method call startTransaction() Parameters: none Check: no exception is returned 2. Method call getRepository() Parameters: repositoryName Check: valid value of IpPolicyRepository is returned 3. Method cal
43、l commitTransaction() Parameters: none Check: value TRUE is returned ETSI ETSI ES 202 388-13 V1.1.1 (2005-03) 15: IpPolicyManagerApplication : IpAccountManager1. startTransaction( )2. getRepository(repositoryName)3. commitTransaction( )TRUEIpPolicyRepositoryTest PM_PM_09 Summary: remove policy repos
44、itory. Reference: ES 202 915-13 1, clause 8.1. Precondition: removeRepository() implemented. Preamble: Registration of the IUT (Policy Management Control SCF) and the tester (application) to the framework. The tester must have obtained a reference to an instance of the IpPolicyManager interface thro
45、ugh selecting that service and signing the required service agreement. Policy repositories have to be present and the tester (application) must be authorized to invoke methods related to them. Test Sequence: 1. Method call startTransaction() Parameters: none Check: no exception is returned 2. Method
46、 call removeRepository() Parameters: repositoryName Check: no exception is returned 3. Method call commitTransaction() Parameters: none Check: value TRUE is returned ETSI ETSI ES 202 388-13 V1.1.1 (2005-03) 16: IpPolicyManager: (Logical View:IpAppLogic)1. startTransaction( )2. removeRepository(repos
47、itoryName)3. commitTransaction( )TRUETest PM_PM_10 Summary: get number of policy repositories. Reference: ES 202 915-13 1, clause 8.1. Precondition: getRepositoryCount() implemented. Preamble: Registration of the IUT (Policy Management Control SCF) and the tester (application) to the framework. The
48、tester must have obtained a reference to an instance of the IpPolicyManager interface through selecting that service and signing the required service agreement. Policy repositories have to be present and the tester (application) must be authorized to invoke methods related to them. Test Sequence: 1.
49、 Method call startTransaction() Parameters: none Check: no exception is returned 2. Method call getRepositoryCount() Parameters: none Check: valid number of policy repositories is returned 3. Method call commitTransaction() Parameters: none Check: value TRUE is returned ETSI ETSI ES 202 388-13 V1.1.1 (2005-03) 17: IpPolicyManager: (Logical View:IpAppLogic)1. startTransaction( )2. getRepositoryCount(repositoryName)3. commitTransaction( )TRUEnumber of repositoriesTest PM_PM_11 Summary: get reference to policy reposi