home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-12-22 | 68.6 KB | 3,457 lines |
- .rs
- .\" Troff code generated by TPS Convert from ITU Original Files
- .\" Not Copyright (~c) 1991
- .\"
- .\" Assumes tbl, eqn, MS macros, and lots of luck.
- .TA 1c 2c 3c 4c 5c 6c 7c 8c
- .ds CH
- .ds CF
- .EQ
- delim @@
- .EN
- .nr LL 40.5P
- .nr ll 40.5P
- .nr HM 3P
- .nr FM 6P
- .nr PO 4P
- .nr PD 9p
- .po 4P
-
- .rs
- \v'|.5i'
- .sp 2P
- .LP
- \fBRecommendation\ X.403\fR
- .RT
- .sp 2P
- .ce 1000
- \fBMESSAGE\ HANDLING\ SYSTEMS:\fR
- .EF '% Fascicle\ VIII.7\ \(em\ Rec.\ X.403''
- .OF '''Fascicle\ VIII.7\ \(em\ Rec.\ X.403 %'
- .ce 0
- .sp 1P
- .ce 1000
- \fBCONFORMANCE\ TESTING\fR
- .ce 0
- .sp 1P
- .ce 1000
- \fI(Melbourne, 1988)\fR
- .sp 9p
- .RT
- .ce 0
- .sp 1P
- .sp 2P
- .LP
- The\ CCITT,
- .sp 1P
- .RT
- .sp 1P
- .LP
- \fIconsidering\fR
- .sp 9p
- .RT
- .PP
- (a)
- the need for Message Handling Systems;
- .PP
- (b)
- the need to ensure the interoperability of Message
- Handling Systems;
- .PP
- (c)
- the need for conformance testing specifications for
- Message Handling Systems;
- .PP
- (d)
- that the X.400\(hySeries Recommendations specify
- Message Handling Systems;
- .PP
- (e)
- the state\(hyof\(hythe\(hyart of OSI testing methodology and
- notation within CCITT\(hyISO,
- .sp 1P
- .LP
- \fIunanimously declares\fR
- .sp 9p
- .RT
- .PP
- (1)
- that this Recommendation describes the testing
- methodology for Message Handling Systems;
- .PP
- (2)
- that this Recommendation describes a notation used to define test specifications
- for Message Handling Systems;
- .PP
- (3)
- that this Recommendation describes the scope and
- content of CCITT Conformance Testing Specification Manuals for Message
- Handling Systems.
- .sp 1P
- .ce 1000
- CONTENTS
- .ce 0
- .sp 1P
- .sp 2P
- .LP
- 0
- \fIIntroduction\fR
- .sp 1P
- .RT
- .sp 1P
- .LP
- 1
- \fIScope and field of application\fR
- .sp 9p
- .RT
- .sp 1P
- .LP
- 2
- \fIReferences\fR
- .sp 9p
- .RT
- .sp 1P
- .LP
- 3
- \fIDefinitions\fR
- .sp 9p
- .RT
- .sp 1P
- .LP
- 4
- \fIAbbreviations\fR
- .sp 9p
- .RT
- .sp 1P
- .LP
- 5
- \fIConventions\fR
- .sp 9p
- .RT
- .sp 1P
- .LP
- 6
- \fIOverview\fR
- .sp 9p
- .RT
- .sp 1P
- .LP
- 7
- \fIConformance requirements\fR
- .sp 9p
- .RT
- .sp 1P
- .LP
- 8
- \fITesting methodology\fR
- .sp 9p
- .RT
- .sp 1P
- .LP
- 9
- \fIStructure of test suites\fR
- .sp 9p
- .RT
- .sp 1P
- .LP
- 10
- \fIInformation to be supplied by implementors\fR
- .sp 9p
- .RT
- .sp 1P
- .LP
- 11
- \fITest notation\fR
- .sp 9p
- .RT
- .sp 1P
- .LP
- 12
- \fIConformance assessment procedures\fR
- .sp 9p
- .RT
- .sp 1P
- .LP
- \fIAnnex\ A\fR \(em
- Test notation
- .sp 9p
- .RT
- .sp 1P
- .LP
- \fIAnnex\ B\fR \(em
- IPMS\ (P2) PICS proformas
- .sp 9p
- .RT
- .sp 1P
- .LP
- \fIAnnex\ C\fR \(em
- MTS\ (P1) PICS proformas
- .sp 9p
- .RT
- .sp 1P
- .LP
- \fIAnnex\ D\fR \(em
- RTS PICS proformas
- .bp
- .sp 9p
- .RT
- .sp 2P
- .LP
- \fB0\fR \fBIntroduction\fR
- .sp 1P
- .RT
- .PP
- This Recommendation describes the test methods, test criteria and test
- notation to be used for the conformance testing of message handling
- systems based on the 1984 X.400\(hyseries of Recommendations as supplemented by
- the X.400\(hyseries Implementor's Guide (version\ 5).
- .RT
- .sp 2P
- .LP
- \fB1\fR \fBScope and field of application\fR
- .sp 1P
- .RT
- .PP
- The message handling protocols in the scope of this Recommendation are
- contained in the 1984\ X.400\(hyseries of Recommendations together with
- the
- X.400\(hyseries Implementor's Guide (version\ 5).
- .PP
- Abstract test specifications for these are contained in the CCITT
- Conformance Testing Specification Manuals associated with this
- Recommendation:
- .RT
- .LP
- \(em
- Conformance Testing Specification Manual for IPMS\ (P2)
- .LP
- \(em
- Conformance Testing Specification Manual for MTS\ (P1)
- .LP
- \(em
- Conformance Testing Specification Manual for RTS.
- .PP
- Even though these Manuals are referred to by this Recommendation they are
- not part of it.
- .PP
- While the complete and correct operation of session, transport and
- other lower\(hylayer protocols is required for interworking the testing
- of these layers is not in the scope of this Recommendation. On the other
- hand,
- X.400\ conformance tests should verify that the Reliable Transfer Server
- (RTS) correctly uses the layers beneath it.
- .PP
- The tests defined in this document apply to inter\(hydomain working (ADMD
- to ADMD and ADMD to PRMD). They relate to any MTA or UA in a domain that
- supports communications with other domains.
- .PP
- Conformance testing of the semantics and syntax of the actual body
- part information carried in a BODY PART is beyond the scope of this
- document.
- .PP
- The purpose of this Recommendation is to minimize the time and expense
- that manufacturers of X.400\ implementations and providers of X.400\ services
- must incur to ensure a high degree of interoperability of their equipment.
- This purpose is achieved by having a set of X.400\ conformance test specifications.
- The successful joint execution of the test specifications by two
- implementations can be accepted as compelling evidence of the complete and
- correct operation of these implementations.
- .PP
- The scope and intention of this Recommendation is different from other
- CCITT Recommendations which define communication services and protocols
- such as the 1984 X.400\(hyseries of Recommendations. The purpose of the
- latter
- Recommendations is to unambiguously define a system. However a Recommendation
- for conformance testing provides a well chosen subset of tests of the virtually
- infinite number of tests needed to guarantee full compliance to a protocol
- standard. The subset is chosen in such a way that it gives a high level of
- confidence that tested implementations will interwork while taking into
- account pragmatic considerations such as time taken to perform the tests.
- .PP
- Testing for conformance to functional standards is beyond the scope of
- this Recommendation. However it is recognized that conformance tests for
- functional standards can be derived from this Recommendation and the associated
- Test Specification Manuals.
- .PP
- It should be recognized that the conformance testing of message
- handling systems may fall within the framework of national regulations
- and may be subject to the testing policies of Administrations which are
- beyond the
- scope of this document.
- .RT
- .sp 2P
- .LP
- \fB2\fR \fBReferences (1984 version)\fR
- .sp 1P
- .RT
- .LP
- Recommendation X.210
- Open Systems Interconnection (OSI) Layer Service
- Definitions Convention.
- .LP
- Recommendation X.400
- Message Handling Systems: System Model\(hyService
- Elements.
- .LP
- Recommendation X.401
- Message Handling Systems: Basic service
- elements and optional user facilities.
- .LP
- Recommendation X.408
- Message Handling Systems: Encoded information type
- conversion rules.
- .bp
- .LP
- Recommendation X.409
- Message Handling Systems: Presentation transfer
- syntax and notation.
- .LP
- Recommendation X.410
- Message Handling Systems: Remote operations
- and reliable transfer server.
- .LP
- Recommendation X.411
- Message Handling Systems: Message transfer layer.
- .LP
- Recommendation X.420
- Message Handling Systems: Interpersonal
- messaging user agent layer.
- .LP
- X.400 Series
- Implementor's Guide version 5.
- .sp 2P
- .LP
- \fB3\fR \fBDefinitions\fR
- .sp 1P
- .RT
- .sp 1P
- .LP
- 3.1
- \fIService convention definitions\fR
- .sp 9p
- .RT
- .PP
- This Recommendation makes use of the following terms defined in \fR Recommendation\
- X.210, (version\ 1984):
- .RT
- .LP
- a)
- primitive;
- .LP
- \fR
- b)
- request (primitive);
- .LP
- c)
- indication (primitive);
- .LP
- d)
- response (primitive);
- .LP
- e)
- confirm (primitive).
- .sp 1P
- .LP
- 3.2
- \fIMessage handling definitions\fR
- .sp 9p
- .RT
- .PP
- This Recommendation makes use of the following terms defined in
- Recommendation\ X.400, (version\ 1984):
- .RT
- .LP
- a)
- administration management domain;
- .LP
- b)
- interpersonal message (Recommendation X.420);
- .LP
- c)
- message;
- .LP
- d)
- message transfer (Recommendation X.411);
- .LP
- e)
- originator;
- .LP
- f
- )
- private management domain;
- .LP
- g)
- recipient;
- .LP
- h)
- user.
- .sp 2P
- .LP
- \fB4\fR \fBAbbreviations\fR
- .sp 1P
- .RT
- .PP
- The following abbreviations are used in this
- Recommendation:
- .RT
- .LP
- ADMD
- Administration Management Domain
- .LP
- ASP
- Abstract Service Primitive
- .LP
- DSE
- Distributed Single layer Embedded testmethod
- .LP
- MHS
- Message Handling System
- .LP
- IPMS
- Interpersonal Messaging System
- .LP
- IUT
- Implementation Under Test
- .LP
- MPDU
- Message Protocol Data Unit
- .LP
- MT
- Message Transfer
- .LP
- MTA
- Message Transfer Agent
- .LP
- MTS
- Message Transfer System
- .LP
- P1
- The Message Transfer Protocol [X.411]
- .LP
- P2
- The Interpersonal Messaging Protocol [X.420]
- .LP
- PCO
- Point of Control and Observation
- .LP
- PICS
- Protocol Implementation Conformance Statement
- .bp
- .LP
- PIXIT
- Protocol Implementation Extra Information for Testing
- .LP
- PDU
- Protocol data unit
- .LP
- PRMD
- Private management domain
- .LP
- RTS
- Reliable Transfer Server
- .LP
- SAP
- Service Access Point
- .LP
- TSP
- Test Suite Parameter
- .LP
- TTCN
- Tree and Tabular Combined Notation
- .LP
- UA
- User Agent.
- .sp 2P
- .LP
- \fB5\fR \fBConventions\fR
- .sp 1P
- .RT
- .PP
- No conventions are defined for this Recommendation.
- .RT
- .sp 2P
- .LP
- \fB6\fR \fBOverview\fR
- .sp 1P
- .RT
- .PP
- There are two kinds of CCITT documents concerned
- with X.400 Conformance testing:
- .RT
- .LP
- (a)
- This CCITT Recommendation entitled \*QX.403 Message Handling Systems\
- \(em\ Conformance testing\*U;
- .LP
- (b)
- Three associated CCITT Conformance Testing Specification
- Manuals entitled:
- .LP
- \(em
- Conformance Testing Specification Manual for IPMS\ (P2)
- .LP
- \(em
- Conformance Testing Specification Manual for MTS\ (P1)
- .LP
- \(em
- Conformance Testing Specification Manual for RTS
- .PP
- The CCITT Recommendation is intended for a wide readership. The
- Manuals are intended for test implementors and contain detailed test
- specifications.
- .sp 1P
- .LP
- 6.1
- \fIThe X.400 conformance testing Recommendation\fR
- .sp 9p
- .RT
- .PP
- This Recommendation gives the following information:
- .RT
- .LP
- a)
- Conformance requirements of X.400 implementations.
- .LP
- b)
- The testing methodology.
- .LP
- c)
- The structure of the test specifications.
- .LP
- d)
- Information to be supplied by implementors as a
- prerequisite to conformance testing.
- .LP
- e)
- The test notation.
- .LP
- f
- )
- Conformance assessment procedures.
- .sp 1P
- .LP
- 6.2
- \fIThe X.400 conformance testing specification manuals\fR
- .sp 9p
- .RT
- .PP
- Three CCITT conformance testing specification manuals contain test specifications
- for the IPMS\ (P2), MTS\ (P1), RTS. The test specifications are
- written in a notation described in general terms in \(sc\ 11. The conformance
- testing specification manuals are referred to by this Recommendation but
- they are not part of it.
- .PP
- Since the manuals contain detailed and unambiguous test
- specifications, users of these manuals should be familiar with the X.400\(hyseries
- of Recommendations and with the testing methodology used.
- .RT
- .sp 2P
- .LP
- \fB7\fR \fBConformance requirements\fR
- .sp 1P
- .RT
- .PP
- The purpose of the test specifications referenced by this
- Recommendation is to define tests that will establish to a high degree
- of confidence that the various protocol layers of an implementation
- under test conform to the requirements of the X.400\(hyseries of
- Recommendations\ (1984).
- .bp
- .RT
- .PP
- 7.1
- A system claiming to conform to the X.400 IPM\(hyService has to
- support correctly:
- .sp 9p
- .RT
- .LP
- \(em
- the basic IPM service elements as defined in Table\ 2/X.400;
- .LP
- \(em
- the IPM Optional User facilities defined as Essential in
- Tables\ 1/X.401 and\ 2/X.401 (where the
- categorization for origination and
- reception should be considered);
- .LP
- \(em
- the IPM Optional User facilities defined as Additional in
- Tables\ 1/X.401 and 2/X.401, which
- are claimed to be supported;
- .LP
- \(em
- the requirements related to the IPM service as defined in
- version\ 5 of the X.400\(hyseries Implementor's Guide.
- .PP
- 7.2
- A system claiming to conform to the X.400 MT\(hyservice has to
- support correctly:
- .LP
- \(em
- the basic MT service elements as defined in Table\ 1/X.400
- related to the MTS\ (P1) protocol;
- .LP
- \(em
- the MT Optional User facilities defined as Essential in
- Tables\ 3/X.401 and 4/X.401 and related to the MTS\ (P1) protocol;
- .LP
- \(em
- the MT Optional User facilities defined as Additional in
- Tables\ 3/X.401 and 4/X.401 and related to the MTS\ (P1) protocol, which are
- claimed to be supported;
- .LP
- \(em
- the requirements related to the P1 MT\(hyservice as defined in version
- 5 of the CCITT X.400\(hyseries Implementor's Guide.
- .PP
- 7.3
- system claiming to conform to the X.400 RTS\(hyservice has to support correctly:
- .LP
- \(em
- the RTS\(hyservices as defined in X.410;
- .LP
- \(em
- the requirements related to the RTS\(hyservice as defined in
- version 5 of the CCITT X.400\(hyseries Implementor's Guide.
- .PP
- 7.4
- Claims of conformance of an implementation to the X.400\(hyseries of Recommendations
- can be tested using the conformance testing specification
- manuals associated with this Recommendation to ensure that:
- .LP
- (a)
- The implementation does not act or react in a way different to the one
- described in the Recommendations.
- .LP
- (b)
- The implementation is capable of handling protocol
- errors.
- .LP
- The reaction of an implementation on receipt of protocol
- errors is not defined in the X.400\(hyseries of Recommendations. For the
- purpose of conformance testing the minimum additional requirement is made
- that the
- implementation subsequently continues to operate normally in such cases.
- .LP
- The absence of a mandatory protocol element in P2 or P1 is regarded as
- a protocol error. It should be noted that in an implementated MHS a recipient
- domain may choose to deliver an incorrect MPDU. This should be
- considered as proprietary design by the equipment vendor, and the specific
- actions taken in these situations are defined by the vendor and not subject
- to conformance.
- .LP
- (c)
- The implementation correctly handles the requirements
- defined in X.400 Implementor's Guide Version\ 5.
- .LP
- Maximum lengths and maximum number of occurrences are
- interpreted in the following way:
- .LP
- \(em
- on origination: the implementation may support
- maximum lengthsB/Foccurrences up to but not exceeding the
- constraint value.
- .LP
- \(em
- on reception: the implementation must support the
- maximum lengthsB/Foccurrences of the constraints. Values above the constraints
- may be supported but the conformance requirements on the implementation upon
- reception of a lengthB/Foccurrence exceeding the constraint are
- the same as for protocol errors.
- .PP
- Claims of conformance to the X.400 series of
- Recommendations can not be tested for those implementations for which it
- is not possible to perform all the required tests for features labeled
- mandatory,
- basic or essential optional.
- .bp
- .sp 2P
- .LP
- \fB8\fR \fBTesting methodology\fR
- .sp 1P
- .RT
- .sp 1P
- .LP
- 8.1
- \fITest configurations\fR
- .sp 9p
- .RT
- .PP
- Two test configurations are used. The first configuration is shown in Figure\
- 1/X.403 and is used to test IPMS\ (P2), MTS\ (P1) and RTS.
- .RT
- .LP
- .rs
- .sp 7P
- .ad r
- \fBFigure 1/X.403, (N), p.\fR
- .sp 1P
- .RT
- .ad b
- .RT
- .PP
- The second configuration is shown in Figure 2/X.403 and is used to test
- the relay aspects of the MTS\ (P1) protocol.
- .LP
- .rs
- .sp 8P
- .ad r
- \fBFigure 2/X.403, (N), p.\fR
- .sp 1P
- .RT
- .ad b
- .RT
- .sp 1P
- .LP
- 8.2
- \fIPoints of control and observation\fR
- .sp 9p
- .RT
- .PP
- Test cases are described abstractly in terms of events at Points of Control
- and Observation (PCO) in both the tester and the Implementation Under Test
- (IUT). These PCOs are generally Service Access Points (SAPs) and the
- events are generally Abstract Service Primitives (ASPs). This does not imply
- that manufacturers are required to have accessible SAPs or to implement ASPs
- within their systems. During test execution the PCOs of an IUT may be accessed
- indirectly through a user interface. Where testing is performed through
- a user interface, the mapping of events between the SAP and the user interface
- is
- provided by the supplier of the IUT as described in \(sc\ 10.2.
- .RT
- .sp 1P
- .LP
- 8.2.1
- \fIPCOs for IPMS(P2)\fR
- .sp 9p
- .RT
- .PP
- The IPMS\ (P2) test cases are described using the Points of Control and
- Observation (PCOs) shown in Figure 3/X.403.
- .RT
- .LP
- .rs
- .sp 12P
- .ad r
- \fBFigure 3/X.403, (N), p.\fR
- .sp 1P
- .RT
- .ad b
- .RT
- .LP
- .bp
- .PP
- For the tester, the Point of Control and Observation is the
- Service Access Point (SAP) defined at the boundary between the User Agent
- Layer and the Message Transfer Layer. This PCO makes use of the Message
- Transfer
- Layer Service Primitives defined in Recommendation\ X.411.
- .PP
- For the IUT, the PCO is the SAP defined at the upper boundary of the User
- Agent Layer. However Recommendation\ X.420 does not include definition
- of Service Primitives and it has therefore been necessary to construct
- hypothetical ones for sending and receiving IP\(hymessages, in order that
- the test cases can be described in a formal way.
- .RT
- .sp 1P
- .LP
- 8.2.2
- \fIPCOs for MTS(P1)\fR
- .sp 9p
- .RT
- .PP
- The MTS\ (P1) test cases are described using the PCOs shown in
- Figure\ 4/X.403.
- .RT
- .LP
- .rs
- .sp 20P
- .ad r
- \fBFigure 4/X.403, (N), p.\fR
- .sp 1P
- .RT
- .ad b
- .RT
- .PP
- For the tester, the PCO is the SAP defined at the boundary between the
- MT Layer and the RTS. This PCO makes use of the RTS primitives defined
- in Recommendation\ X.410.
- .PP
- For the IUT, the PCO is the SAP defined at the boundary between the UA
- Layer and the MT Layer. This PCO makes use of the MT Service Primitives
- defined in Recommendation\ X.411.
- .PP
- The testing of relay functions requires more than one tester SAP.
- Similarly the testing of multiple destination delivery requires more than
- one UA on the IUT.
- .RT
- .sp 1P
- .LP
- 8.2.3
- \fIPCOs for RTS\fR
- .sp 9p
- .RT
- .PP
- The RTS test cases are described using the PCOs shown in
- Figure\ 5/X.403.
- .RT
- .PP
- For the tester, the PCO is the SAP defined at the boundary between the
- RTS and the Session Layer. This PCO makes use of the Session Service
- Primitives defined in Recommendation\ X.215.
- .PP
- For the IUT, the PCO is the SAP defined at the upper boundary of the User
- Agent Layer. This PCO makes use of the same hypothetical Service
- Primitives defined for IPMS\ (P2) (\(sc\ 8.2.1).
- .PP
- The description of the RTS test cases includes events at a third SAP at
- the IUT (SAP\(hyI) between the MT Layer and RTS. The events of this SAP
- are
- used only for clarification and it is not used as a PCO.
- .bp
- .RT
- .LP
- .rs
- .sp 18P
- .ad r
- \fBFigure 5/X.403, (N), p.\fR
- .sp 1P
- .RT
- .ad b
- .RT
- .sp 1P
- .LP
- 8.3
- \fITest design strategy\fR
- .sp 9p
- .RT
- .PP
- The MHS test specifications are designed using
- the following concepts:
- .RT
- .LP
- a)
- A test specification is defined as a test
- suite composed of a
- number of test cases as defined in \(sc\ 11.1.
- .LP
- b)
- Test cases are defined in terms of:
- .LP
- \(em
- lower layer ASP events at the tester;
- .LP
- \(em
- upper layer ASP events at the IUT.
- .LP
- c)
- The test cases define the sequencing of these ASP events
- and the associated parameters, in particular the PDUs.
- .LP
- d)
- Test cases for valid behaviour specify ASP
- event sequences and PDUs that are in accordance with the
- X.400\(hyseries of Recommendations.
- .LP
- e)
- Test cases for invalid behaviour are characterized by:
- .LP
- \(em
- a correct PDU or event initiated by the tester in a
- protocol state where it is not permitted
- (an inopportune event); or
- .LP
- \(em
- a correct PDU incorporating an element which is
- syntactically correct and in range, but conflicts with
- the negotiated value; or
- .LP
- \(em
- a PDU sent by the tester which is syntactically
- incorrect (examples are a missing mandatory protocol element, an out\(hyof\(hyrange
- value or an incorrectly encoded length indicator); or
- .LP
- \(em
- for RTS a lower layer ASP event issued by the tester used with parameters
- that are not allowed or not appropriate (example SPSN in SConnect) by X.400
- restrictions.
- .LP
- f
- )
- The depth of testing is restricted to a reasonable
- number of test cases using the following principles:
- .LP
- 1)
- For valid behaviour:
- .LP
- \(em
- if there is a small number of valid
- protocol element values, test all of them;
- .LP
- \(em
- if there is a range of values, test the
- bounds and a few common values;
- .LP
- \(em
- if there are no bounds, test an extreme value
- besides the common ones.
- .LP
- 2)
- For invalid behaviour:
- .LP
- \(em
- The number of test cases for a particular type of error is reduced to
- one or just a few common ones.
- .bp
- .sp 1P
- .LP
- 8.3.1
- \fIStrategy for X.409 testing\fR
- .sp 9p
- .RT
- .PP
- The X.409 test cases defined in the CCITT conformance testing
- specification manuals associated with this Recommendation are applicable
- only to X.400 message handling systems. The testing of X.409 is done as
- part of the MTS\ (P1), IPMS\ (P2) and RTS testing. The features tested
- are the data types
- defined in X.409, the various forms of length encoding and the use of primitive
- and constructor data elements. To increase the likelihood that the tests
- can be performed, the test cases wherever possible have been defined using
- the
- protocol elements associated with mandatory service elements.
- .PP
- Two categories of X.409 tests are identified:
- .RT
- .LP
- \(em
- \fIDecoding tests\fR
- .LP
- These tests are constructed by identifying X.409 features to be exercised
- and devising sets of correctly and incorrectly encoded test PDUs containing
- these features. The tests are performed by transmitting the test
- PDUs to the IUT and observing the local reaction of the implementation
- and/or any PDUs returned to the tester.
- .LP
- \(em
- \fIEncoding tests\fR
- .LP
- These tests are constructed by identifying a set of user
- several requests that will generate PDUs whose encoding will exercise major
- X.409 features. The tester must check the validity of the coding of the
- resulting PDUs generated by the IUT.
- .LP
- The decoding tests allow the X.409 decoding features of an
- implementation to be fully exercised using valid and invalid test PDUs.
- Encoding tests only allow the valid behaviour of X.409 encoding to be
- checked.
- .sp 1P
- .LP
- 8.3.2
- \fIStrategy for IPMS(P2) testing\fR
- .sp 9p
- .RT
- .PP
- Two categories of test are identified:
- .RT
- .LP
- \(em
- IUT as originator;
- .LP
- \(em
- IUT as recipient.
- .PP
- With the IUT as originator, for each service element supported by the implementation,
- tests are performed by:
- .LP
- \(em
- invoking the service;
- .LP
- \(em
- the tester checking the validity of the resulting PDUs;
- .LP
- \(em
- where appropriate the tester returning valid and invalid
- response PDUs to the originator.
- .PP
- With the IUT as recipient, for each service element,
- tests are performed by:
- .LP
- \(em
- the tester sending valid and invalid PDUs for that
- service;
- .LP
- \(em
- observing the local reaction of the UA;
- .LP
- \(em
- checking the validity of any further PDUs generated
- by the UA.
- .PP
- In order to avoid unnecessary duplication of test cases, IPM
- service elements which are also MT service elements (for instance Delivery
- Notification) are listed in the MTS\ (P1) test suite in conjunction with the
- corresponding MT service elements, and not in the IPMS\ (P2) test suite.
- .PP
- It is assumed that the testing of the MT layer is done through a User Agent.
- .RT
- .sp 1P
- .LP
- 8.3.3
- \fIStrategy for MTS(P1) testing\fR
- .sp 9p
- .RT
- .PP
- When testing the operation of a MTS\ (P1) implementation five
- categories of tests are identified.
- .RT
- .LP
- \(em
- IUT as originator;
- .LP
- \(em
- IUT as recipient;
- .LP
- \(em
- IUT as relay;
- .LP
- \(em
- IUT as relay recipient;
- .LP
- \(em
- IUT as recipient/originator.
- .PP
- With the IUT as originator, for each service element supported by the implementation,
- tests are performed by:
- .LP
- \(em
- invoking the service;
- .LP
- \(em
- checking the validity of the resulting PDUs.
- .bp
- .PP
- With the IUT as recipient, for each service element supported by the implementation,
- tests are performed by:
- .LP
- \(em
- the tester sending valid and invalid PDUs for that
- service;
- .LP
- \(em
- observing the local reaction of the UA;
- .LP
- \(em
- checking the validity of any further PDUs generated by
- the UA.
- .PP
- With the IUT as relay, for each service element tests are
- performed by:
- .LP
- \(em
- the tester sending valid and invalid PDUs for relaying;
- .LP
- \(em
- checking the validity of the reaction of the IUT.
- .PP
- With the IUT as a relay recipient, for each service element tests are performed
- by:
- .LP
- \(em
- sending a set of valid and invalid PDUs destined for more
- than one recipient. At least one of these recipients is attached to the
- IUT and a further recipient is attached to a remote MTA such that the IUT
- has to relay the message;
- .LP
- \(em
- checking the validity of the reaction of the IUT as
- recipient;
- .LP
- \(em
- checking that the PDUs that are relayed are not corrupted and are modified
- appropriately.
- .PP
- With the IUT as a recipientB/Foriginator, for each service element supported
- by the implementation, tests are performed by:
- .LP
- \(em
- invoking the IUT to send a message to multiple recipients.
- At least one recipient will be attached to the IUT itself and a further
- recipient will be attached to a remote MTA;
- .LP
- \(em
- checking the validity of the reaction of the IUT as
- recipient;
- .LP
- \(em
- checking the validity of the PDUs transmitted by the
- IUT.
- .sp 1P
- .LP
- 8.3.4
- \fIStrategy for RTS testing\fR
- .sp 9p
- .RT
- .PP
- The following testing phases are used:
- .RT
- .LP
- a)
- \fIThe connection/association establishment and\fR
- \fInegotiation phase\fR
- .LP
- The X.410 Recommendation allows different negotiable
- options and the negotiation phase is tested exhaustively using valid and
- invalid elements.
- .LP
- b)
- \fIThe orderly release of the connection/association\fR
- .LP
- Only a few tests are required to check the correct
- implementation of the RTS release features.
- .LP
- c)
- \fIThe data transfer phase with token exchange\fR
- .LP
- The data transfer tests check:
- .LP
- \(em
- the correct operation of data transfer using the
- negotiated values;
- .LP
- \(em
- the correct operation of token exchange;
- .LP
- \(em
- the correct confirmation of confirmed services;
- .LP
- \(em
- the correct reaction to invalid (e.g. non\(hynegotiated) elements.
- .LP
- d)
- \fIRecovery\fR
- .LP
- Tests are performed to check that an IUT can perform
- correct recovery after:
- .LP
- \(em
- user aborts;
- .LP
- \(em
- provider aborts;
- .LP
- \(em
- exception reports;
- .LP
- \(em
- not acknowledged checkpoints.
- .sp 2P
- .LP
- \fB9\fR \fBStructure of test suites\fR
- .sp 1P
- .RT
- .PP
- The IPMS\ (P2) and MTS\ (P1) test suites have a common structure
- which differs from that of the RTS test suites.
- .RT
- .sp 1P
- .LP
- 9.1
- \fIStructure of IPMS(P2) and MTS(P1) test suites\fR
- .sp 9p
- .RT
- .PP
- The IPMS\ (P2) and MTS\ (P1) test suites consist of five groups of
- test cases:
- .RT
- .LP
- a)
- \fIInitial tests\fR
- .LP
- The initial tests check mandatory features in a small number of test
- cases. They have been defined in order to check that the implementation
- correctly supports the main mandatory features and that it is sensible
- to
- continue with full conformance testing.
- .bp
- .LP
- b)
- \fIX.409 tests\fR
- .LP
- The X.409 tests check the IUT's encoding and decoding of
- protocol elements. Decoding tests are performed by transmitting test PDUs to
- the IUT. Encoding tests are performed by checking PDUs received
- from the IUT.
- .LP
- c)
- \fIProtocol element tests\fR
- .LP
- Protocol element tests identify test purposes for every
- protocol element in the IPMS\ (P2)/MTS\ (P1) protocols. This is important in
- ensuring a full test coverage for the IPMS\ (P2)/MTS\ (P1) protocols. Many of
- these tests are necessarily performed as part of the service element tests.
- .LP
- d)
- \fIService element tests\fR
- .LP
- Service element tests check the capability of the IUT to
- support the service elements in X.400. Some of these tests are carried
- out in the initial tests and the X.409 tests. Service element tests include
- both tests for specific service elements and tests for combinations of
- interdependent
- service elements.
- .LP
- e)
- \fIAdditional test\fR
- .LP
- The additional test group checks features not covered in the other test
- groups.
- .LP
- As indicated in a) to e) above the number of test cases
- has been minimized by taking advantage of the fact that the performance of a
- given test case may cover more than one test purpose. Figure\ 6/X.403 shows
- how some of the test purposes identified in a particular test group may
- actually be achieved by test cases in another group.
- .LP
- .rs
- .sp 14P
- .ad r
- \fBFigure 6/X.403, (N), p.\fR
- .sp 1P
- .RT
- .ad b
- .RT
- .sp 1P
- .LP
- 9.2
- \fIStructure of RTS test suites\fR
- .sp 9p
- .RT
- .PP
- The RTS test suite is made up of five groups of test
- cases:
- .RT
- .LP
- \(em
- association establishment tests;
- .LP
- \(em
- asociation release tests;
- .LP
- \(em
- data transfer tests;
- .LP
- \(em
- association recovery tests;
- .LP
- \(em
- X.409 tests.
- .PP
- The association establishment tests check the negotiation of the connection
- elements.
- .PP
- The association release tests check the orderly release of
- associations.
- .PP
- The data transfer tests check that data is transferred correctly in
- accordance with the values of the connection elements negotiated during
- association establishment.
- .PP
- The association recovery tests check that the IUT can recover from
- breaks in connection both inside and outside activities.
- .PP
- The X.409 tests check the IUT's encoding and decoding of session
- service user data.
- .bp
- .RT
- .sp 2P
- .LP
- \fB10\fR \fBInformation to be supplied by implementors\fR
- .sp 1P
- .RT
- .sp 1P
- .LP
- 10.1
- \fIProtocol implementation conformance statement\fR
- \fI(PICS)\fR
- .sp 9p
- .RT
- .PP
- The Protocol Implementation Conformance Statement (PICS) is
- information supplied by an implementor that specifies the protocol features
- implemented in a Message Handling System.
- .PP
- This information is used during conformance testing:
- .RT
- .LP
- \(em
- to check that the protocol features that have been
- implemented are consistent with the conformance requirements, in terms of\fR
- optional and mandatory features, of the X.400\(hyseries of
- Recommendations;
- .LP
- \(em
- to select the originator tests to be executed. Recipient and relay tests
- will be performed to check the behaviour of the system even when it is
- requested to handle features that it does not implement.
- .PP
- PICS \fIproformas\fR \| for IPMS\ (P2), MTS\ (P1) and RTS are shown in
- Annexes\ B, C and D. These \fIproformas\fR specify the information to be
- supplied by an implementor concerning:
- .LP
- \(em
- the services that are supported for origination,
- reception and relay functions;
- .LP
- \(em
- the protocol features that have been implemented in
- order to support the services.
- .PP
- The IPMS (P2) PICS explicitly includes the MTS (P1) service
- elements made available by the IPMS (P2). In order to avoid duplication with
- the MTS (P1) test suite, tests for such MTS (P1) service elements are not
- contained in the IPMS (P2) test suite. Where the testing of MTS (P1) is not
- performed using a UA, MTS (P1) tests may need to be repeated using a UA in
- order to ensure conformance to the IPMS (P2).
- .sp 1P
- .LP
- 10.2
- \fIProtocol implementation extra information for testing (PIXIT)\fR
- .sp 9p
- .RT
- .PP
- The Protocol Implementation extra Information for Testing (PIXIT) is supplied
- by an implementor specifying information needed by a
- tester to execute a test suite.
- .PP
- The IPMS\ (P2), MTS\ (P1) and RTS test suites define the behaviour of
- the implementation in terms of abstract service primitives. In order to
- invoke and observe this behaviour during test execution the test operator
- must know
- how (if at all) these abstract service primitives can be invoked or observed
- at the real accessible user interface.
- .PP
- The IPMS\ (P2), MTS\ (P1) and RTS PIXIT \fIproformas\fR will list all the
- IUT upper layer abstract service primitives used in the test definitions and
- will ask the implementor to specify how these primitives can be invoked or
- observed (if at all).
- .RT
- .sp 2P
- .LP
- \fB11\fR \fBTest notation\fR
- .sp 1P
- .RT
- .sp 1P
- .LP
- 11.1
- \fIDefinitions\fR
- .sp 9p
- .RT
- .PP
- The notation used to define the MHS test specifications makes use of the
- following definitions:
- .RT
- .LP
- a)
- \fBtest suite\fR
- .LP
- A set of test cases, possibly combined into nested test
- groups, necessary to perform conformance testing of an implementation.
- .LP
- The test suites do not imply an order of execution.
- .LP
- b)
- \fBtest group\fR
- .LP
- A set of related test cases. Test groups may be nested to provide a logical
- structuring of test cases.
- .LP
- c)
- \fBtest case\fR
- .LP
- Specifies the sequences of test events required to achieve the purpose
- of the test and to assign a verdict \*Qpass\*U, \*Qfail\*U or
- \*Qinconclusive\*U.
- .LP
- d)
- \fBtest event\fR
- .LP
- An indivisible unit of test specification at the level of abstraction
- of the specification (e.g.\ sending or receiving a single PDU).
- .LP
- e)
- \fBuser\fR
- .LP
- A user\(hyinterface process or a computer application which
- makes use of an MHS.
- .bp
- .sp 1P
- .LP
- 11.2
- \fINotation\fR
- .sp 9p
- .RT
- .PP
- The Conformance Test Suites for Message Handling Systems use the
- Tree and Tabular Combined Notation as described in Annexe\ A of this
- Recommendation.
- .PP
- Each test suite specification is defined in six sections:
- .RT
- .LP
- 1)
- \fIIntroduction\fR
- .LP
- This contains an overview describing the scope of the tests and the structure
- of the test suite.
- .LP
- 2)
- \fISummary of test cases\fR
- .LP
- This is a list of all tests giving the test identifier, the test reference
- and a short title for each test case in the test suite.
- .LP
- 3)
- \fIDeclarations part\fR
- .LP
- Declares the names and types of all items to be used in
- defining the test cases.
- .LP
- 4)
- \fIDynamic part\fR
- .LP
- This is the main body of the test suite and defines test
- cases in terms of trees of behaviour.
- .LP
- 5)
- \fIConstraints part\fR
- .LP
- Specifies the values of the ASPs and PDUs used in the
- dynamic part.
- .LP
- 6)
- \fICross references\fR
- .LP
- Provides an index to all values used in the main body of the test suite.
- .sp 2P
- .LP
- \fB12\fR \fBConformance assessment procedures\fR \| (see Figure 7/X.403)
- .sp 1P
- .RT
- .PP
- This Recommendation deals only with abstract test specifications
- for Message Handling Systems. It does not deal with the realization of these
- test specifications nor with their execution. This clause\fR in the
- Recommendation is purely for information purposes to\fR describe in general
- terms how real testing may be done.
- .RT
- .sp 1P
- .LP
- 12.1
- \fIOverview of the procedure\fR
- .sp 9p
- .RT
- .PP
- The procedures needed to assess the conformance of an
- implementation include:
- .RT
- .LP
- \(em
- the completion of the PICS and PIXIT proformas by the
- supplier of the implementation;
- .LP
- \(em
- the assessment of these documents;
- .LP
- \(em
- the selection and execution of test cases;
- .LP
- \(em
- the analysis of the results and the production of test
- reports.
- .sp 1P
- .LP
- 12.2
- \fIAnalysis of PICS\fR
- .sp 9p
- .RT
- .PP
- The first phase in conformance assessment is to ensure that the
- features claimed to be supported by an IUT comply with appropriate conformance
- requirements. The conformance requirements for IPMS\ (P2), MTS\ (P1) and
- RTS
- implementations are defined in \(sc\ 7 of this document. This check is
- performed by analysing the information in the PICS documents.
- .RT
- .sp 1P
- .LP
- 12.3
- \fITest case selection\fR
- .sp 9p
- .RT
- .PP
- The tests to be performed are selected primarily on the basis of
- information in the PICS. For every supported feature claimed in the PICS the
- corresponding test cases in the test suites are selected and executed to
- check the correct implementation of these features under an extensive range
- of valid and invalid conditions.
- .PP
- For non\(hysupported features, some recipient test cases shall be
- executed to explore the response of the IUT. Since in general the X.400
- (1984) Series of Recommendations do not define the expected behaviour in
- these
- situations, these tests can be \*Qpassed\*U with almost any behaviour apart
- from
- catastrophic failure by the IUT.
- .PP
- Information in the PIXIT may also provide some constraints on the test
- cases that can be executed.
- .bp
- .RT
- .sp 1P
- .LP
- 12.4
- \fIExecution of tests\fR
- .sp 9p
- .RT
- .PP
- It is recommended that the testing of Message Handling Systems
- should be done in the order of RTS, then MTS\ (P1) and then IPMS\ (P2)
- testing.
- .PP
- However the order of test cases in the test suites does not imply an order
- of execution. Apart from the general recommendation that for
- IPMS\ (P2)/MTS\ (P1) the Initial Test Group should be executed first, the
- order of execution of tests can be determined by the test operators taking
- into
- account their test environment and test tools.
- .RT
- .LP
- .rs
- .sp 22P
- .ad r
- \fBFigure 7/X.403, (N), p.\fR
- .sp 1P
- .RT
- .ad b
- .RT
- .ce 1000
- ANNEX\ A
- .ce 0
- .ce 1000
- (to Recommendation X. 403)
- .sp 9p
- .RT
- .ce 0
- .ce 1000
- \fBTest notation\fR
- .sp 1P
- .RT
- .ce 0
- .LP
- A.1
- \fIIntroduction\fR
- .sp 1P
- .RT
- .PP
- This annex is an integral part of this Recommendation and describes the
- notation used in the test suite manuals.
- .PP
- The test notation described here is based on the test notation called Tree
- and Tabular Combined Notation (TTCN) that has been developed jointly by
- ISO and CCITT.
- .PP
- The notation described in this Recommendation is derived from an early
- form of TTCN and has been developed specifically for use in the MHS conformance
- testing specifications.
- .PP
- Each of the MHS test suites is specified in five parts:
- .RT
- .LP
- \(em
- Declaration part;
- .LP
- \(em
- Dynamic part;
- .LP
- \(em
- Constraints part;
- .LP
- \(em
- Test case identification;
- .LP
- \(em
- Cross\(hyreferences.
- .bp
- .sp 1P
- .LP
- A.2
- \fIDeclaration part\fR
- .sp 9p
- .RT
- .PP
- The Declaration Part declares the environment and objects used in the test
- suites and is composed of 7\ sections:
- .RT
- .LP
- \(em
- Test configurations;
- .LP
- \(em
- Test suite parameters (TSPs);
- .LP
- \(em
- Service access points (SAPs);
- .LP
- \(em
- Abstract service primitives (ASPs);
- .LP
- \(em
- Protocol data units (PDUs);
- .LP
- \(em
- Timers;
- .LP
- \(em
- Abbreviations.
- .sp 1P
- .LP
- A.2.1
- \fITest configurations\fR
- .sp 9p
- .RT
- .PP
- The points of control and observation are declared in this
- section.
- .RT
- .sp 1P
- .LP
- A.2.2
- \fITest suite parameters\fR
- .sp 9p
- .RT
- .PP
- Every MHS Test Suite has a set of parameters whose values are fixed prior
- to testing and which are used to define a specific testing environment.
- .PP
- TSPs are declared in tabular form as shown in Figure A\(hy1/X.403.
- .RT
- .LP
- .rs
- .sp 9P
- .ad r
- \fBFigure A\(hy1/X.403 (trait\*'e comme tableau) [T1.403], p.\fR
- .sp 1P
- .RT
- .ad b
- .RT
- .PP
- By convention the name of each Test Suite Parameter in the MHS
- test suites is of the form:
- \v'6p'
- .sp 1P
- .ce 1000
- TSP
- \(ul<name>
- .ce 0
- .sp 1P
- .LP
- .sp 1
- A.2.3
- \fIService access points\fR (SAPs)
- .sp 9p
- .RT
- .PP
- Service Access Points are used as points of control and observation in
- the MHS Test Suites and are declared in tabular form as shown in
- Figure\ A\(hy2/X.403.
- .RT
- .LP
- .rs
- .sp 9P
- .ad r
- \fBFigure A\(hy2/X.403 (trait\*'e comme tableau) [T2.403], p.\fR
- .sp 1P
- .RT
- .ad b
- .RT
- .LP
- .bp
- .PP
- By convention the name of a SAP in the MHS Test Suites is
- generally one capital letter, such as T, U, V (for tester SAPs) or I, J,
- K (for IUT SAPs).
- .sp 1P
- .LP
- A.2.4
- \fIAbstract service primitives\fR
- .sp 9p
- .RT
- .PP
- Each ASP type and its associated parameters used in a test suite is declared
- in tabular form as shown in Figure\ A\(hy3/X.403.
- .RT
- .LP
- .rs
- .sp 12P
- .ad r
- \fBFigure A\(hy3/X.403 (trait\*'e comme tableau) [T3.403], p.\fR
- .sp 1P
- .RT
- .ad b
- .RT
- .PP
- The name of the ASP is specified in the \*QASP\*U field and is derived
- from the corresponding name in the X.400\(hyseries of Recommendations.
- The SAP at which the ASP occurs is specified in the \*QSAP\*U field. The
- parameters of the
- ASP are declared in the \*QNAME\*U column together with information in
- \*QRANGE OF
- VALUES OR TYPE\*U, \*QCOMMENTS\*U and \*QConditional/Mandatory\*U columns.
- .PP
- Since there are no IPMS\ (P2) ASPs defined in the Recommendations, in order
- to describe conformance tests it has been necessary to construct
- hypothetical ASPs at the upper boundary of the User Agent Layer. This does
- not imply, however that manufacturers are required to implement these ASPs
- within their systems. It serves only to formalize the requirements for
- observation
- and invocation of IPMS service elements by the use of these new ASPs. The
- relation between IPMS service elements and the actual behaviour of the
- IUT has to be specified in the implementation\(hydependent PIXIT.
- .RT
- .sp 1P
- .LP
- A.2.5
- \fIProtocol data units\fR
- .sp 9p
- .RT
- .PP
- The PDU types used in test suites are declared in the form of
- tables as shown in Figure\ A\(hy4/X.403. These PDUs are not defined explicitly
- in the test suite, but are given a precise reference to the full definition
- in the X.400 Recommendations, in the type name section of the table.
- .RT
- .LP
- .rs
- .sp 9P
- .ad r
- \fBFigure A\(hy4/X.403 (trait\*'e comme tableau) [T4.403], p.\fR
- .sp 1P
- .RT
- .ad b
- .RT
- .LP
- .bp
- .sp 1P
- .LP
- A.2.6
- \fITimers\fR
- .sp 9p
- .RT
- .PP
- This section declares the timers to be used. Timer values are
- expressions in terms of Test Suite Parameters, and are fixed for the whole
- test suite. Timer values are declared in tabular form as shown in
- Figure\ A\(hy5/X.403.
- .RT
- .LP
- .rs
- .sp 9P
- .ad r
- \fBFigure A\(hy5/X.403 (trait\*'e comme tableau) [T5.403], p.\fR
- .sp 1P
- .RT
- .ad b
- .RT
- .LP
- .sp 3
- .sp 1P
- .LP
- A.2.7
- \fIAbbreviations\fR
- .sp 9p
- .RT
- .PP
- Abbreviations used in the Test Suite are defined in the form of a table
- as shown in Figure\ A\(hy6/X.403.
- .RT
- .LP
- .rs
- .sp 9P
- .ad r
- \fBFigure A\(hy6/X.403 (trait\*'e comme tableau) [T6.403], p.\fR
- .sp 1P
- .RT
- .ad b
- .RT
- .LP
- .sp 3
- .sp 1P
- .LP
- A.3
- \fIDynamic part\fR
- .sp 9p
- .RT
- .PP
- The Dynamic Part defines the test cases of a test suite in terms of trees
- of behaviour.
- .PP
- Sections A.3.1 and A.3.2 describe generally how trees of behaviour are defined.
- .PP
- Section A.3.3 describes the content and use of Defaults Library.
- .PP
- Section A.3.4 describes the content and use of Test Step Library.
- .PP
- Section A.3.5 describes how each test case in the main body of a test suite
- is specified.
- .bp
- .RT
- .sp 1P
- .LP
- A.3.1
- \fIProforma table for test behaviours\fR (see Figure A\(hy7/X.403)
- .sp 9p
- .RT
- .LP
- .rs
- .sp 18P
- .ad r
- \fBFigure A\(hy7/X.403 (trait\*'e comme tableau) [T7.403], p.\fR
- .sp 1P
- .RT
- .ad b
- .RT
- .sp 1P
- .LP
- <title> BEHAVIOUR
- .sp 9p
- .RT
- .PP
- Title of the behaviour: DEFAULT for the Default Library; DYNAMIC
- for the Test Step Library and test cases.
- .RT
- .sp 1P
- .LP
- IDENTIFIER
- .sp 9p
- .RT
- .PP
- This provides a unique identifier for the behaviour
- description.
- .RT
- .sp 1P
- .LP
- DEFAULTS
- .sp 9p
- .RT
- .PP
- This lists the identifiers of default behaviour descriptions which are
- to be used in conjunction with the Dynamic behaviour shown in the
- \*QBEHAVIOUR DESCRIPTION\*U part.
- .RT
- .sp 1P
- .LP
- BEHAVIOUR DESCRIPTION
- .sp 9p
- .RT
- .PP
- Test behaviour is defined using a tree notation as described in
- A.3.2.
- .RT
- .sp 1P
- .LP
- LABEL
- .sp 9p
- .RT
- .PP
- The LABELS column may be used to identify events. Branches between events
- (i.e.\ \*QGO TO\*U) are specified by \*Q\(raLabel\*U in the behaviour tree.
- .RT
- .sp 1P
- .LP
- CONSTRAINTS REFERENCE
- .sp 9p
- .RT
- .PP
- For each ASP event of a behaviour tree line, this column gives the reference
- to the specific ASP value defined in the Constraints Part.
- .bp
- .RT
- .sp 1P
- .LP
- COMMENTS
- .sp 9p
- .RT
- .PP
- This column provides comments which ease understanding of the
- events. Additional comments may be given in the \*QExtended Comments\*U
- area. This column can also be used to identify test PDUs associated with
- test events.
- .RT
- .sp 1P
- .LP
- RESULT
- .sp 9p
- .RT
- .PP
- This column indicates which test events generate test verdicts.
- Values of test verdicts are:
- .RT
- .LP
- \(em
- pass:\ no misbehaviour of the IUT is detected;
- .LP
- \(em
- fail:\ misbehaviour of the IUT is detected;
- .LP
- \(em
- inconclusive:\ the observed behaviour does not allow the
- assignment of a pass or fail verdict.
- .sp 1P
- .LP
- A.3.2
- \fITree notation for test behaviours\fR
- .sp 9p
- .RT
- .PP
- Trees of behaviour are defined in terms of events which are
- generally of the form:
- .RT
- .LP
- <SAP>!<event>
- .LP
- or of the form
- .LP
- <SAP>?<event>
- .PP
- The <SAP> is the point of control and observation at which the
- <event> occurs. The SAPs used are those declared in the Declaration Part.
- .PP
- The \*Q!\*U symbol indicates that the event is sent from the SAP and \*Q?\*U
- indicates that the event is received at the SAP.
- .PP
- The <event> can be:
- .RT
- .LP
- \(em
- an ASP event;
- .LP
- \(em
- a timer event;
- .LP
- \(em
- an OTHERWISE pseudo\(hyevent.
- .sp 1P
- .LP
- A.3.2.1
- \fISingle ASP events\fR
- .sp 9p
- .RT
- .PP
- If the <event> is an ASP event then the names for the ASPs are
- those specified in the Declaration Part (the value is specified as a reference
- in the CONSTRAINTS REFERENCE column).
- .PP
- \fIExample line for an ASP event\fR :
- .PP
- I?DELind
- .PP
- This means that a Deliver Indication is received
- at the IUT's SAP\ I.
- .RT
- .sp 1P
- .LP
- A.3.2.2
- \fISingle timer events\fR
- .sp 9p
- .RT
- .PP
- If <event> is a timer event then it is of the form:
- \v'6p'
- .RT
- .sp 1P
- .ce 1000
- <operation> <parameters>
- .ce 0
- .sp 1P
- .LP
- .sp 1
- .PP
- The \*Qstart\*U operation can take one of two forms:
- .LP
- Start <timer type>
- .LP
- Start (<timer type>, <timer id>)
- .LP
- Where <timer type> is defined in the Declaration Part and has a fixed value
- associated with it defined in terms of TSPs. The <timer id> allows a name
- to be attached to an instance of a timer type.
- .bp
- .PP
- The other operations are:
- .LP
- \(em
- Cancel:\ cancels a running or suspended timer;
- .LP
- \(em
- Suspend:\ suspends a running timer;
- .LP
- \(em
- Resume:\ resumes a suspended timer;
- .LP
- \(em
- Timeout:\ expiration of a running timer;
- .PP
- These operations take one of two forms:
- .LP
- <operation> <timer type>
- .LP
- <operation> <timer id>
- .LP
- where <operation> denotes the operation. When the timer was started using
- the form \*QStart <timer type>\*U, the form \*Q<operation> <timer type>
- must be used;
- when the timer was started using the form \*QStart <timer id>\*U, the form
- \*Q<operation> <timer id>\*U must be used.
- .LP
- \fIExample\fR :
- .LP
- I!Start T/I\(hytimer
- \(ul1
- .LP
- means that at the IUT's SAP I the T/I\(hytimer
- \(ul1 (e.g. for a
- transmission time for a UAPDU to be transferred from the tester to the IUT's
- user) is started.
- .LP
- I?Timeout T/I\(hytimer
- \(ul1
- .LP
- means that at the IUT's SAP I the timeout of the above timer is
- received.
- .sp 1P
- .LP
- A.3.2.3
- \fISingle OTHERWISE events\fR
- .sp 9p
- .RT
- .PP
- If <event> is the OTHERWISE pseudo\(hyevent, this indicates an
- unspecified event.
- .PP
- Example:
- .RT
- .LP
- T?OTHERWISE
- .LP
- Means that at the tester's SAP T an unspecified event is
- received.
- .sp 1P
- .LP
- A.3.2.4
- \fITrees of behaviour\fR
- .sp 9p
- .RT
- .PP
- Trees of behaviour combine events in two ways:
- .RT
- .LP
- \(em
- as sequences of events
- .LP
- \(em
- as alternative events
- .PP
- The two combination kinds are distinguished by indented and
- vertical alignment respectively.
- .PP
- \fIExample of a sequence of events:\fR
- .RT
- .LP
- I!SUBreq
- .LP
- I
- I?SUBcon
- .LP
- I!
- T?TRNind
- .LP
- This means that first at the SAP I a Submission Request is sent, then
- at the same SAP a Submission Confirmation is received, after which a
- Transfer Indication is received at the tester's SAP\ T.
- .LP
- \fIExample of alternative events:\fR
- .LP
- T?DELind
- .LP
- T?Timeout I/T\(hytimer
- .LP
- This means that at SAP T either a Deliver Indication
- is received or alternatively the timeout is received there.
- .PP
- To build up a complex behaviour tree, the two kinds of combination can
- be mixed.
- .PP
- \fIExample:\fR
- .RT
- .LP
- I!SUBreq
- .LP
- I
- I?SUBcon
- ?04
- .LP
-
- ?05\ alternative events
- .LP
- I!
- T?TRNind
- \(rb
- .LP
- T?DISind
- .LP
- This means that after sending a Submission Request at I, either a Submission
- Confirmation is received at I, followed by the receipt of a Transfer Indication
- at T, or a Disconnect Indication is received at T.
- .bp
- .sp 1P
- .LP
- A.3.3
- \fIDefaults library\fR
- .sp 9p
- .RT
- .PP
- General default behaviours which are used by several test cases are defined
- in the Defaults Library using the format shown in Figure\ A\(hy8/X.403.
- The name of the default is of the form:
- .RT
- .LP
- LIB
- \(ul<name>
- .LP
- or
- .LP
- LIB
- \(ul<name> [X]
- .LP
- where X is a place holder which is replaced by an actual SAP when applying
- the default element in a particular Test Case.
- .PP
- \fINote\fR \ \(em\ Where particular default behaviour applies to a single
- test case only the behaviour table is associated with that test case and the
- identifier is not prefixed with \*QLIB
- \(ul\*U.
- .LP
- .rs
- .sp 18P
- .ad r
- \fBFigure A\(hy8/X.403 (trait\*'e comme tableau) [T8.403], p.\fR
- .sp 1P
- .RT
- .ad b
- .RT
- .sp 1P
- .LP
- A.3.4
- \fITest step library\fR \| (see Figure
- A\(hy9/X.403)
- .sp 9p
- .RT
- .PP
- Where a sequence of test steps is of use in several test cases they can
- be included in the Test Step Library and given a name of the form:
- .RT
- .LP
- LIB
- \(ul<name>
- .PP
- \fINote\fR \ \(em\ Where a test step applies to a single test case the
- behaviour table is associated with that test case and the identifier is not
- prefixed with \*QLIB
- \(ul\*U.
- .sp 1P
- .LP
- A.3.5
- \fITest case\fR \|\fR (see Figure A\(hy10/X.403)
- .sp 9p
- .RT
- .PP
- Each test case in the main body of the test suite is described in terms
- of three headings\ a)\(hyc), and a behaviour tree d):
- .RT
- .LP
- a)
- \fITest reference and test identifier\fR
- .LP
- These elements give a unique reference and identifier for
- each test case and are described fully in \(sc\ A.5.
- .LP
- b)
- \fISummary\fR
- .LP
- A brief overview of the purpose of the test is provided.
- .LP
- c)
- \fITest description\fR \| (optional)
- .LP
- This provides an informal description of the actions and
- events that should take place during the test and an informal verdict
- criteria.
- .LP
- d)
- \fIBehaviour tree\fR
- .LP
- Dynamic behaviour is described using the tree notation
- defined in \(sc\ A.3.2.
- .bp
- .LP
- .rs
- .sp 18P
- .ad r
- \fBFigure A\(hy9/X.403 (trait\*'e comme tableau) [T9.403], p.\fR
- .sp 1P
- .RT
- .ad b
- .RT
- .LP
- .sp 2
- .rs
- .sp 25P
- .ad r
- \fBFigure A\(hy10/X.403 (trait\*'e comme tableau) [T10.403], p.\fR
- .sp 1P
- .RT
- .ad b
- .RT
- .LP
- .bp
- .sp 1P
- .LP
- A.4
- \fIConstraints part\fR \|(see Figure A\(hy11/X.403)
- .sp 9p
- .RT
- .PP
- The Constraints Part of a Test Suite specifies the values and their encoding
- of all instances of ASPs, Test PDUs, Base PDUs and Library Components.
- The Constraints Parts is divided into the following sections:
- .RT
- .LP
- \(em
- Introduction to Constraints Part;
- .LP
- \(em
- ASP Constraints;
- .LP
- \(em
- Test PDU Constraints;
- .LP
- \(em
- Base PDU Constraints;
- .LP
- \(em
- Components Library.
- .LP
- .rs
- .sp 21P
- .ad r
- \fBFigure A\(hy11/X.403, (N), p.\fR
- .sp 1P
- .RT
- .ad b
- .RT
- .sp 1P
- .LP
- A.4.1
- \fIASP constraints\fR
- .sp 9p
- .RT
- .PP
- Values of ASPs are defined as specific instances of a generic
- ASP.
- .RT
- .sp 1P
- .LP
- A.4.1.1
- \fISpecification of a \fR \fI\*QGeneric\*U ASP\fR
- .sp 9p
- .RT
- .PP
- A generic ASP is defined using the format shown in
- Figure A\(hy12/X.403.
- .RT
- .PP
- The \*QFIELDS\*U column is used to list all the parameters of the
- ASP.
- .PP
- The \*QVALUE or REFERENCE\*U column is used to specify
- a value for each
- parameter and this can be done in four ways:
- .RT
- .LP
- a)
- as a reference which can be a TSP name or a library
- component name;
- .LP
- b)
- as an explicit value;
- .LP
- c)
- as \*Q\(hy\*U to indicate that this parameter may be omitted in
- specific instances of this ASP;
- .LP
- d)
- as \*Q?\*U to indicate that for \*Qrequest\*U ASP's this parameter must
- have a value defined in a specific instance if it is a component of
- interest.
- .bp
- .LP
- .rs
- .sp 13P
- .ad r
- \fBFigure A\(hy12/X.403 (trait\*'e comme tableau) [T11.403], p.\fR
- .sp 1P
- .RT
- .ad b
- .RT
- .sp 1P
- .LP
- A.4.1.2
- \fISpecification of \fR \fIASP instances\fR
- .sp 9p
- .RT
- .PP
- Specific values of ASPs are defined using the tabular format shown in Figure\
- A\(hy13/X.403.
- .RT
- .LP
- .rs
- .sp 15P
- .ad r
- \fBFigure A\(hy13/X.403 (trait\*'e comme tableau) [T12.403], p.\fR
- .sp 1P
- .RT
- .ad b
- .RT
- .PP
- The \*QINSTANCE NAME\*U column is used to identify specific instances of
- the ASP used in the test suite.
- .PP
- The \*QMODIFIED PARAMETER\*U column identifies, for \*Qrequest\*U ASP's
- those parameters whose values are to be modified from the generic ASP specification,
- and for \*Qnotification\*U ASP's those parameters whose values are to be
- checked.
- .PP
- The \*QVALUE or REFERENCE\*U column can contain either specific values
- or references to library components ASPs or test PDUs.
- .RT
- .sp 1P
- .LP
- A.4.2
- \fISpecifying PDU values\fR
- .sp 9p
- .RT
- .PP
- The MHS test suite contains a large number of test PDU values. Each PDU
- is defined in terms of modifications to one of the small number of \*Qbase\*U
- PDUs.
- .PP
- For convenience commonly used PDU components are defined in a library and
- are referenced by test PDUs and base PDUs.
- .bp
- .RT
- .sp 2P
- .LP
- A.4.3
- \fIBase PDUs\fR
- .sp 1P
- .RT
- .sp 1P
- .LP
- A.4.3.1
- \fIBase PDU specification\fR
- .sp 9p
- .RT
- .PP
- Base PDUs are not themselves used as test PDUs but they serve as a basis
- from which to derive the test PDUs. Usually only a few Base PDUs need to
- be specified.
- .PP
- The name of a Base PDU is of the form:
- .PP
- BASE
- \(ul<PDUtypename>
- \(ul<number>
- .PP
- \fIExample of a Base PDU\fR :
- .RT
- .ce
- \fBH.T. [T13.403]\fR
- .ps 9
- .vs 11
- .nr VS 11
- .nr PS 9
- .TS
- center box;
- lw(84p) | lw(84p) | lw(60p) .
- DESCRIPTION VALUE or REFERENCE COMMENT
- _
- .T&
- lw(48p) .
- BASE \(ulIM\(hyUAPDU \(ul1
- _
- .T&
- lw(84p) | lw(84p) | lw(60p) .
- SEQUENCE {
- .T&
- lw(84p) | lw(84p) | lw(60p) .
- Heading T{
- [BASE
- \(ulIM
- \(ulUAPDU
- \(ul1
- \(ulHeading]
- T}
- .T&
- lw(84p) | lw(84p) | lw(60p) .
- Body T{
- [BASE
- \(ulIM\(hyUAPDU
- \(ul1
- \(ulBody]
- T}
- .T&
- lw(84p) | lw(84p) | lw(60p) .
- }
- .T&
- lw(84p) | lw(84p) | lw(60p) .
- T{
- BASE
- \(ulIM\(hyUAPDU
- \(ul1
- \(ulHeading
- T}
- .T&
- lw(84p) | lw(84p) | lw(60p) .
- SET {
- .T&
- lw(84p) | lw(84p) | lw(60p) .
- IPMessageID [L \(ulIPMessageID \(ul20]
- .T&
- lw(84p) | lw(84p) | lw(60p) .
- }
- .T&
- lw(84p) | lw(84p) | lw(60p) .
- T{
- BASE
- \(ulIM\(hyUAPDU
- \(ul1
- \(ulBody
- T}
- .T&
- lw(84p) | lw(84p) | lw(60p) .
- SEQUENCE OF {
- .T&
- lw(84p) | lw(84p) | lw(60p) .
- BodyPart [L \(ulBodyPart \(ul20]
- .T&
- lw(84p) | lw(84p) | lw(60p) .
- }
- _
- .TE
- .nr PS 9
- .RT
- .ad r
- \fBTableau [T13.403], p.\fR
- .sp 1P
- .RT
- .ad b
- .RT
- .PP
- The value or value reference of each element of the structure is specified
- within square brackets (\*U[\*U and \*Q]\*U) under the VALUE or REFERENCE
- heading.
- .PP
- When specifying the encoding of a PDU for encoding/decoding tests,two additional
- columns are used to specify the ID Code\ [ID] and Length
- Indicator\ [LI] of each element of the PDU. The format for doing this is
- shown in the example below.
- .RT
- .ce
- \fBH.T. [T14.403]\fR
- .ps 9
- .vs 11
- .nr VS 11
- .nr PS 9
- .TS
- center box;
- lw(96p) | lw(30p) | lw(30p) | lw(30p) | lw(42p) .
- DESCRIPTION ID LI VALUE or REF COMMENT
- _
- .T&
- lw(36p) .
- L \(ulPhantasy \(ul2
- _
- .T&
- lw(96p) | lw(30p) | lw(30p) | lw(30p) | lw(42p) .
- SEQUENCE { [`AO`H] [LI] IA5Text
- .T&
- lw(96p) | lw(30p) | lw(30p) | lw(30p) | lw(42p) .
- SET { [`31`H] [LI]
- .T&
- lw(96p) | lw(30p) | lw(30p) | lw(30p) | lw(42p) .
- repertoire INTEGER [`80`H] [LI] [5] ia5
- .T&
- lw(96p) | lw(30p) | lw(30p) | lw(30p) | lw(42p) .
- }
- .T&
- lw(96p) | lw(30p) | lw(30p) | lw(30p) | lw(42p) .
- IA5String [`36`H] [`8106`H] constructor
- .T&
- lw(96p) | lw(30p) | lw(30p) | lw(30p) | lw(42p) .
- [`04`H] [`01`H] [\*Q1\*U]
- .T&
- lw(96p) | lw(30p) | lw(30p) | lw(30p) | lw(42p) .
- [`04`H] [`02`H] [\*Q23\*U]
- .T&
- lw(96p) | lw(30p) | lw(30p) | lw(30p) | lw(42p) .
- }
- _
- .TE
- .nr PS 9
- .RT
- .ad r
- \fBTableau [T14.403], p.\fR
- .sp 1P
- .RT
- .ad b
- .RT
- .LP
- .bp
- .PP
- The values of ID and LI can be specified explicitly to allow
- invalid and various forms of valid codings to be defined. The mnemonic
- \*QLI\*U is used to indicate that any valid encoding of length is allowed.
- .sp 1P
- .LP
- A.4.3.2
- \fIIdentifying the components to be modified\fR
- .sp 9p
- .RT
- .PP
- A component which is to be replaced in a PDU is identified by a
- path through the declaration of the PDU. The path is written as a list of
- elements, each separated from the next by a \*Q.\*U. The elements in the
- list can be labels which appear in a BASE PDU, components which appear
- in the left\(hyhand side of a labeled declaration, or components which
- appear in the left\(hyhand side of the expansion of a library reference
- in the right\(hyhand side of a
- declaration.
- .PP
- For example, consider the following definitions:
- .RT
- .LP
- Instance
- \(ul
- .LP
- \ \ \ SET{
- .LP
- \ \ \ \ \ \ a
- [value]
- .LP
- \ \ \ \ \ \ b
- [L
- \(ulComponent
- \(ul1]
- .LP
- \ \ \ }
- .LP
- L
- \(ulComponent
- \(ul1
- .LP
- \ \ \ SET{
- .LP
- \ \ \ \ \ \ c
- [value]
- .LP
- \ \ \ \ \ \ d
- [L
- \(ulComponent
- \(ul2]
- .LP
- \ \ \ }
- .LP
- L
- \(ulComponent
- \(ul2
- .LP
- \ \ \ SEQUENCE
- .LP
- \ \ \ \ \ \ e
- [value]
- .LP
- \ \ \ }
- .PP
- \fINote\fR \ \(em\ L
- \(ulComponent
- \(ul1 is in the Component Library.
- .LP
- In order to reference \*Qa\*U, the path would be instance
- \(ul1.a.
- .LP
- In order to reference \*Qe\*U, the path would be instance
- \(ul1.b.d.e.
- .sp 1P
- .LP
- A.4.4
- \fITest PDUs\fR
- .sp 9p
- .RT
- .PP
- Test PDUs are defined in terms of operations on Base PDU's. These operations
- refer to Library Components, TSPs or specific values.
- .PP
- There are two kinds of test PDU:
- .RT
- .LP
- \(em
- PDUs sent by the tester (IUT as recipient)
- .LP
- By convention the names of these PDUs are of the form
- .sp 1P
- .ce 1000
- <PDU name>
- \(ulx
- \(ul<number>
- .ce 0
- .sp 1P
- .LP
- where x is the number of the base PDU from which the test PDU is derived.
- .LP
- \(em
- PDUs received by the tester (IUT as originator)
- .LP
- By convention the names of these PDUs are of the form
- .sp 1P
- .ce 1000
- <PDU name>
- \(ul0<number>
- .ce 0
- .sp 1P
- .LP
- where \*Q0\*U indicates that these test PDUs are not derived from a base PDU.
- .sp 1P
- .LP
- A.4.4.1
- \fITest PDUs sent by the tester\fR
- .sp 9p
- .RT
- .PP
- A test PDU sent by the tester to the IUT is normally constructed
- from a Base PDU by means of the REPLACE operation.
- .bp
- .PP
- The specification has the form:
- .RT
- .ce
- \fBH.T. [T15.403]\fR
- .ce
-
- .ps 9
- .vs 11
- .nr VS 11
- .nr PS 9
- .TS
- center box;
- lw(84p) | lw(72p) | lw(72p) .
- DESCRIPTION VALUE or REFERENCE COMMENT
- _
- .T&
- lw(60p) .
- <test PDU to be specified>
- _
- .T&
- lw(84p) | lw(72p) | lw(72p) .
- <base PDU to be used>
- .T&
- lw(84p) | lw(72p) | lw(72p) .
- REPLACE
- .T&
- lw(84p) | lw(72p) | lw(72p) .
- <base PDU part>
- .T&
- lw(84p) | lw(72p) | lw(72p) .
- BY
- .T&
- lw(84p) | lw(72p) | lw(72p) .
- <partial ASN.1 tree> [<value>]
- _
- .TE
- .nr PS 9
- .RT
- .ad r
- \fBTableau [T15.403], p.\fR
- .sp 1P
- .RT
- .ad b
- .RT
- .PP
- For the conventions of value assignments see \(sc A.4.6.
- .LP
- \fIExample\fR :
- .ce
- \fBH.T. [T16.403]\fR
- .ce
-
- .ps 9
- .vs 11
- .nr VS 11
- .nr PS 9
- .TS
- center box;
- lw(84p) | lw(72p) | lw(72p) .
- DESCRIPTION VALUE or REFERENCE COMMENT
- _
- .T&
- lw(36p) .
- IM\(hyUAPDU\(hy1\(hy18
- _
- .T&
- lw(84p) | lw(72p) | lw(72p) .
- BASE \(ulIM\(hyUAPDU \(ul1
- .T&
- lw(84p) | lw(72p) | lw(72p) .
- REPLACE
- .T&
- lw(84p) | lw(72p) | lw(72p) .
- BASE \(ulIM\(hyUAPDU. Heading
- .T&
- lw(84p) | lw(72p) | lw(72p) .
- BY
- .T&
- lw(84p) | lw(72p) | lw(72p) .
- SET {
- .T&
- lw(84p) | lw(72p) | lw(72p) .
- IPMessageID [L \(ulIPMessageID \(ul7] Library Components
- .T&
- lw(84p) | lw(72p) | lw(72p) .
- originator ORDescriptor [L \(ulORDescriptor \(ul11]
- .T&
- lw(84p) | lw(72p) | lw(72p) .
- }
- _
- .TE
- .nr PS 9
- .RT
- .ad r
- \fBTableau [T16.403], p.\fR
- .sp 1P
- .RT
- .ad b
- .RT
- .PP
- To construct invalid components in test PDUs to be sent by the
- tester, the abstract REDEFINE operation is sometimes used. It is used together
- with the REPLACE operation in the following form:
- .ce
- \fBH.T. [T17.403]\fR
- .ce
-
- .ps 9
- .vs 11
- .nr VS 11
- .nr PS 9
- .TS
- center box;
- lw(84p) | lw(72p) | lw(72p) .
- DESCRIPTION VALUE or REFERENCE COMMENT
- _
- .T&
- lw(60p) .
- <test PDU to be specified>
- _
- .T&
- lw(84p) | lw(72p) | lw(72p) .
- REDEFINE
- .T&
- rw(84p) | lw(72p) | lw(72p) .
- <Type to be redefined> :: = <new definition>
- .T&
- lw(84p) | lw(72p) | lw(72p) .
- <base PDU to be used>
- .T&
- lw(84p) | lw(72p) | lw(72p) .
- REPLACE
- .T&
- lw(84p) | lw(72p) | lw(72p) .
- <base PDU part>
- .T&
- lw(84p) | lw(72p) | lw(72p) .
- BY
- .T&
- lw(84p) | lw(72p) | lw(72p) .
- <partial ASN.1 tree> [<value>]
- _
- .TE
- .nr PS 9
- .RT
- .ad r
- \fBTableau [T17.403], p.\fR
- .sp 1P
- .RT
- .ad b
- .RT
- .LP
- .bp
- .PP
- The scope of the newly defined type is restricted to the PD
- definition containing the REDEFINE operation.
- .PP
- \fINote\fR \ \(em\ That if the <value> is a reference to an element defined
- elsewhere (i.e.\ a TSP or a Library Component), then the new type definition
- does not affect the referenced element itself but only its usage in the
- actual PDU.
- .RT
- .LP
- \fIExample\fR :
- .ce
- \fBH.T. [T18.403]\fR
- .ps 9
- .vs 11
- .nr VS 11
- .nr PS 9
- .TS
- center box;
- lw(42p) | lw(138p) .
- IM \(ulUAPDU \(ul1 \(ul3
- .T&
- lw(180p) .
- REDEFINE
- .T&
- lw(180p) .
- T{
- ORName :: = [APPLICATION 1] IMPLICIT SEQUENCE {
- T}
- .T&
- lw(180p) .
- T{
- P1.StandardAttributeList
- P2.DomainDefinedAttributeList\ \ \ OPTIONAL
- T}
- .T&
- lw(180p) .
- BASE \(ulIM \(ulUAPDU \(ul1
- .T&
- lw(180p) .
- REPLACE
- .T&
- lw(180p) .
- T{
- BASE
- \(ulIM
- \(ulUAPDU
- \(ul1
- \(ulHeading
- T}
- .T&
- lw(180p) .
- BY
- .T&
- lw(180p) .
- SET {
- .T&
- lw(126p) | lw(54p) .
- IPMessageID [L \(ulIPMessageID \(ul1]
- .T&
- lw(126p) | lw(54p) .
- originator ORDescriptor [L \(ulORDescriptor \(ul1]
- .T&
- lw(126p) | lw(54p) .
- }
- _
- .TE
- .nr PS 9
- .RT
- .ad r
- \fBTableau [T18.403], p.\fR
- .sp 1P
- .RT
- .ad b
- .RT
- .PP
- The error to be constructed here is the wrong tag of the ORName
- type (the correct tag would be [APPLICATION 0]). The scope of the erroneous
- type\(hydefinition constructed by \*QREDEFINE\*U is restricted to all occurrences
- of ORName in the definition of IM
- \(ulUAPDU
- \(ul1
- \(ul3. This means that
- L
- \(ulORDescriptor
- \(ul1 is used here with the modified ORName type, whereas the
- usage of this library component in other PDUs or components remains unaltered.
- .sp 1P
- .LP
- A.4.4.2
- \fITest PDUs received by the tester\fR
- .sp 9p
- .RT
- .PP
- For received PDUs normally only a portion of the PDU relates to the purpose
- of the test.
- .PP
- A component of interest is identified and its value assigned using the
- techniques described in \(sc\ A.4.3.
- .PP
- The specification scheme has the following form:
- .RT
- .ce
- \fBH.T. [T19.403]\fR
- .ps 9
- .vs 11
- .nr VS 11
- .nr PS 9
- .TS
- center box;
- lw(96p) | lw(66p) | lw(66p) .
- DESCRIPTION VALUE or REFERENCE COMMENT
- _
- .T&
- lw(60p) .
- <Test PDU to be specified>
- _
- .T&
- lw(96p) | lw(66p) | lw(66p) .
- T{
- Partial definition \(em Components of interest
- T}
- .T&
- lw(96p) | lw(66p) | lw(66p) .
- <Test PDU part> [<value>]
- _
- .TE
- .nr PS 9
- .RT
- .ad r
- \fBTableau [T19.403], p.\fR
- .sp 1P
- .RT
- .ad b
- .RT
- .LP
- .bp
- .LP
- \fIExample\fR :
- .ce
- \fBH.T. [T20.403]\fR
- .ps 9
- .vs 11
- .nr VS 11
- .nr PS 9
- .TS
- center box;
- lw(96p) | lw(66p) | lw(66p) .
- DESCRIPTION VALUE or REFERENCE COMMENT
- _
- .T&
- lw(39p) .
- SR\(hyUAPDU\(hyO\(hy95
- _
- .T&
- lw(96p) | lw(66p) | lw(66p) .
- T{
- Partial definition \(em Components of interest
- T}
- .T&
- lw(96p) | lw(66p) | lw(66p) .
- T{
- SR\(hyUAPDU.CHOICE.non\(hyReceipt
- T}
- .T&
- lw(96p) | lw(66p) | lw(66p) .
- reason INTEGER [1] autoforward
- .T&
- lw(96p) | lw(66p) | lw(66p) .
- comments PrintableString [\*Qon holiday\*U]
- .T&
- lw(96p) | lw(66p) | lw(66p) .
- returned IM\(hyUAPDU L \(ulIMUAPDU \(ul2]
- .T&
- lw(96p) | lw(66p) | lw(66p) .
- SR\(hyUAPDU.report
- .T&
- lw(96p) | lw(66p) | lw(66p) .
- IPMessageID [L \(ulIPMessageID \(ul15]
- _
- .TE
- .nr PS 9
- .RT
- .ad r
- \fBTableau [T20.403], p.\fR
- .sp 1P
- .RT
- .ad b
- .RT
- .LP
- .sp 2
- .sp 1P
- .LP
- A.4.5
- \fIComponent library\fR
- .sp 9p
- .RT
- .PP
- Components of PDUs are defined in the library and are referenced in Base
- PDU specifications, Test PDU specifications and by other library
- components.
- .PP
- The name of a Library Component is of the form:
- .RT
- .sp 1P
- .ce 1000
- L
- \(ul<ASN.1 type name>
- \(ul<number>
- .ce 0
- .sp 1P
- .LP
- and is specified using the techniques described in \(sc\ A.4.3
- .LP
- \fIExample\fR :
- .ce
- \fBH.T. [T21.403]\fR
- .ps 9
- .vs 11
- .nr VS 11
- .nr PS 9
- .TS
- center box;
- lw(84p) | lw(72p) | lw(72p) .
- DESCRIPTION VALUE or REFERENCE COMMENT
- _
- .T&
- lw(42p) .
- L \(ulPhantasy \(ul1
- _
- .T&
- lw(84p) | lw(72p) | lw(72p) .
- SEQUENCE {
- .T&
- lw(84p) | lw(72p) | lw(72p) .
- SET {
- .T&
- lw(84p) | lw(72p) | lw(72p) .
- SET {
- .T&
- lw(84p) | lw(72p) | lw(72p) .
- ContentType originator [2] p2
- .T&
- lw(84p) | lw(72p) | lw(72p) .
- Pl.ORName [TSP \(ulOrName \(ul1] Test Suite Parameter
- .T&
- lw(84p) | lw(72p) | lw(72p) .
- original
- .T&
- lw(84p) | lw(72p) | lw(72p) .
- SET {BIT STRING} [{`20H`}] IA5 Text
- .T&
- lw(84p) | lw(72p) | lw(72p) .
- DeliveryFlags [`40H`] Conversion Prohibited
- .T&
- lw(84p) | lw(72p) | lw(72p) .
- ThisRecipient
- .T&
- lw(84p) | lw(72p) | lw(72p) .
- Pl.ORName [TSP \(ulORName \(ul1]
- .T&
- lw(84p) | lw(72p) | lw(72p) .
- submission TIME [TPS \(ulUTCTime \(ul1]
- .T&
- lw(84p) | lw(72p) | lw(72p) .
- }
- .T&
- lw(84p) | lw(72p) | lw(72p) .
- }
- .T&
- lw(84p) | lw(72p) | lw(72p) .
- IM\(hyUAPDU [L \(ulIM\(hyUAPDU \(ul1] Library Cpt
- .T&
- lw(84p) | lw(72p) | lw(72p) .
- }
- _
- .TE
- .nr PS 9
- .RT
- .ad r
- \fBTableau [T21.403], p.\fR
- .sp 1P
- .RT
- .ad b
- .RT
- .LP
- .bp
- .sp 1P
- .LP
- A.4.6
- \fIValue conventions\fR
- .sp 9p
- .RT
- .PP
- The following conventions are used when defining values or value
- references for PDU components.
- .PP
- Value references identify components defined either within the
- Component Library or within the Test Suite Parameters section. CharacterString
- Values can specified within double\(hyquotes (e.g.\ \*Qabc\*U); Bit String
- Values are specified within single\(hyquotes (e.g.\ '0A'H or '0001'B; hexadecimal
- or binary
- notation); Integer Values are specified as numeric characters (e.g.\ 2); sets
- and sequences of values are specified within curly brackets separated by
- comma (e.g.\ {\*Qabc\*U, `OA'H}).
- .PP
- For PDU's sent by the tester:
- .RT
- .LP
- [?]
- indicates that the value has no influence on the test and may be anything
- that is legal according to the relevant service or protocol
- standard;
- .LP
- [\(hy]
- indicates that the parameter shall be absent;
- .LP
- [*]
- indicates that the value is to be inserted by the tester
- before test execution.
- .LP
- For PDU's received by the tester:
- .LP
- [?]
- indicates that the tester need make no verification of
- the value of the parameter;
- .LP
- [\(hy]
- indicates that the tester shall check that the parameter
- is absent.
- .PP
- \fINote\fR \ \(em\ That the \*Q?\*U and \*Q\(hy\*U symbols in value assignments
- of
- PDU components have got other meanings than \*Q?\*U and \*Q\(hy\*U in generic
- ASP
- schedules.
- .sp 1P
- .LP
- A.5
- \fITest case identification\fR
- .sp 9p
- .RT
- .PP
- Test cases are completely identified using four
- components:
- .RT
- .LP
- \(em
- a test group identifier;
- .LP
- \(em
- a subgroup identifier;
- .LP
- \(em
- a validity identifier;
- .LP
- \(em
- a test number.
- .PP
- These four components are specified in two equivalent ways:
- .LP
- \(em
- as a Test Reference where the four components
- are textual and descriptive;
- .LP
- \fIExample:\fR OriginalEncodedInfoTypeIndication/Recipient/Valid/2
- .LP
- \(em
- as a Test Identifier where the four components are numeric
- and concise.
- .LP
- \fIExample:\fR 307.2.1.2.
- .sp 2P
- .LP
- A.5.1
- \fIIPMS(P2) and MTS(P1) identification\fR
- .sp 1P
- .RT
- .sp 1P
- .LP
- A.5.1.1
- \fITest Groups\fR
- .sp 9p
- .RT
- .PP
- Number ranges have been allocated for the test groups as shown
- below:
- .RT
- .LP
- Initial Tests
- 001\|\(hy\|099
- .LP
- X.409 Tests
- 100\|\(hy\|199
- .LP
- Protocol Elements Tests
- 200\|\(hy\|299
- .LP
- (for frequently occurring Elements)
- .LP
- X.400
- .LP
- Service Elements Tests
- 300\|\(hy\|399
- .LP
- Additional Tests
- 400\|\(hy\|499
- .sp 1P
- .LP
- A.5.1.2
- \fISubgroups\fR
- .sp 9p
- .RT
- .PP
- Numeric identifiers have been allocated to the
- test subgroups as shown below:
- .RT
- .LP
- Originator
- 1
- .LP
- Recipient
- 2
- .LP
- Encode
- 1
- .LP
- Decode
- 2
- .LP
- Relay
- 3
- .LP
- Relaying\(hyRecipient
- 4
- .LP
- Relaying\(hyOriginator
- 5
- .bp
- .sp 1P
- .LP
- A.5.1.3
- \fIValidity identifiers\fR
- .sp 9p
- .RT
- .PP
- Test cases which exercise valid behaviour are distinguished from
- those which exercise the IUT's reaction to invalid behaviour using the
- numeric identifiers shown below:
- .RT
- .LP
- Valid
- 1
- .LP
- Invalid
- 2
- .sp 1P
- .LP
- A.5.1.4
- \fITest case numbers\fR
- .sp 9p
- .RT
- .PP
- Test cases for a particular group/subgroup/validity are numbered
- sequentially.
- .RT
- .sp 2P
- .LP
- A.5.2
- \fIRTS identification\fR
- .sp 1P
- .RT
- .sp 1P
- .LP
- A.5.2.1
- \fITest groups\fR
- .sp 9p
- .RT
- .PP
- Number ranges have been allocated for the test groups as shown
- below:
- .RT
- .LP
- Association Establishment
- 1
- .LP
- Association Release
- 2
- .LP
- Data Transfer
- 3
- .LP
- Association Recovery
- 4
- .LP
- X.409 Tests
- 5
- .sp 1P
- .LP
- A.5.2.2
- \fISubgroups\fR
- .sp 9p
- .RT
- .PP
- Numeric identifiers have been allocated to the RTS subgroups as
- shown below:
- .RT
- .LP
- Initiator
- 1
- .LP
- Responder
- 2
- .LP
- Sender
- 1
- .LP
- Receiver
- 2
- .sp 1P
- .LP
- A.5.2.3
- \fIValidity identifiers\fR
- .sp 9p
- .RT
- .PP
- Test cases which exercise valid behaviour are distinguished from
- those which exercise the IUT's reaction to invalid and inopportune behaviour
- using the numeric identifiers shown below:
- .RT
- .LP
- Valid
- 1
- .LP
- Invalid
- 2
- .LP
- Inopportune
- 3
- .sp 2P
- .LP
- A.6
- \fICross referencing\fR
- .sp 1P
- .RT
- .sp 1P
- .LP
- A.6.1
- \fICross reference numbering\fR
- .sp 9p
- .RT
- .PP
- The MTS\ (P1) and IPMS\ (P2) test suites contain a cross referencing system
- for the ASPs, test PDUs and library components. The cross referencing appears
- in the left and right margins of the test suite as shown in
- Figure\ A\(hy14/X.403.
- .RT
- .PP
- Numbers in the left hand margin of the test suite are in
- sequential order and are \*Qplace identifiers\*U. They occur whenever an
- ASP, test PDU or library component occurs in the test suite.
- .PP
- Whenever an ASP, test PDU or library component occurs, numbers are
- also placed in the right hand margin. These numbers are forward and backward
- references to the place identifiers of the other occurrences of the ASP,
- test PDU or library component.
- .PP
- Where a forward or backward reference can not be found then a dot
- (\*U.\*U) is printed in the right hand margin. This should not occur in fully
- defined test suites.
- .PP
- Where a line in the test suite contains more than one ASP, test PDU or
- library component, the cross references for each item in the line are separated
- by vertical bars (\*U|\*Q) in the right hand margin as shown in
- Figure\ A\(hy15/X.403.
- .bp
- .RT
- .LP
- .rs
- .sp 13P
- .ad r
- \fBFigure A\(hy14/X.403 (trait\*'e comme tableau) [T22.403], p.\fR
- .sp 1P
- .RT
- .ad b
- .RT
- .LP
- .sp 5
- .rs
- .sp 6P
- .ad r
- \fBFigure A\(hy15/X.403 (trait\*'e comme tableau) [T23.403], p.\fR
- .sp 1P
- .RT
- .ad b
- .RT
- .LP
- .sp 5
- .sp 1P
- .LP
- A.6.2
- \fICross reference listing\fR
- .sp 9p
- .RT
- .PP
- At the end of MTS\ (P1) and IPMS\ (P2) test suites there is a
- separate cross reference listing of all the ASPs, test PDUs and library
- components together with the place identifiers of all their occurrences
- in the test suite.
- .PP
- \fIExample:\fR
- .RT
- .ce 1000
- :\ \ \ \ \ \ \ \ \ \ \ \
- .ce 0
- .ce 1000
- :\ \ \ \ \ \ \ \ \ \ \ \
- .ce 0
- .ce 1000
- :\ \ \ \ \ \ \ \ \ \ \ \
- .ce 0
- .ce 1000
- IM
- \(ulUAPDU
- \(ul1
- \(ul14\ \ \ \ 586\ 1467
- .ce 0
- .ce 1000
- IM
- \(ulUAPDU
- \(ul1
- \(ul15\ \ \ \ 587\ 1470
- .ce 0
- .ce 1000
- :\ \ \ \ \ \ \ \ \ \ \ \
- .ce 0
- .ce 1000
- :\ \ \ \ \ \ \ \ \ \ \ \
- .ce 0
- .sp 1P
- .ce 1000
- :\ \ \ \ \ \ \ \ \ \ \ \
- .ce 0
- .sp 1P
- .PP
- The numbers on the right side indicate the places where the item occurs
- in the test suite.
- .LP
- .bp
-