ETSI ES 202 782-2015 Methods for Testing and Specification (MTS) The Testing and Test Control Notation version 3 TTCN-3 Language Extensions TTCN-3 Performance and Real Time Testing.pdf

上传人:赵齐羽 文档编号:731038 上传时间:2019-01-08 格式:PDF 页数:36 大小:179.77KB
下载 相关 举报
ETSI ES 202 782-2015 Methods for Testing and Specification (MTS) The Testing and Test Control Notation version 3 TTCN-3 Language Extensions TTCN-3 Performance and Real Time Testing.pdf_第1页
第1页 / 共36页
ETSI ES 202 782-2015 Methods for Testing and Specification (MTS) The Testing and Test Control Notation version 3 TTCN-3 Language Extensions TTCN-3 Performance and Real Time Testing.pdf_第2页
第2页 / 共36页
ETSI ES 202 782-2015 Methods for Testing and Specification (MTS) The Testing and Test Control Notation version 3 TTCN-3 Language Extensions TTCN-3 Performance and Real Time Testing.pdf_第3页
第3页 / 共36页
ETSI ES 202 782-2015 Methods for Testing and Specification (MTS) The Testing and Test Control Notation version 3 TTCN-3 Language Extensions TTCN-3 Performance and Real Time Testing.pdf_第4页
第4页 / 共36页
ETSI ES 202 782-2015 Methods for Testing and Specification (MTS) The Testing and Test Control Notation version 3 TTCN-3 Language Extensions TTCN-3 Performance and Real Time Testing.pdf_第5页
第5页 / 共36页
点击查看更多>>
资源描述

1、 ETSI ES 202 782 V1.3.1 (2015-06) Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; TTCN-3 Language Extensions: TTCN-3 Performance and Real Time Testing ETSI STANDARD ETSI ETSI ES 202 782 V1.3.1 (2015-06) 2 Reference RES/MTS-202782PerfRealTed131 Keywords p

2、erformance, real time, 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 pres

3、ent document can 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 ETS

4、I. In case of 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 t

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

6、al.etsi.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 modifi

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

8、 its 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 202 782 V1.3.1 (2015-06) 3 Contents Intellectual Property Rights 5g3F

9、oreword . 5g3Modal verbs terminology 5g31 Scope 6g32 References 6g32.1 Normative references . 6g32.2 Informative references 6g33 Definitions and abbreviations . 7g33.1 Definitions 7g33.2 Abbreviations . 7g34 Package conformance and compatibility 7g35 Package concepts for the core language . 8g35.0 G

10、eneral . 8g35.1 The test system clock . 8g35.1.0 General 8g35.1.1 Accessing the current test system time . 8g35.1.2 The precision of the system time 9g35.2 Communication port types for real-time measurements . 9g35.3 Measuring timing information for dedicated incoming communication events . 9g35.3.0

11、 General 9g35.3.1 Obtain the reception time for messages with the receive statement 10g35.3.2 Obtain the reception time for messages with the trigger statement 10g35.3.3 Obtain the reception time for procedure calls with getcall statement . 11g35.3.4 Obtain the reception time for procedure replies w

12、ith the getreply statement 11g35.3.5 Obtain the reception time for exceptions with the catch statement . 12g35.4 The wait statement 12g35.5 Measuring timing information for outgoing communication operations 13g35.5.0 General 13g35.5.1 Obtain the sending time for messages with the send statement 13g3

13、5.5.2 Obtain the sending time for procedure calls with call statement 13g35.5.3 Obtain the sending time for procedure replies with the reply statement . 14g35.5.4 Obtain the sending time for exceptions with the raise statement 14g36 TRI extensions for the package 14g36.1 triStartClock (TE PA) 14g36.

14、2 triReadClock (TE PA) . 14g36.3 triBeginWait (TE PA) . 15g36.4 triEndWait (PA TE) . 15g36.5 triWaitUntil (SA PA) . 15g36.6 Communication Operations 16g36.6.0 General 16g36.6.1 triSendRT (TE SA) 16g36.6.2 triSendBCRT (TE SA) . 17g36.6.3 triSendMCRT (TE SA) 17g36.6.4 triEnqueueMsgRT (SA TE) . 18g36.6

15、.5 triCallRT (TE SA) . 18g36.6.6 triCallBCRT (TE SA) 19g36.6.7 triCallMCRT (TE SA) . 20g36.6.8 triReplyRT (TE SA) . 21g36.6.9 triReplyBCRT (TE SA) . 22g36.6.10 triReplyMCRT (TE SA) 23g36.6.11 triRaiseRT (TE SA) . 24g36.6.12 triRaiseBCRT (TE SA) 24g36.6.13 triRaiseMCRT (TE SA) . 25g3ETSI ETSI ES 202

16、782 V1.3.1 (2015-06) 4 6.6.14 triEnqueueCallRT (SA TE) 25g36.6.15 triEnqueueReplyRT (SA TE) . 26g36.6.16 triEnqueueExceptionRT (SA TE) 26g36.7 Definition of Interfaces 27g36.8 Changes for JavaTMLanguage Mapping. 27g36.8.0 General 27g36.8.1 Mapping of interface triCommunicationSART 27g36.8.2 Mapping

17、of interface triCommunicationTERT . 28g36.8.3 Mapping of interface triPlatformPART 28g36.8.4 Mapping of interface triPlatformTE . 29g36.9 Changes for ANSI C Language Mapping . 29g36.10 Changes for C+ Language Mapping 31g36.10.1 Mapping of interface triCommunicationSART 31g36.10.2 Mapping of interfac

18、e triCommunicationTERT . 32g36.10.3 Mapping of interface triPlatformPART 32g36.10.4 Mapping of interface triPlatformTERT 32g37 TCI extensions for the package 33g3Annex A (normative): BNF and static semantics 34g3A.1 Changed BNF Rules . 34g3A.2 New BNF Rules . 34g3Annex B (informative): Bibliography

19、. 35g3History 36g3ETSI ETSI ES 202 782 V1.3.1 (2015-06) 5 Intellectual Property Rights IPRs essential or potentially essential to the present document may have been declared to ETSI. The information pertaining to these essential IPRs, if any, is publicly available for ETSI members and non-members, a

20、nd can be found in ETSI SR 000 314: “Intellectual Property Rights (IPRs); Essential, 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:/ipr.etsi.org). Pursuant to the

21、ETSI IPR Policy, no investigation, including IPR searches, 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. Forew

22、ord This ETSI Standard (ES) has been produced by ETSI Technical Committee Methods for Testing and Specification (MTS). The present document relates to the multi-part standard ETSI ES 201 873 covering the Testing and Test Control Notation version 3, as identified below: Part 1: “TTCN-3 Core Language“

23、; Part 4: “TTCN-3 Operational Semantics“; Part 5: “TTCN-3 Runtime Interface (TRI)“; Part 6: “TTCN-3 Control Interface (TCI)“; Part 7: “Using ASN.1 with TTCN-3“; Part 8: “The IDL to TTCN-3 Mapping“; Part 9: “Using XML schema with TTCN-3“; Part 10: “TTCN-3 Documentation Comment Specification“. Modal v

24、erbs terminology In the present document “shall“, “shall not“, “should“, “should not“, “may“, “need not“, “will“, “will not“, “can“ and “cannot“ are to be interpreted as described in clause 3.2 of the ETSI Drafting Rules (Verbal forms for the expression of provisions). “must“ and “must not“ are NOT

25、allowed in ETSI deliverables except when used in direct citation. ETSI ETSI ES 202 782 V1.3.1 (2015-06) 6 1 Scope The present document defines the real time and performance testing support package of TTCN-3. TTCN-3 can be used for the specification of all types of reactive system tests over a variet

26、y of communication ports. Typical areas of application are protocol testing (including mobile and Internet protocols), service testing (including supplementary services), module testing, testing of OMG CORBA based platforms, APIs, etc. TTCN-3 is not restricted to conformance testing and can be used

27、for many other kinds of testing including interoperability, robustness, regression, system and integration testing. The specification of test suites for physical layer protocols is outside the scope of the present document. TTCN-3 packages are intended to define additional TTCN-3 concepts, which are

28、 not mandatory as concepts in the TTCN-3 core language, but which are optional as part of a package which is suited for dedicated applications and/or usages of TTCN-3. While the design of TTCN-3 package has taken into account the consistency of a combined usage of the core language with a number of

29、packages, the concrete usages of and guidelines for this package in combination with other packages is outside the scope of the present document. 2 References 2.1 Normative references References are either specific (identified by date of publication and/or edition number or version number) or non-sp

30、ecific. For specific references, only the cited version applies. For non-specific references, the latest version of the reference document (including any amendments) applies. Referenced documents which are not found to be publicly available in the expected location might be found at http:/docbox.ets

31、i.org/Reference. NOTE: While any hyperlinks included in this clause were valid at the time of publication, ETSI cannot guarantee their long term validity. The following referenced documents are necessary for the application of the present document. 1 ETSI ES 201 873-1 (V4.6.1): “Methods for Testing

32、and Specification (MTS); The Testing and Test Control Notation version 3; Part 1: TTCN-3 Core Language“. 2 ETSI ES 201 873-4 (V4.4.1): “Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; Part 4: TTCN-3 Operational Semantics“. 3 ETSI ES 201 873-5 (V4.6.1): “

33、Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; Part 5: TTCN-3 Runtime Interface (TRI)“. 4 ETSI ES 201 873-6 (V4.6.1): “Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; Part 6: TTCN-3 Control Interface (TCI)“.

34、 5 ISO/IEC 9646-1: “Information technology - Open Systems Interconnection - Conformance testing methodology and framework; Part 1: General concepts“. 2.2 Informative references References are either specific (identified by date of publication and/or edition number or version number) or non-specific.

35、 For specific references, only the cited version applies. For non-specific references, the latest version of the reference document (including any amendments) applies. NOTE: While any hyperlinks included in this clause were valid at the time of publication, ETSI cannot guarantee their long term vali

36、dity. The following referenced documents are not necessary for the application of the present document but they assist the user with regard to a particular subject area. ETSI ETSI ES 202 782 V1.3.1 (2015-06) 7 i.1 ETSI ES 201 873-7 (V4.5.1): “Methods for Testing and Specification (MTS); The Testing

37、and Test Control Notation version 3; Part 7: Using ASN.1 with TTCN-3“. i.2 ETSI ES 201 873-8 (V4.5.1): “Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; Part 8: The IDL to TTCN-3 Mapping“. i.3 ETSI ES 201 873-9 (V4.5.1): “Methods for Testing and Specifica

38、tion (MTS); The Testing and Test Control Notation version 3; Part 9: Using XML schema with TTCN-3“. i.4 ETSI ES 201 873-10 (V4.5.1): “Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; Part 10: TTCN-3 Documentation Comment Specification“. 3 Definitions and

39、abbreviations 3.1 Definitions For the purposes of the present document, the terms and definitions given in ETSI ES 201 873-1 1, ETSI ES 201 873-4 2, ETSI ES 201 873-5 3, ETSI ES 201 873-6 4 and ISO/IEC 9646-1 5 apply. 3.2 Abbreviations For the purposes of the present document, the abbreviations give

40、n in ETSI ES 201 873-1 1, ETSI ES 201 873-4 2, ETSI ES 201 873-5 3, ETSI ES 201 873-6 4 and ISO/IEC 9646-1 5 apply. 4 Package conformance and compatibility The package presented in the present document is identified by the package tag: “TTCN-3:2014 Real Time and Performance Testing“ - to be used wit

41、h modules complying with the present document. For an implementation claiming to conform to this package version, all features specified in the present document shall be implemented consistently with the requirements given in the present document and in ETSI ES 201 873-1 1, ETSI ES 201 873-4 2, ETSI

42、 ES 201 873-5 3 and ETSI ES 201 873-6 4. The package presented in the present document is compatible with: ETSI ES 201 873-1 (V4.6.1) 1 ETSI ES 201 873-4 (V4.4.1) 2 ETSI ES 201 873-5 (V4.6.1) 3 ETSI ES 201 873-6 (V4.6.1) 4 ETSI ES 201 873-7 (V4.5.1) i.11 ETSI ES 201 873-8 (V4.5.1) i.22 ETSI ES 201 8

43、73-9 (V4.5.1) i.33 ETSI ES 201 873-10 (V4.5.1) i.44 If later versions of those parts are available and should be used instead, the compatibility to the package presented in the present document has to be checked individually. The present document is also compatible with the versions V4.2.1, V4.3.1,

44、V4.4.1, V4.5.1 of the above documents. ETSI ETSI ES 202 782 V1.3.1 (2015-06) 8 5 Package concepts for the core language 5.0 General Real-time systems have to respect special requirements for timing. Often functional requirements are directly connected to the timing of the messages and procedure call

45、s. Thus, checking the message values and the message order is not sufficient here. A test component shall be able to check whether a message has been received in time and shall be able to control the timing for the stimulation. Thus, a test language has to provide means to measure time, to specify t

46、ime points and time spans, to control the timing of the stimulation, and to calculate and compare time values. Moreover the test execution engine has to ensure that the specified actions (time measurement, timed stimulation) are executed correctly with respect to the required precision. To fulfil th

47、e requirements for testing real time system we define the following TTCN-3 core language extensions: A test system wide available test system clock, that allows the measurement of time during test case execution. Means to directly and precisely access the time points of the relevant interaction even

48、ts between the test system and the system under test. Real-time measurements at ports require additional resources (e.g. functionality that monitor ports and collect timestamps that describe the reception time of messages, calls, replies or exceptions) that may slow down the test execution. In order

49、 to avoid unnecessary delays at ports, such resources may only be provided when needed. An additional real-time clause for ports shall indicate the need for real-time measurement at a port. 5.1 The test system clock 5.1.0 General In RT TTCN-3 time progress is measured with a test system clock. The clock is initialized (set to 0.0) at the beginning of each test case execution and is available during the complete test run in each component. The clock values are represent

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

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

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