ETSI ES 201 873-6-2016 Methods for Testing and Specification (MTS) The Testing and Test Control Notation version 3 Part 6 TTCN-3 Control Interface (TCI) (V4 8 1)《测试方法和规范(MTS) 第3版测试.pdf

上传人:花仙子 文档编号:730786 上传时间:2019-01-08 格式:PDF 页数:372 大小:1.42MB
下载 相关 举报
ETSI ES 201 873-6-2016 Methods for Testing and Specification (MTS) The Testing and Test Control Notation version 3 Part 6 TTCN-3 Control Interface (TCI) (V4 8 1)《测试方法和规范(MTS) 第3版测试.pdf_第1页
第1页 / 共372页
ETSI ES 201 873-6-2016 Methods for Testing and Specification (MTS) The Testing and Test Control Notation version 3 Part 6 TTCN-3 Control Interface (TCI) (V4 8 1)《测试方法和规范(MTS) 第3版测试.pdf_第2页
第2页 / 共372页
ETSI ES 201 873-6-2016 Methods for Testing and Specification (MTS) The Testing and Test Control Notation version 3 Part 6 TTCN-3 Control Interface (TCI) (V4 8 1)《测试方法和规范(MTS) 第3版测试.pdf_第3页
第3页 / 共372页
ETSI ES 201 873-6-2016 Methods for Testing and Specification (MTS) The Testing and Test Control Notation version 3 Part 6 TTCN-3 Control Interface (TCI) (V4 8 1)《测试方法和规范(MTS) 第3版测试.pdf_第4页
第4页 / 共372页
ETSI ES 201 873-6-2016 Methods for Testing and Specification (MTS) The Testing and Test Control Notation version 3 Part 6 TTCN-3 Control Interface (TCI) (V4 8 1)《测试方法和规范(MTS) 第3版测试.pdf_第5页
第5页 / 共372页
点击查看更多>>
资源描述

1、 ETSI ES 201 873-6 V4.8.1 (2016-07) Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; Part 6: TTCN-3 Control Interface (TCI) ETSI STANDARD ETSI ETSI ES 201 873-6 V4.8.1 (2016-07)2 Reference RES/MTS-201873-6 T3ed481TCI Keywords control, interface, methodolo

2、gy, TCI, testing, TTCN-3 ETSI 650 Route des Lucioles F-06921 Sophia Antipolis Cedex - FRANCE Tel.: +33 4 92 94 42 00 Fax: +33 4 93 65 47 16 Siret N 348 623 562 00017 - NAF 742 C Association but non lucratif enregistre la Sous-Prfecture de Grasse (06) N 7803/88 Important notice The present document c

3、an be downloaded from: http:/www.etsi.org/standards-search The present document may be made available in electronic versions and/or in print. The content of any electronic and/or print versions of the present document shall not be modified without the prior written authorization of ETSI. In case of

4、any existing or perceived difference in contents between such versions and/or in print, the only prevailing document is the print of the Portable Document Format (PDF) version kept on a specific network drive within ETSI Secretariat. Users of the present document should be aware that the document ma

5、y be subject to revision or change of status. Information on the current status of this and other ETSI documents is available at https:/portal.etsi.org/TB/ETSIDeliverableStatus.aspx If you find errors in the present document, please send your comment to one of the following services: https:/portal.e

6、tsi.org/People/CommiteeSupportStaff.aspx Copyright Notification No part may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm except as authorized by written permission of ETSI. The content of the PDF version shall not be modified w

7、ithout the written authorization of ETSI. The copyright and the foregoing restriction extend to reproduction in all media. European Telecommunications Standards Institute 2016. All rights reserved. DECTTM, PLUGTESTSTM, UMTSTMand the ETSI logo are Trade Marks of ETSI registered for the benefit of its

8、 Members. 3GPPTM and LTE are Trade Marks of ETSI registered for the benefit of its Members and of the 3GPP Organizational Partners. GSM and the GSM logo are Trade Marks registered and owned by the GSM Association. ETSI ETSI ES 201 873-6 V4.8.1 (2016-07)3 Contents Intellectual Property Rights 16g3For

9、eword . 16g3Modal verbs terminology 16g31 Scope 17g32 References 17g32.1 Normative references . 17g32.2 Informative references 18g33 Definitions and abbreviations . 18g33.1 Definitions 18g33.2 Abbreviations . 19g34 Introduction 20g35 Compliance . 20g36 General structure of a TTCN-3 test system 20g36

10、.1 Entities in a TTCN-3 test system 20g36.1.0 Types of entities 20g36.1.1 Test Management and Control (TMC) 22g36.1.1.0 Test Management and Control Entities . 22g36.1.1.1 Test Management (TM) 22g36.1.1.2 Coding and Decoding (CD) 22g36.1.1.3 Component Handling (CH) . 22g36.1.1.4 Test Logging (TL) . 2

11、4g36.1.2 TTCN-3 Executable (TE) . 24g36.1.3 SUT Adaptor (SA) 24g36.1.4 Platform Adaptor (PA) 24g36.2 Execution requirements for a TTCN-3 test system 24g37 TTCN-3 control interface and operations . 24g37.1 Overview of the TCI. 24g37.1.0 TCI role in a TTCN-3 test system . 24g37.1.1 Correlation between

12、 TTCN-3 and TCI operation invocations 25g37.1.1.0 Mapping of TTCN-3 operations to TCI operations . 25g37.1.1.1 TTCN-3 operations with TCI operation equivalent 25g37.1.1.2 TTCN-3 operations with TCI operation pair equivalent . 26g37.1.1.3 TTCN-3 operations without direct TCI operation equivalent . 27

13、g37.1.1.3.0 Mapping of TTCN-3 operations to series of TCI operations . 27g37.1.1.3.1 Test case stop operation . 27g37.2 TCI data 27g37.2.0 Abstract data types 27g37.2.1 General abstract data types . 27g37.2.1.0 Use of general abstract data types . 27g37.2.1.1 Management 27g37.2.1.2 Communication . 2

14、8g37.2.2 Abstract TTCN-3 data types and values . 29g37.2.2.0 Definition and scope of use . 29g37.2.2.1 Abstract TTCN-3 data types . 29g37.2.2.2 Abstract TTCN-3 values . 30g37.2.2.2.0 Basic rules . 30g37.2.2.2.1 The abstract data type Value . 31g37.2.2.2.2 The abstract data type IntegerValue 33g37.2.

15、2.2.3 The abstract data type FloatValue . 33g37.2.2.2.4 The abstract data type BooleanValue 33g37.2.2.2.5 The abstract data type CharstringValue . 34g37.2.2.2.6 The abstract data type UniversalCharstringValue 34g3ETSI ETSI ES 201 873-6 V4.8.1 (2016-07)4 7.2.2.2.7 The abstract data type BitstringValu

16、e 35g37.2.2.2.8 The abstract data type OctetstringValue . 35g37.2.2.2.9 The abstract data type HexstringValue 36g37.2.2.2.10 The abstract data type RecordValue . 37g37.2.2.2.11 The abstract data type RecordOfValue 38g37.2.2.2.12 The abstract data type UnionValue . 39g37.2.2.2.13 The abstract data ty

17、pe EnumeratedValue . 40g37.2.2.2.14 The abstract data type VerdictValue 40g37.2.2.2.15 The abstract data type AddressValue 40g37.2.2.3 Abstract TTCN-3 matching mechanisms 41g37.2.2.3.1 The abstract data type MatchingMechanism 41g37.2.2.3.2 The abstract data type MatchingList 41g37.2.2.3.3 The abstra

18、ct data type ValueRange . 42g37.2.2.3.4 The abstract data type CharacterPattern . 42g37.2.2.3.5 The abstract data type MatchDecodedContent 42g37.2.2.4 Data types for complex TTCN-3 properties 43g37.2.2.4.0 Scope of use of TTCN-3 properties . 43g37.2.2.4.1 The abstract data type LengthRestriction 43g

19、37.2.2.4.2 The abstract data type Permutation . 43g37.2.2.4.3 The abstract data type RangeBoundary 43g37.2.3 Abstract logging types 44g37.2.3.1 The abstract data type TciValueTemplate . 44g37.2.3.2 The abstract data type TciNonValueTemplate 44g37.2.3.3 The Value List and Mismatch Types 44g37.2.3.4 T

20、he Status Types . 45g37.3 TCI operations 45g37.3.0 The TCI interfaces 45g37.3.1 The TCI-TM interface 46g37.3.1.0 Scope of use 46g37.3.1.1 TCI-TM required . 47g37.3.1.1.0 Scope of use . 47g37.3.1.1.1 tciRootModule. 47g37.3.1.1.2 tciGetImportedModules . 47g37.3.1.1.3 tciGetModuleParameters . 47g37.3.1

21、.1.4 tciGetTestCases . 47g37.3.1.1.5 tciGetTestCaseParameters . 48g37.3.1.1.6 tciGetTestCaseTSI . 48g37.3.1.1.7 tciStartTestCase . 48g37.3.1.1.8 tciStopTestCase . 48g37.3.1.1.9 tciStartControl . 49g37.3.1.1.10 tciStopControl . 49g37.3.1.2 TCI-TM provided 49g37.3.1.2.0 Scope of use . 49g37.3.1.2.1 tc

22、iTestCaseStarted . 49g37.3.1.2.2 tciTestCaseTerminated 49g37.3.1.2.3 tciControlTerminated 50g37.3.1.2.4 tciGetModulePar 50g37.3.1.2.5 tciLog 50g37.3.1.2.6 tciError. 50g37.3.2 The TCI-CD interface . 50g37.3.2.0 Scope of use 50g37.3.2.1 TCI-CD required . 51g37.3.2.1.0 Scope of use . 51g37.3.2.1.1 getT

23、ypeForName . 51g37.3.2.1.2 getInteger . 52g37.3.2.1.3 getFloat 52g37.3.2.1.4 getBoolean . 52g37.3.2.1.5 Void . 52g37.3.2.1.6 getCharstring . 52g37.3.2.1.7 getUniversalCharstring 52g3ETSI ETSI ES 201 873-6 V4.8.1 (2016-07)5 7.3.2.1.8 getHexstring 52g37.3.2.1.9 getBitstring 52g37.3.2.1.10 getOctetstri

24、ng 53g37.3.2.1.11 getVerdict 53g37.3.2.1.12 tciErrorReq 53g37.3.2.2 TCI-CD provided 53g37.3.2.2.0 Scope of use . 53g37.3.2.2.1 decode 53g37.3.2.2.2 encode 53g37.3.2.2.3 decodeValue 54g37.3.2.2.4 encodeValue 54g37.3.3 The TCI-CH interface. 54g37.3.3.0 Scope of use 54g37.3.3.1 TCI-CH required . 55g37.

25、3.3.1.0 Scope of use . 55g37.3.3.1.1 tciEnqueueMsgConnected . 56g37.3.3.1.2 tciEnqueueCallConnected . 56g37.3.3.1.3 tciEnqueueReplyConnected . 56g37.3.3.1.4 tciEnqueueRaiseConnected . 57g37.3.3.1.5 tciCreateTestComponent . 57g37.3.3.1.6 tciStartTestComponent 57g37.3.3.1.7 tciStopTestComponent 58g37.

26、3.3.1.8 tciConnect 58g37.3.3.1.9 tciDisconnect . 58g37.3.3.1.10 tciMap 58g37.3.3.1.11 tciMapParam . 58g37.3.3.1.12 tciUnmap . 59g37.3.3.1.13 tciUnmapParam . 59g37.3.3.1.14 tciTestComponentTerminated . 59g37.3.3.1.15 tciTestComponentRunning 59g37.3.3.1.16 tciTestComponentDone . 59g37.3.3.1.17 tciGetM

27、TC . 60g37.3.3.1.18 tciExecuteTestCase 60g37.3.3.1.19 tciReset 60g37.3.3.1.20 tciKillTestComponent . 60g37.3.3.1.21 tciTestComponentAlive. 61g37.3.3.1.22 tciTestComponentKilled 61g37.3.3.2 TCI-CH provided 61g37.3.3.2.0 Scope of use . 61g37.3.3.2.1 tciSendConnected 61g37.3.3.2.2 tciSendConnectedBC .

28、61g37.3.3.2.3 tciSendConnectedMC 62g37.3.3.2.4 tciCallConnected . 62g37.3.3.2.5 tciCallConnectedBC 62g37.3.3.2.6 tciCallConnectedMC . 63g37.3.3.2.7 tciReplyConnected 63g37.3.3.2.8 tciReplyConnectedBC . 64g37.3.3.2.9 tciReplyConnectedMC 64g37.3.3.2.10 tciRaiseConnected . 65g37.3.3.2.11 tciRaiseConnec

29、tedBC 65g37.3.3.2.12 tciRaiseConnectedMC . 65g37.3.3.2.13 tciCreateTestComponentReq . 66g37.3.3.2.14 tciStartTestComponentReq 66g37.3.3.2.15 tciStopTestComponentReq 66g37.3.3.2.16 tciConnectReq . 66g37.3.3.2.17 tciDisconnectReq . 67g37.3.3.2.18 tciMapReq . 67g37.3.3.2.19 tciMapParamReq . 67g37.3.3.2

30、.20 tciUnmapReq . 67g37.3.3.2.21 tciUnmapParamReq . 68g37.3.3.2.22 tciTestComponentTerminatedReq . 68g37.3.3.2.23 tciTestComponentRunningReq . 68g3ETSI ETSI ES 201 873-6 V4.8.1 (2016-07)6 7.3.3.2.24 tciTestComponentDoneReq . 68g37.3.3.2.25 tciGetMTCReq 68g37.3.3.2.26 tciExecuteTestCaseReq . 69g37.3.

31、3.2.27 tciResetReq 69g37.3.3.2.28 tciKillTestComponentReq . 69g37.3.3.2.29 tciTestComponentAliveReq 69g37.3.3.2.30 tciTestComponentKilledReq . 69g37.3.4 The TCI-TL interface 70g37.3.4.0 Scope of use 70g37.3.4.1 TCI-TL provided . 70g37.3.4.1.0 Scope of use . 70g37.3.4.1.1 tliTcExecute. 70g37.3.4.1.2

32、tliTcStart 71g37.3.4.1.3 tliTcStop 71g37.3.4.1.4 tliTcStarted 71g37.3.4.1.5 tliTcTerminated . 72g37.3.4.1.6 tliCtrlStart 72g37.3.4.1.7 tliCtrlStop 72g37.3.4.1.8 tliCtrlTerminated . 73g37.3.4.1.9 tliMSend_m . 73g37.3.4.1.10 tliMSend_m_BC 74g37.3.4.1.11 tliMSend_m_MC. 74g37.3.4.1.12 tliMSend_c 75g37.3

33、.4.1.13 tliMSend_c_BC . 75g37.3.4.1.14 tliMSend_c_MC 75g37.3.4.1.15 tliMDetected_m . 76g37.3.4.1.16 tliMDetected_c 76g37.3.4.1.17 tliMMismatch_m . 76g37.3.4.1.18 tliMMismatch_c 77g37.3.4.1.19 tliMReceive_m 77g37.3.4.1.20 tliMReceive_c . 78g37.3.4.1.21 tliPrCall_m 78g37.3.4.1.22 tliPrCall_m_BC . 79g3

34、7.3.4.1.23 tliPrCall_m_MC 79g37.3.4.1.24 tliPrCall_c 80g37.3.4.1.25 tliPrCall_c_BC 80g37.3.4.1.26 tliPrCall_c_MC 80g37.3.4.1.27 tliPrGetCallDetected_m. 81g37.3.4.1.28 tliPrGetCallDetected_c 81g37.3.4.1.29 tliPrGetCallMismatch_m . 82g37.3.4.1.30 tliPrGetCallMismatch_c 82g37.3.4.1.31 tliPrGetCall_m .

35、83g37.3.4.1.32 tliPrGetCall_c 83g37.3.4.1.33 tliPrReply_m . 84g37.3.4.1.34 tliPrReply_m_BC 84g37.3.4.1.35 tliPrReply_m_MC . 85g37.3.4.1.36 tliPrReply_c . 85g37.3.4.1.37 tliPrReply_c_BC 86g37.3.4.1.38 tliPrReply_c_MC . 86g37.3.4.1.39 tliPrGetReplyDetected_m 87g37.3.4.1.40 tliPrGetReplyDetected_c. 87g

36、37.3.4.1.41 tliPrGetReplyMismatch_m 88g37.3.4.1.42 tliPrGetReplyMismatch_c . 88g37.3.4.1.43 tliPrGetReply_m 89g37.3.4.1.44 tliPrGetReply_c . 89g37.3.4.1.45 tliPrRaise_m 90g37.3.4.1.46 tliPrRaise_m_BC . 90g37.3.4.1.47 tliPrRaise_m_MC 91g37.3.4.1.48 tliPrRaise_c . 91g37.3.4.1.49 tliPrRaise_c_BC 92g37.

37、3.4.1.50 tliPrRaise_c_MC . 92g37.3.4.1.51 tliPrCatchDetected_m 93g3ETSI ETSI ES 201 873-6 V4.8.1 (2016-07)7 7.3.4.1.52 tliPrCatchDetected_c . 93g37.3.4.1.53 tliPrCatchMismatch_m 94g37.3.4.1.54 tliPrCatchMismatch_c . 94g37.3.4.1.55 tliPrCatch_m 95g37.3.4.1.56 tliPrCatch_c . 95g37.3.4.1.57 tliPrCatchT

38、imeoutDetected . 96g37.3.4.1.58 tliPrCatchTimeout . 96g37.3.4.1.59 tliCCreate. 96g37.3.4.1.60 tliCStart . 97g37.3.4.1.61 tliCRunning . 97g37.3.4.1.62 tliCAlive 97g37.3.4.1.63 tliCStop 98g37.3.4.1.64 tliCKill . 98g37.3.4.1.65 tliCDoneMismatch 98g37.3.4.1.66 tliCDone 99g37.3.4.1.67 tliCKilledMismatch

39、. 99g37.3.4.1.68 tliCKilled . 99g37.3.4.1.69 tliCTerminated . 100g37.3.4.1.70 tliPConnect 100g37.3.4.1.71 tliPDisconnect . 100g37.3.4.1.72 tliPMap 101g37.3.4.1.73 tliPMapParam 101g37.3.4.1.74 tliPUnmap 101g37.3.4.1.75 tliPUnmapParam 102g37.3.4.1.76 tliPClear . 102g37.3.4.1.77 tliPStart 102g37.3.4.1.

40、78 tliPStop 103g37.3.4.1.79 tliPHalt. 103g37.3.4.1.80 tliEncode 103g37.3.4.1.81 tliDecode . 104g37.3.4.1.82 tliTTimeoutDetected 104g37.3.4.1.83 tliTTimeoutMismatch 104g37.3.4.1.84 tliTTimeout 105g37.3.4.1.85 tliTStart 105g37.3.4.1.86 tliTStop 105g37.3.4.1.87 tliTRead . 106g37.3.4.1.88 tliTRunning .

41、106g37.3.4.1.89 tliSEnter . 106g37.3.4.1.90 tliSLeave 107g37.3.4.1.91 tliVar 107g37.3.4.1.92 tliModulePar 107g37.3.4.1.93 tliGetVerdict 108g37.3.4.1.94 tliSetVerdict. 108g37.3.4.1.95 tliLog . 108g37.3.4.1.96 tliAEnter 109g37.3.4.1.97 tliALeave . 109g37.3.4.1.98 tliANomatch 109g37.3.4.1.99 tliARepeat

42、 109g37.3.4.1.100 tliADefaults . 110g37.3.4.1.101 tliAActivate . 110g37.3.4.1.102 tliADeactivate 110g37.3.4.1.103 tliAWait . 111g37.3.4.1.104 tliAction . 111g37.3.4.1.105 tliMatch . 111g37.3.4.1.106 tliMatchMismatch 111g37.3.4.1.107 tliInfo . 112g37.3.4.1.108 tliMChecked_m . 112g37.3.4.1.109 tliMChe

43、cked_c 112g37.3.4.1.110 tliPrGetCallChecked_m . 113g37.3.4.1.111 tliPrGetCallChecked_c 113g37.3.4.1.112 tliPrGetReplyChecked_m 114g37.3.4.1.113 tliPrGetReplyChecked_c . 114g3ETSI ETSI ES 201 873-6 V4.8.1 (2016-07)8 7.3.4.1.114 tliPrCatchChecked_m 115g37.3.4.1.115 tliPrCatchChecked_c . 115g37.3.4.1.1

44、16 tliCheckedAny_m 116g37.3.4.1.117 tliCheckedAny_c . 116g37.3.4.1.118 tliCheckAnyMismatch_m 116g37.3.4.1.119 tliCheckAnyMismatch_c . 117g37.3.4.1.120 tliRnd . 117g37.3.4.1.121 tliEvaluate 117g38 JavaTMlanguage mapping . 118g38.1 Introduction 118g38.2 Names and scopes 118g38.2.1 Names . 118g38.2.2 S

45、copes. 118g38.3 Type mapping . 118g38.3.1 Basic type mapping . 118g38.3.2 Structured type mapping . 119g38.3.2.0 General principles . 119g38.3.2.1 TciParameterType. 119g38.3.2.2 TciParameterPassingModeType 120g38.3.2.3 TciParameterListType . 120g38.3.2.4 TciTypeClassType 120g38.3.2.5 TciTestComponen

46、tKindType 121g38.3.2.6 TciBehaviourIdType . 121g38.3.2.7 TciTestCaseIdType . 121g38.3.2.8 TciModuleIdType . 121g38.3.2.9 TciModuleParameterIdType . 121g38.3.2.10 TciModuleParameterListType 122g38.3.2.11 TciModuleParameterType . 122g38.3.2.12 TciParameterTypeListType . 122g38.3.2.13 TciParameterTypeT

47、ype . 123g38.3.2.14 TciModuleIdListType . 123g38.3.2.15 TciTestCaseIdListType . 123g38.3.2.16 TciDecodingResult 124g38.3.2.17 TciMatchingTypeType 124g38.3.2.18 LengthRestriction 124g38.3.2.19 Permutation . 125g38.3.2.20 RangeBoundary . 125g38.3.3 Abstract type mapping 126g38.3.3.0 General principles

48、 . 126g38.3.3.1 Type 126g38.3.4 Abstract value mapping 127g38.3.4.0 General principles . 127g38.3.4.1 Value . 127g38.3.4.2 IntegerValue 128g38.3.4.3 FloatValue. 128g38.3.4.4 BooleanValue 129g38.3.4.5 CharstringValue 129g38.3.4.6 BitstringValue . 129g38.3.4.7 OctetstringValue . 130g38.3.4.8 Universal

49、CharstringValue . 131g38.3.4.9 HexstringValue . 132g38.3.4.10 RecordValue 132g38.3.4.11 RecordOfValue . 133g38.3.4.12 UnionValue . 134g38.3.4.13 EnumeratedValue 135g38.3.4.14 VerdictValue . 135g38.3.4.15 AddressValue 136g38.3.5 Abstract template mapping . 136g38.3.5.0 General principles . 136g38.3.5.1 MatchingMechanism . 136g38.3.5.2 MatchingList . 136g3ETSI ETSI ES 201 873-6 V4.8.1 (2016-07)9 8.3.5.3 ValueRange . 137g38.3.5.4 CharacterPattern 137g38.3.5.5 MatchDecodedContent 137g38.3.6 Abstract logging types mapping . 138g38.3.6.0 General principles . 138g38.3.6.1 TciValueTemp

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 标准规范 > 国际标准 > 其他

copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1