SIST EN 300 182-4 V1.3.3:2003
(Main)Integrated Services Digital Network (ISDN); Advice of Charge (AOC) supplementary service; Digital Subscriber Signalling System No. one (DSS1) protocol; Part 4: Abstract Test Suite (ATS) and partial Protocol Implementation eXtra Information for Testing (PIXIT) proforma specification for the user
- Abstract
To handle comments and incorporate appropriate corrections into the ATS of DSS1 L2
- Status
- Published
- Publication Date
- 30-Nov-2003
- Current Stage
- 6060 - National Implementation/Publication (Adopted Project)
- Start Date
- 01-Dec-2003
- Due Date
- 01-Dec-2003
- Completion Date
- 01-Dec-2003
SIST EN 300 182-4 V1.3.3:2003 is the SIST adoption of the ETSI European Standard for the Integrated Services Digital Network (ISDN) Advice of Charge (AOC) supplementary service on the Digital Subscriber Signalling System No. one (DSS1) protocol. It specifies the Abstract Test Suite (ATS) and the partial Protocol Implementation eXtra Information for Testing (PIXIT) proforma for the user side at the T reference point, or the coincident S and T reference point, of implementations conforming to EN 300 182-1.
What does SIST EN 300 182-4 V1.3.3:2003 specify?
SIST EN 300 182-4 V1.3.3:2003 defines the testing artefacts for user-side conformance assessment of AOC over DSS1 on ISDN. In practice, this is the document a test lab or implementer uses when preparing and running conformance tests for the user side of the service.
The structure is simple: clauses 1 to 10 cover scope, references, definitions, the abstract test method, ATS conventions, the ATS-to-TP map, and conformance statements for PCTR, PIXIT and ATS. Annexes A and B are normative proformas, Annex C contains the ATS, Annex D gives the general ATS structure, and Annex E lists changes from the previous edition.
| Annex | What it covers |
|---|---|
| A | Protocol Conformance Test Report (PCTR) proforma |
| B | Partial PIXIT proforma |
| C | Abstract Test Suite (ATS) |
| D | General structure of ATS |
| E | Changes with respect to the previous ETS 300 182-4 |
What are the key requirements of SIST EN 300 182-4 V1.3.3:2003?
SIST EN 300 182-4 V1.3.3:2003 is built around a remote test method. Clause 4 places the Point of Control and Observation (PCO) at layer 2/layer 3, so the tests observe the implementation through the lower interface. That matters because verdicts are based on what the tester sees at that point.
Clause 5 states that there are no untestable test purposes. For users of the suite, that means every test purpose in the related TSS & TP is intended to be covered by the ATS.
Clause 6 lays down the ATS conventions. It distinguishes simple types, structured types, ASPs, PDUs, constraints, test cases, test steps and defaults, so the ATS can be realized consistently in TTCN-based tools.
A few technical points are especially important in practice:
- TTCN and ASN.1 use - Clause 6.1 combines Tree and Tabular Combined Notation (TTCN) with ASN.1 where needed. This supports ordered and unordered data, and it helps derive executable test systems.
- Encoding rules - Clause 6.2.2.1 says the default ASN.1 encoding in this ATS is ISDN-style encoding, while BER is only used where explicitly indicated. Test realizers must also send a variety of BER length forms during a test campaign.
- Constraint chaining - Clause 6.2.5 uses static and semi-dynamic chaining. In practice, this lets a test case carry parameter values through nested message structures.
- Test-case structure - Clause 6.3 says the dynamic part is organized into test cases, test steps and defaults, and many test steps are reused from the ISDN basic call ATS. That reduces repetition and keeps behaviour consistent.
- TP mapping - Clause 7 maps each test purpose identifier directly to a test case name. This makes traceability straightforward when reviewing coverage.
- Conformance - Clauses 8 to 10 link the ATS to PCTR, PIXIT and ATS conformance. A test laboratory or test realizer must follow the ISO/IEC 9646 series and provide the expected conformance statements.
What terms does SIST EN 300 182-4 V1.3.3:2003 define?
- ATS - The Abstract Test Suite is the formal set of abstract test cases used to assess protocol behaviour.
- IUT - The Implementation Under Test is the equipment or software being tested for conformance.
- PCO - The Point of Control and Observation is the interface where the tester controls and observes the IUT.
- PICS - The Protocol Implementation Conformance Statement identifies which protocol options an implementation supports.
- PIXIT - The Protocol Implementation eXtra Information for Testing supplies the extra implementation details needed to prepare and run tests.
- SUT - The System Under Test is the complete system being exercised in the test environment.
- LT - The Lower Tester is the part of the test system that interacts with the IUT at the lower interface.
- UT - The Upper Tester is used for control above the IUT when test coordination needs it.
Who uses SIST EN 300 182-4 V1.3.3:2003?
SIST EN 300 182-4 V1.3.3:2003 is used by test laboratories, test realizer developers, equipment manufacturers, and service providers validating AOC support on ISDN DSS1. It is also used by buyers and quality managers who need to check how conformance testing is structured and what evidence a lab should produce.
In practice, users rely on it to:
- prepare a partial or full PIXIT
- produce a PCTR after testing
- build an executable test suite from the ATS
- verify that the implementation behaves correctly on the user side of the T reference point
- document conformance against EN 300 182-1
What changed in SIST EN 300 182-4 V1.3.3:2003 from the previous edition?
Annex E states three changes: conversion to EN layout, replacement of references to ETS 300 102 with EN 300 403-1, and substitution of non-specific references to basic standards where the intention is to use the latest version. The foreword also says the version updates references to the basic call specifications.
Which standards are used with SIST EN 300 182-4 V1.3.3:2003?
Clause 2 names the standards and recommendations used with this ATS:
- EN 300 182-1 - the protocol specification for the AOC supplementary service
- EN 300 182-2 - the PICS proforma specification
- EN 300 182-3 - the TSS & TP specification for the user
- EN 300 196-1 - the generic functional protocol for supplementary services
- EN 300 403-1 - the DSS1 basic call control protocol specification
- ISO/IEC 9646-1 to 5 - the conformance testing framework used for ATS, test realization, PCTR and laboratory requirements
- ITU-T I.411 - the reference configurations used to identify the user-network reference points
- CCITT X.209 - the Basic Encoding Rules reference used for BER encoding
The foreword also identifies Part 5 and Part 6 of the EN as the network-side companion documents.
What does the SIST EN 300 182-4 V1.3.3:2003 document contain?
SIST EN 300 182-4 V1.3.3:2003 contains the TTCN-based ATS in both graphical and machine-processable forms, along with the normative PCTR and partial PIXIT proformas. Annex C points to the TTCN.GR and TTCN.MP representations, while Annex A and Annex B provide the report and questionnaire templates used in test campaigns.
Clause 6 also contains the detailed test-suite conventions: type definitions, ASP and PDU definitions, constraint declarations, encoding rules, parameterized constraints, test steps and defaults. Annex D gives a compact structural guide to the kinds of tables that appear in a supplementary-service ATS, which helps readers navigate the suite quickly.
Get Certified
Connect with accredited certification bodies for this standard

ANCE
Mexican certification and testing association.

Intertek Slovenia
Intertek testing, inspection, and certification services in Slovenia.
LNE (Laboratoire National de Métrologie et d'Essais)
French national laboratory for metrology and testing.
Sponsored listings
Frequently Asked Questions
SIST EN 300 182-4 V1.3.3:2003 is a standard published by the Slovenian Institute for Standardization (SIST). Its full title is "Integrated Services Digital Network (ISDN); Advice of Charge (AOC) supplementary service; Digital Subscriber Signalling System No. one (DSS1) protocol; Part 4: Abstract Test Suite (ATS) and partial Protocol Implementation eXtra Information for Testing (PIXIT) proforma specification for the user". This standard covers: To handle comments and incorporate appropriate corrections into the ATS of DSS1 L2
To handle comments and incorporate appropriate corrections into the ATS of DSS1 L2
SIST EN 300 182-4 V1.3.3:2003 is classified under the following ICS (International Classification for Standards) categories: 33.080 - Integrated Services Digital Network (ISDN). The ICS classification helps identify the subject area and facilitates finding related standards.
SIST EN 300 182-4 V1.3.3:2003 is available in PDF format for immediate download after purchase. The document can be added to your cart and obtained through the secure checkout process. Digital delivery ensures instant access to the complete standard document.
Standards Content (Sample)
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.SUHVNXãDQMHIntegrated Services Digital Network (ISDN); Advice of Charge (AOC) supplementary service; Digital Subscriber Signalling System No. one (DSS1) protocol; Part 4: Abstract Test Suite (ATS) and partial Protocol Implementation eXtra Information for Testing (PIXIT) proforma specification for the user33.080Digitalno omrežje z integriranimi storitvami (ISDN)Integrated Services Digital Network (ISDN)ICS:Ta slovenski standard je istoveten z:EN 300 182-4 Version 1.3.3SIST EN 300 182-4 V1.3.3:2003en01-december-2003SIST EN 300 182-4 V1.3.3:2003SLOVENSKI
STANDARD
ETSIEN300182-4V1.3.3(2000-05)EuropeanStandard(Telecommunicationsseries)IntegratedServicesDigitalNetwork(ISDN);AdviceofCharge(AOC)supplementaryservice;DigitalSubscriberSignallingSystemNo.one(DSS1)protocol;Part4:AbstractTestSuite(ATS)andpartialProtocolImplementationeXtraInformationforTesting(PIXIT)proformaspecificationfortheuserSIST EN 300 182-4 V1.3.3:2003
ETSIETSIEN300182-4V1.3.3(2000-05)2ReferenceREN/SPS-05165-4KeywordsAOC,ATS,DSS1,ISDN,PIXIT,supplementaryservice,userETSI650RoutedesLuciolesF-06921SophiaAntipolisCedex-FRANCETel.:+33492944200Fax:+33493654716SiretN°34862356200017-NAF742CAssociationàbutnonlucratifenregistréeàlaSous-PréfecturedeGrasse(06)N°7803/88ImportantnoticeIndividualcopiesofthepresentdocumentcanbedownloadedfrom:http://www.etsi.orgThepresentdocumentmaybemadeavailableinmorethanoneelectronicversionorinprint.Inanycaseofexistingorperceiveddifferenceincontentsbetweensuchversions,thereferenceversionisthePortableDocumentFormat(PDF).Incaseofdispute,thereferenceshallbetheprintingonETSIprintersofthePDFversionkeptonaspecificnetworkdrivewithinETSISecretariat.Usersofthepresentdocumentshouldbeawarethatthedocumentmaybesubjecttorevisionorchangeofstatus.InformationonthecurrentstatusofthisandotherETSIdocumentsisavailableathttp://www.etsi.org/tb/status/Ifyoufinderrorsinthepresentdocument,sendyourcommentto:editor@etsi.frCopyrightNotificationNopartmaybereproducedexceptasauthorizedbywrittenpermission.Thecopyrightandtheforegoingrestrictionextendtoreproductioninallmedia.©EuropeanTelecommunicationsStandardsInstitute2000.Allrightsreserved.SIST EN 300 182-4 V1.3.3:2003
ETSIETSIEN300182-4V1.3.3(2000-05)3ContentsIntellectualPropertyRights.5Foreword.51Scope.62References.63Definitionsandabbreviations.73.1Definitions.73.2Abbreviations.74AbstractTestMethod(ATM).85Untestabletestpurposes.86ATSconventions.86.1Declarationspart.86.1.1Typedefinitions.86.1.1.1Simpletypedefinitions.86.1.1.2Structuredtypedefinitions.96.1.1.2.1TTCNstructuredtypedefinitions.96.1.1.2.2ASN.1structuredtypedefinitions.96.1.1.3ASPtypedefinitions.106.1.1.3.1TTCNASPtypedefinitions.106.1.1.3.2ASN.1ASPtypedefinitions.106.1.1.4PDUtypedefinitions.106.1.1.4.1TTCNPDUtypedefinitions.106.1.1.4.2ASN.1PDUtypedefinitions.116.1.2Testsuiteconstants.116.1.3Testsuiteparameters.116.1.4Variables.116.1.4.1Testsuitevariables.116.1.4.2Testcasevariables.116.1.5Testsuiteoperationdefinitions.116.2Constraintspart.126.2.1Structuredtypeconstraintdeclaration.126.2.2ASN.1typeconstraintdeclaration.126.2.2.1Specificationofencodingrules.136.2.3ASPtypeconstraintdeclaration.146.2.3.1ASN.1ASPtypeconstraintdeclaration.146.2.3.2TTCNASPtypeconstraintdeclaration.146.2.4PDUtypeconstraintdeclaration.146.2.4.1ASN.1PDUtypeconstraintdeclaration.146.2.4.2TTCNPDUtypeconstraintdeclaration.146.2.5Chainingofconstraints.146.2.5.1Staticchaining.146.2.5.2Dynamicchaining.146.2.6Derivedconstraints.156.2.7Parameterizedconstraints.156.2.8Valueassignment.156.2.8.1Specificvalues.156.2.8.2Matchingvalues.156.3Dynamicpart.156.3.1Testcases.156.3.2Teststeps.156.3.3Defaults.15SIST EN 300 182-4 V1.3.3:2003
ETSIETSIEN300182-4V1.3.3(2000-05)47ATStoTPmap.158PCTRconformance.169PIXITconformance.1610ATSconformance.16AnnexA(normative):ProtocolConformanceTestReport(PCTR)proforma.17A.1Identificationsummary.17A.1.1Protocolconformancetestreport.17A.1.2IUTidentification.17A.1.3Testingenvironment.17A.1.4Limitsandreservations.18A.1.5Comments.18A.2IUTconformancestatus.18A.3Staticconformancesummary.18A.4Dynamicconformancesummary.18A.5Staticconformancereviewreport.19A.6Testcampaignreport.20A.7Observations.23AnnexB(normative):PartialPIXITproforma.24B.1Identificationsummary.24B.2Abstracttestsuitesummary.24B.3Testlaboratory.24B.4Client(ofthetestlaboratory).25B.5SystemUnderTest(SUT).25B.6Protocolinformation.26B.6.1Protocolidentification.26B.6.2Parametervalues.26B.6.3SendingofmessagesbyIUT.26B.6.4Timervalues.26AnnexC(normative):AbstractTestSuite(ATS).27C.1TheTTCNGraphicalform(TTCN.GR).27C.2TheTTCNMachineProcessableform(TTCN.MP).27AnnexD(informative):GeneralstructureofATS.28AnnexE(informative):ChangeswithrespecttothepreviousETS300182-4.29History.30SIST EN 300 182-4 V1.3.3:2003
ETSIETSIEN300182-4V1.3.3(2000-05)5IntellectualPropertyRightsIPRsessentialorpotentiallyessentialtothepresentdocumentmayhavebeendeclaredtoETSI.TheinformationpertainingtotheseessentialIPRs,ifany,ispubliclyavailableforETSImembersandnon-members,andcanbefoundinSR000314:"IntellectualPropertyRights(IPRs);Essential,orpotentiallyEssential,IPRsnotifiedtoETSIinrespectofETSIstandards",whichisavailablefromtheETSISecretariat.LatestupdatesareavailableontheETSIWebserver(http://www.etsi.org/ipr).PursuanttotheETSIIPRPolicy,noinvestigation,includingIPRsearches,hasbeencarriedoutbyETSI.NoguaranteecanbegivenastotheexistenceofotherIPRsnotreferencedinSR000314(ortheupdatesontheETSIWebserver)whichare,ormaybe,ormaybecome,essentialtothepresentdocument.ForewordThisEuropeanStandard(Telecommunicationsseries)hasbeenproducedbyETSITechnicalCommitteeServicesandProtocolsforAdvancedNetworks(SPAN).Thepresentdocumentispart4ofamulti-partENcoveringtheDigitalSubscriberSignallingSystemNo.one(DSS1)protocolspecificationfortheIntegratedServicesDigitalNetwork(ISDN)AdviceofCharge(AOC)supplementaryservice,asidentifiedbelow:Part1:"Protocolspecification";Part2:"ProtocolImplementationConformanceStatement(PICS)proformaspecification";Part3:"TestSuiteStructureandTestPurposes(TSS&TP)specificationfortheuser";Part4:"AbstractTestSuite(ATS)andpartialProtocolImplementationeXtraInformationforTesting(PIXIT)proformaspecificationfortheuser";Part5:"TestSuiteStructureandTestPurposes(TSS&TP)specificationforthenetwork";Part6:"AbstractTestSuite(ATS)andpartialProtocolImplementationeXtraInformationforTesting(PIXIT)proformaspecificationforthenetwork".Thepresentversionupdatesthereferencestothebasiccallspecifications.NationaltranspositiondatesDateofadoptionofthisEN:28April2000DateoflatestannouncementofthisEN(doa):31July2000DateoflatestpublicationofnewNationalStandardorendorsementofthisEN(dop/e):31January2001DateofwithdrawalofanyconflictingNationalStandard(dow):31January2001SIST EN 300 182-4 V1.3.3:2003
ETSIETSIEN300182-4V1.3.3(2000-05)61ScopeThepresentdocumentspecifiestheAbstractTestSuite(ATS)andpartialProtocolImplementationeXtraInformationforTesting(PIXIT)proformafortheUsersideoftheTreferencepointorcoincidentSandTreferencepoint(asdefinedinITU-TRecommendationI.411[11])ofimplementationsconformingtothestagethreestandardfortheAdviceofCharge(AOC)supplementaryserviceforthepan-EuropeanIntegratedServicesDigitalNetwork(ISDN)bymeansoftheDigitalSubscriberSignallingSystemNo.one(DSS1)protocol,EN300182-1[2].EN300182-3[4]specifiestheTestSuiteStructureandTestPurposes(TSS&TP)relatedtothisATSandpartialPIXITproformaspecification.OtherpartsspecifytheTSS&TPandtheATSandpartialPIXITproformafortheNetworksideoftheTreferencepointorcoincidentSandTreferencepointofimplementationsconformingtoEN300182-1[2].2ReferencesThefollowingdocumentscontainprovisionswhich,throughreferenceinthistext,constituteprovisionsofthepresentdocument.•ξReferencesareeitherspecific(identifiedbydateofpublication,editionnumber,versionnumber,etc.)ornon-specific.•ξForaspecificreference,subsequentrevisionsdonotapply.•ξForanon-specificreference,thelatestversionapplies.•ξAnon-specificreferencetoanETSshallalsobetakentorefertolaterversionspublishedasanENwiththesamenumber.[1]ETSIEN300403-1:"IntegratedServicesDigitalNetwork(ISDN);DigitalSubscriberSignallingSystemNo.one(DSS1)protocol;Signallingnetworklayerforcircuit-modebasiccallcontrol;Part1:Protocolspecification[ITU-TRecommendationQ.931(1993),modified]".[2]ETSIEN300182-1(V1.2):"IntegratedServicesDigitalNetwork(ISDN);AdviceofCharge(AOC)supplementaryservice;DigitalSubscriberSignallingSystemNo.one(DSS1)protocol;Part1:Protocolspecification".[3]ETSIEN300182-2(V1.2):"IntegratedServicesDigitalNetwork(ISDN);AdviceofCharge(AOC)supplementaryservice;DigitalSubscriberSignallingSystemNo.one(DSS1)protocol;Part2:ProtocolImplementationConformanceStatement(PICS)proformaspecification".[4]ETSIEN300182-3(V1.2):"IntegratedServicesDigitalNetwork(ISDN);AdviceofCharge(AOC)supplementaryservice;DigitalSubscriberSignallingSystemNo.one(DSS1)protocol;Part3:TestSuiteStructureandTestPurposes(TSS&TP)specificationfortheuser".[5]ETSIEN300196-1:"IntegratedServicesDigitalNetwork(ISDN);Genericfunctionalprotocolforthesupportofsupplementaryservices;DigitalSubscriberSignallingSystemNo.one(DSS1)protocol;Part1:Protocolspecification".[6]ISO/IEC9646-1(1994):"Informationtechnology;OpenSystemsInterconnection;Conformancetestingmethodologyandframework;Part1:Generalconcepts".[7]ISO/IEC9646-2(1994):"Informationtechnology;OpenSystemsInterconnection;Conformancetestingmethodologyandframework;Part2:AbstractTestSuitespecification".[8]ISO/IEC9646-3(1998):"Informationtechnology;OpenSystemsInterconnection;Conformancetestingmethodologyandframework;Part3:TheTreeandTabularCombinedNotation(TTCN)".[9]ISO/IEC9646-4(1994):"Informationtechnology;OpenSystemsInterconnection;Conformancetestingmethodologyandframework;Part4:Testrealization".SIST EN 300 182-4 V1.3.3:2003
ETSIETSIEN300182-4V1.3.3(2000-05)7[10]ISO/IEC9646-5(1994):"Informationtechnology;OpenSystemsInterconnection;Conformancetestingmethodologyandframework;Part5:Requirementsontestlaboratoriesandclientsfortheconformanceassessmentprocess".[11]ITU-TRecommendationI.411(1993):"ISDNuser-networkinterfaces-Referenceconfigurations".[12]CCITTRecommendationX.209(1988):"SpecificationofbasicencodingrulesforAbstractSyntaxNotationOne(ASN.1)".3Definitionsandabbreviations3.1DefinitionsForthepurposesofthepresentdocument,thefollowingtermsanddefinitionsapply:AbstractTestSuite(ATS):seeISO/IEC9646-1[6]ImplementationUnderTest(IUT):seeISO/IEC9646-1[6]LowerTester(LT):seeISO/IEC9646-1[6]PointofControlandObservation(PCO):seeISO/IEC9646-1[6]ProtocolImplementationConformanceStatement(PICS):seeISO/IEC9646-1[6]PICSproforma:seeISO/IEC9646-1[6]ProtocolImplementationeXtraInformationforTesting(PIXIT):seeISO/IEC9646-1[6]PIXITproforma:seeISO/IEC9646-1[6]SystemUnderTest(SUT):seeISO/IEC9646-1[6]UpperTester(UT):seeISO/IEC9646-1[6]3.2AbbreviationsForthepurposesofthepresentdocument,thefollowingabbreviationsapply:AOCAdviceofChargeASPAbstractServicePrimitiveATMAbstractTestMethodATSAbstractTestSuiteBERBasicEncodingRulesExTSExecutableTestSuiteFIEFacilityInformationElementIUTImplementationUnderTestLTLowerTesterMOTMeansOfTestingPCOPointofControlandObservationPDUProtocolDataUnitPICSProtocolImplementationConformanceStatementPIXITProtocolImplementationeXtraInformationforTestingSUTSystemUnderTestTCPTestCo-ordinationProceduresTPTestPurposeTTCNTreeandTabularCombinedNotationUTUpperTesterSIST EN 300 182-4 V1.3.3:2003
ETSIETSIEN300182-4V1.3.3(2000-05)84AbstractTestMethod(ATM)TheremotetestmethodisappliedfortheAOCuserATS.ThePointofControlandObservation(PCO)residesattheserviceaccesspointbetweenlayers2and3.ThisPCOisnamed"L"(forLower).TheLPCOisusedtocontrolandobservethebehaviouroftheImplementationUnderTest(IUT)andtestcaseverdictsareassigneddependingonthebehaviourobservedatthisPCO.TesterSUTLTIUTPCOLayer2Layer2Layer1Layer1ServiceproviderFigure1:RemotetestmethodISO/IEC9646-2[7]allowstheinformalexpressionofTestCo-ordinationProcedures(TCP)betweentheSystemUnderTest(SUT)upperlayer(s)andtheLowerTester(LT).IntheATScontainedinannexC,TCPisachievedbyuseofasecond"informal"PCO,called"O"(forOperator).ThisPCOisusedtospecifycontrolbutnotobservationabovetheIUTandconsequently,eventsatthisPCOareneverusedtogeneratetestcaseverdicts.TheuseofthisOPCOisregardedasapreferredalternativetotheuseoftheimplicitsendevent,inthatitallowstheATStospecifyinaclearandmeaningfulwaywhatactionsarerequiredtobeperformedontheIUT.5UntestabletestpurposesTherearenountestabletestpurposesassociatedwiththisATS.6ATSconventionsThisclauseisstructuredsimilarlytothestructureofaTTCNATS.However,thenamesofthesubclausesarearrangedinawaymoresuitabletothepresentdocument.6.1Declarationspart6.1.1Typedefinitions6.1.1.1SimpletypedefinitionsWhereappropriate,simpletypeshavealength,avaluelistorarangerestrictionattached.Simpletypesdefinedasbeingofsomestringtype(e.g.BITSTRING,OCTETSTRING),havealengthrestrictionoravaluelistattached.Simpletypes,definedasbeingofINTEGERtype,haveavaluelistorarangerestrictionattached.SIST EN 300 182-4 V1.3.3:2003
ETSIETSIEN300182-4V1.3.3(2000-05)96.1.1.2Structuredtypedefinitions6.1.1.2.1TTCNstructuredtypedefinitionsAllstructuredtypedefinitionsareprovidedwithafullname.Allelementsineverystructuredtypedefinition,definedasbeingofsomestringtype(e.g.BITSTRING,OCTETSTRING),havealengthrestrictionattached.Ifanelementinastructuredtypedefinitionisdefinedasbeingofareferencedtype,the(possible)restrictionisdefinedinthatreferencedtype.Forinformationelementstheidentifier,whichisuniqueforeachelement,hasitstypedefinedasasimpletypewherethevaluelistisrestrictedtothesinglevaluewhichistheidentifieritself.ThishastheadvantagethatitallowsatestsystemderivedfromthisATStoeasilyidentifyinformationelementsembeddedinmessages.AnATSwhereinformationelementidentifiersarerepresentedasunrestrictedtypescanpresentdifficultiesforaderivedtestsysteminthecasewhereitneedstofindoneinformationelementembeddedinanumberofothersandtheconstraintsfortheotherelementshavetheany-or-omitvalue.Insuchacasethetestsystemcannoteasilyfindthebeginningofeachinformationelement.6.1.1.2.2ASN.1structuredtypedefinitionsASN.1hasbeenusedforthreemajorreasons.First,typesdefinedinASN.1canmodelproblemsthat"pure"TTCNcannot.Forinstance,datastructuresmodellingorderedorunorderedsequencesofdataarepreferablydefinedinASN.1.Second,ASN.1providesabetterrestrictionmechanismfortypedefinitionsbyusingsub-typedefinitions.Third,itisnecessarytouseASN.1toreproducethetypedefinitionsforremoteoperationcomponentsasspecifiedinthebasestandards.ThefactthatASN.1providesabetterrestrictionmechanismfortypedefinitionsisusedforthepurposeofachievingtype-compatibility.Tables1and2showthetypicaluseofASN.1.TheFIEtypeintable1iswritteninASN.1topermittheuseoftheSETOFconstructioninthecomponentsfield.ConstraintsoftheFIEtypecanthereforebewrittenusingtheSUPERSETfunctionwhichallowstomatchasinglecomponentwhichmaybedeliveredtogetherwithasetofothercomponents.Table2showstherejectcomponenttypewhichisdefinedfollowingtheASN.1declarationinEN300196-1[5].Table1:ASN.1typedefinitionFIEASN.1TypeDefinitionTypeNameξΟξΦΙΕξCommentsξξΟξΦαχιλιτψξινφορµατιονξελεµεντξτακενξφροµξΕΝξΒΛΛξΤΠ(−Τξ[Γ]ξ}ξΤΤ,ξ,ξ,Τ,ξξξξξξξξξξξξξΣπεχιφιεδξηερεξφορξβοτηξσενδξ&ξρεχειϖεξεϖεντ,ξTypeDefinitionΣΕΘΥΕΝΧΕξ{ξξξινφορµατιονΕλεµεντΙδεντιφιερξΦΙΕ_Ι,ξξξλενγτηξξξξξξξξξξξξξξξξξξξξξξξΦΙΕ_ΛενγτηΤψπε,ξξξεξτΒιτξξξξξξξξξξξξξξξξξξξξξξξΒΙΤξΣΤΡΙΝΓξ(ΣΙΖΕξ(Τ)),ξξξσπαρεΒιτσξξξξξξξξξξξξξξξξξξξξΒΙΤξΣΤΡΙΝΓξ(ΣΙΖΕξ(ξ)),ξξξπροτοχολΠροφιλεξξξξξξξξξξξξξξΒΙΤξΣΤΡΙΝΓξ(ΣΙΖΕξ(Γ)),ξξξχοµπονεντσξξξξξξξξξξξξξξξξξξξΣΕΤξΟΦξΧοµπονεντξ}ξTable2:ASN.1typedefinitionRejectComponentASN.1TypeDefinitionTypeNameξΟξΡεϕεχτΧοµπονεντξCommentsξξΟξΡεϕεχτξΧοµπονεντξισξνοτξσπεχιφιχξτοξανψξπαρτιχυλαρξοπερατιον,ξΤηεξινϖοκεΙ∆ξµαψξβεξξξξξξξξξξξξξξυσεδξτοξιδεντιφψξαξσπεχιφιχξοπερατιον,ξTypeDefinitionΣΕΘΥΕΝΧΕξ{ξξξινϖοκεδΙ∆ξΧΗΟΙΧΕξ{ξξξξξξξξξξξξξξξξξξξξξξξινϖοκεΙ∆ξΙνϖοκεΙ∆Τψπε,ξξξξξξξξξξξξξξξξξξξξξξξνυλλξξξξξξΝΥΛΛξ},ξξξπροβλεµξξξΧΗΟΙΧΕξ{ξξξξξξξξξξξξξξξξξξξξγενεραλΠροβλεµξξξξξξ[Λ]ξΙΜΠΛΙΧΙΤξΓενεραλΠροβλεµ,ξξξξξξξξξξξξξξξξξξξξινϖοκεΠροβλεµξξξξξξξ[Τ]ξΙΜΠΛΙΧΙΤξΙνϖοκεΠροβλεµ,ξξξξξξξξξξξξξξξξξξξξρετυρνΡεσυλτΠροβλεµξ[ξ]ξΙΜΠΛΙΧΙΤξΡετυρνΡεσυλτΠροβλεµ,ξξξξξξξξξξξξξξξξξξξξρετυρνΕρρορΠροβλεµξξ[Β]ξΙΜΠΛΙΧΙΤξΡετυρνΕρρορΠροβλεµξ}ξ}ξSIST EN 300 182-4 V1.3.3:2003
ETSIETSIEN300182-4V1.3.3(2000-05)10Table3showsanexampleofhowASN.1canbeusedtomodelunorderedsequences.Table3:ASN.1typedefinitionFIESASN.1TypeDefinitionTypeNameξΟξΦΙΕΣξCommentsξξΟξTypeDefinitionΣΕΤξΟΦξΦΙΕξThepossibilitytouseTTCNandASN.1incombinationisused,i.e.referringtoanASN.1typefromaTTCNtype.6.1.1.3ASPtypedefinitions6.1.1.3.1TTCNASPtypedefinitionsTTCNASPtypedefinitionsonlycontainonePDUornoPDUatall.TherelationshipbetweenanASPtypeandaPDUtypeisone-to-one.Thatis,thereexistsoneASPtypedefinitionforeachPDUtypedefinition(ifthatASPtypecontainsaPDU).AllTTCNASPtypedefinitionsareprovidedwithafullidentifier.SomeASPsarenotparameterizedasshownintheexampleintable4.SuchASPsareonlyusedforrequestingorreceivingservicefromthelowerlayer.Table4:TTCNASPtypedefinitionDL_REL_INTTCNASPTypeDefinitionASPNAMEξΟξ∆Λ_ΡΕΛ_ΙΝξξξξξξξξξξξ(∆Λ_ΡΕΛΕΑΣΕ_ΙΝ∆ΙΧΑΤΙΟΝ)ξPCOTypeξΟξΣΑΠξCommentsξΟξParameterNameξξξξξξξξξξξξξξξξξξξξ|ξξξξξParameterTypeξξξξξξξ|ξξξξξξξξCommentsξDetailedCommentsξΟξTable5showsanexampleofaparameterizedASP.AllASPscontainingPDUscontainonlythatPDUandnootherparameters.Table5:TTCNASPtypedefinitionDL_DATA_RQ_ALERTTTCNASPTypeDefinitionASPNAMEξΟξ∆Λ_∆ΑΤΑ_ΡΘ_ΑΛΕΡΤξξξξξξξξξξξ(∆Λ_∆ΑΤΑ_ΡΕΘΥΕΣΤ)ξPCOTypeξΟξΣΑΠξCommentsξΟξParameterNameξξξξξξξξξξξξξξξξξξξξ|ξξξξξParameterTypeξξξξξξξ|ξξξξξξξξCommentsξµυνξ(ΜεσσαγεΥνιτ)ξξξξξξξξξξξξξξξξξξ|ΑΛΕΡΤ_Π∆Υξξξξξξξξξξξξξξξξξ|ξDetailedCommentsξΟξ6.1.1.3.2ASN.1ASPtypedefinitionsTherearenoASN.1ASPtypedefinitionsintheATS.6.1.1.4PDUtypedefinitions6.1.1.4.1TTCNPDUtypedefinitionsTheTTCNPDUtypereflectstheactualdatabeingtransferredorreceived.AllPDUsareembeddedinASPs.IfaspecificPDUtypedefinitioncontainselementsdefinedintermsofapre-definedtype,thatelementhasarestrictionattachedtoit.SIST EN 300 182-4 V1.3.3:2003
ETSIETSIEN300182-4V1.3.3(2000-05)116.1.1.4.2ASN.1PDUtypedefinitionsTherearenoASN.1PDUtypedefinitionsintheATS.6.1.2TestsuiteconstantsNotestsuiteconstantsareusedordefinedinthisATS.6.1.3TestsuiteparametersEachtestsuiteparameterisdefinedintermsofapredefinedtypeorareferencedtype.Areferencedtypeisusedwhenitisnecessarytoattachrestrictionstothesetypedefinitions(itisnotallowedtoincluderestrictionsdirectlyinthetestsuiteparametertable).Thereferencedtypecanhavealengthorvaluerestrictionattachedtoitinitsdeclarationtable.6.1.4Variables6.1.4.1TestsuitevariablesNotestsuitevariablesareusedordefinedinthisATS.6.1.4.2TestcasevariablesEachtestcasevariableisdefinedintermsofapredefinedtypeorareferencedtype.Areferencedtypeisusedwhenitisnecessarytoattachrestrictionstothesetypedefinitions(itisnotallowedtoincluderestrictionsdirectlyinthetestcasevariabletable).Thereferencedtypecanhavealengthorvaluerestrictionattachedtoitinitsdeclarationtable.Wheretestcasevariablesareusedinconstraints,theyarepassedasformalparameters.6.1.5TestsuiteoperationdefinitionsThedescriptionpartofatestsuiteoperationdefinitionuseseithernaturallanguageormetaC.Table6:TestsuiteoperationdefinitionASSIGN_CHITestSuiteOperationDefinitionOperationNameξΟξΑΣΣΙΓΝ_ΧΗΙ(βασιχ,ξπριµαρψξΟξΧΗΙ}ξβασιχ_φλαγξΟξΒΟΟΛΕΑΝ)ξResultTypeξξξξΟξΧΗΙξCommentsξξξξξξξΟξΤηισξοπερατιονξισξυσεδξτοξασσιγνξαξχορρεχτξΧηαννελξιδεντιφιχατιονξινφορµατιονξξξξξξξξξξξξξξξξξξελεµεντξτοξΠ∆Υσξδεπενδεντξονξτηεξτψπεξοφξαχχεσσξτηατξισξτεστεδ,ξDescriptionξ{ξιφ(βασιχ_φλαγ)ξξξρετυρνξβασιχ}ξελσεξξξρετυρνξπριµαρψξ}ξDetailedcommentsξΟξThetestsuiteoperationdefinitionshownintable6isusedintheconstraintspartwhenassigninganelementoftypeCHIavalue.Aspreviouslydescribed,theCHItypecanbedefinedintwowaysdependingonwhethertheATSistestingbasicorprimaryrateaccess.ThisoperationisusedtoassignavaluetoanelementofCHItype.Ittakesthreeparameters:primary:aconstraintoftypeCHIvalidforprimaryrateaccess;basic:aconstraintoftypeCHIvalidforbasicaccess;basic_flag:aBooleanvalue:TRUEifbasicaccessisapplicable,FALSEotherwiseThisoperationreturnsthecorrectconstraintaccordingtotheBooleanflagbasic_flag.ThatconstraintwillthenbeassignedtothespecificelementoftypeCHI.SIST EN 300 182-4 V1.3.3:2003
ETSIETSIEN300182-4V1.3.3(2000-05)126.2Constraintspart6.2.1StructuredtypeconstraintdeclarationForeverystructuredtypedefinitionthereexistsoneormorestructuredtypeconstraint.6.2.2ASN.1typeconstraintdeclarationConstraintsofthistypeareusedtoassignthecorrespondingtypeaspecificvalue.TheseconstraintsareusedforthepurposeofmodellingunordereddataorspecifictypesthatcannotbeexpressedinTTCN.AvalueassignedtoanelementoftypeSETOFdiffersdependingonwhetheritisasendorreceiveconstraint.Table7:ASN.1typeconstraintdeclarationfIEs(sendconstraint)ASN.1TypeConstraintDeclarationConstraintNameξΟξφΙΕσ(χοµπξΟξΧοµπονεντ)ξASN.1TypeξξξξξξΟξΦΙΕξDerivationPathξΟξCommentsξξξξξξξξΟξΣενδξΦΙΕξωηιχηξωιλλξχονταινξονεξχοµπονεντξ∀χοµπ∀,ξDescriptionξ{ξξξινφορµατιονΕλεµεντΙδεντιφιερξξξ∋ΛΛΛΤΤΤΛΛ∋Β,ξξξλενγτηξξξξξξξξξξξξξξξξξξξξξξξξξΧΑΛΧ_ΦΙΕ_ΛΕΝΓΤΗ(χοµπ),ξξξεξτΒιτξξξξξξξξξξξξξξξξξξξξξξξξξ∋Τ∋Β,ξξξσπαρεΒιτσξξξξξξξξξξξξξξξξξξξξξξ∋ΛΛ∋Β,ξξξπροτοχολΠροφιλεξξξξξξξξξξξξξξξξ∋ΤΛΛΛΤ∋Β,ξξξχοµπονεντσξξξξξξξξξξξξξξξξξξξξξ{χοµπ}ξ}ξDetailedcommentsξΟξNOTE1:Thelastelementintheconstraint,components,isoftypeSETOFComponentwhereComponentisstructureddataofsometype.Iftheconstraintisasendconstraint(asintable7)thevalueforthecomponentelementisstatedas"{comp}"wherecompisanargumentreceivedasaparameter.The"{"and"}"turnsthevalueintoaSETOFvaluewhichiscorrectaccordingtothatelement'stypedefinition.Table8:ASN.1typeconstraintdeclarationfIEr(receiveconstraint)ASN.1TypeConstraintDeclarationConstraintNameξΟξφΙΕρ(χοµπξΟξΧοµπονεντ)ξASN.1TypeξξξξξξΟξΦΙΕξDerivationPathξΟξCommentsξξξξξξξξΟξΑξρεχειϖεδξΦΙΕξωηιχηξχανξχονταινξσεϖεραλξχοµπονεντσ,ξβυτξωηιχηξχονταινσξατξξξξξξξξξξξξξξξξξξξλεαστξ∀χοµπ∀,ξDescriptionξ{ξξξινφορµατιονΕλεµεντΙδεντιφιερξξξ∋ΛΛΛΤΤΤΛΛ∋Β,ξξξλενγτηξξξξξξξξξξξξξξξξξξξξξξξξξ∋????????∋Β,ξξξεξτΒιτξξξξξξξξξξξξξξξξξξξξξξξξξ∋Τ∋Β,ξξξσπαρεΒιτσξξξξξξξξξξξξξξ
...



