Abstract

Design of Test Suite Structure and implementation of Test Purposes for conformance testing of an draft IETF SIP RFC 3261  protocol implementation.

Status
Published
Publication Date
31-Mar-2004
Current Stage
6060 - National Implementation/Publication (Adopted Project)
Start Date
01-Apr-2004
Due Date
01-Apr-2004
Completion Date
01-Apr-2004

Buy Documents

Technical specification

SIST-TS TS 102 027-1 V2.1.1:2004

English language (112 pages)
Preview
Preview
e-Library read for
×1 day

SIST-TS TS 102 027-1 V2.1.1:2004 is the Slovenian version of ETSI TS 102 027-1 V2.1.1 for TIPHON conformance testing of draft IETF SIP RFC 3261. It specifies the Test Suite Structure and Test Purposes (TSS&TP) used to check SIP implementations for registration, call control, messaging, proxy processing and redirect-server behaviour. In practice, it gives test designers, implementers and quality teams a common basis for verifying an Implementation Under Test (IUT).

What does SIST-TS TS 102 027-1 V2.1.1:2004 specify?

SIST-TS TS 102 027-1 V2.1.1:2004 specifies a Test Suite Structure and Test Purposes for the SIP protocol described in RFC 3261. The document is about conformance testing: it defines what should be tested and how the tests are grouped, rather than giving a formal test suite with concrete test data.

The foreword places it in a multi-part TIPHON deliverable for SIP conformance testing. Part 1 is this TSS&TP specification, and Part 2 covers the Abstract Test Suite (ATS) and partial Protocol Implementation eXtra Information for Testing (PIXIT) proforma specification.

The document is organized into:

  • Scope
  • References
  • Definitions and abbreviations
  • Test Suite Structure
  • Test Purposes

Clause 4 introduces the SIP entities used for the structure, and clause 5 lists the test purposes by function and role.

What are the key requirements of SIST-TS TS 102 027-1 V2.1.1:2004?

The test suite is organized around SIP roles and behavior classes

Clause 4 builds the Test Suite Structure from SIP entities such as user agents, proxy, registrar and redirect server. The test groups are split into SIP Registration, Call Control and Messaging, and the last groups are further divided into Valid (V), Invalid (I) and Inopportune (O) behavior.

In practice, that means a tester can pick tests that match the role being checked - for example a registrar, an originating endpoint or a proxy - and then select the behavior class that fits the case under test.

Registration testing checks refresh, authentication and binding handling

Clause 5.2 covers the Registrant and Registrar. The registrant test purposes check that an implementation refreshes registration before expiry, repeats REGISTER after a 401 response with Authorization, uses the same Call-ID where required, increments CSeq correctly, and deletes a binding with Expires set to zero.

The registrar test purposes check that the server accepts third-party registration, periodic registration, REGISTER without Contact, REGISTER with Expires, and binding deletion or update cases based on Contact, Call-ID and CSeq values. It also checks the responses for missing Authorization and unauthorized modification. In practice, this verifies that registration state is maintained consistently and that authentication and binding updates are handled correctly.

Call establishment tests cover INVITE, responses, ACK and dialog setup

Clause 5.3.1 and 5.3.2 focus on originating and terminating endpoints. The originating endpoint must send an INVITE with the expected To, From, CSeq, Max-Forwards, Via, Allow and Supported headers, and it must generate the right ACK for provisional and final responses. The terminating endpoint must generate the proper provisional and final responses, including copied headers, tags, Contact, Record-Route and error handling.

These test purposes matter because SIP call setup depends on correct dialog identification and routing. The document checks that the IUT uses the right header values, manages Record-Route and Route correctly, and reacts properly to response codes such as 200, 300, 301, 302, 404, 480, 486, 500, 600 and 603.

Call release and cancellation are tested as separate procedures

Clause 5.3.1.2 and 5.3.2.2 cover BYE and CANCEL handling. The originating endpoint must send BYE with matching dialog identifiers and the correct Request-URI and Route handling. It must also send CANCEL with the same transaction identifiers as the original INVITE, and it must acknowledge a 2XX response if one arrives after cancellation.

The terminating endpoint must answer BYE, CANCEL and repeated requests correctly, including 481 responses where there is no matching dialog or transaction. In practice, this checks that a call can be released cleanly and that duplicate or out-of-context requests are not treated as new sessions.

Timer behavior is part of conformance for client and server transactions

Several subclauses under 5.3.1.1.2, 5.3.1.2.3, 5.3.2.1.3, 5.3.2.2.3, 5.3.3.2.1.2 and 5.3.3.2.2.2 check retransmission and timeout behavior. The tests refer to SIP transaction timers such as A, B, D, E, F, G, H, I and J, and they distinguish reliable transport such as TCP from unreliable transport.

The practical meaning is simple: an implementation must retransmit or stop retransmitting at the right times, and it must terminate transactions when the timer rules require it. That is important for interoperability because timer mistakes can cause duplicated signaling, stuck calls or failure to clear transactions.

Proxy tests check routing, forwarding and forking

Clause 5.3.3 covers proxy behavior. The proxy must process requests and responses by handling Route, Via, maddr and Max-Forwards fields, removing or inserting values where required, and returning appropriate failures such as 416, 420, 483, 485, 404 or 480. It also covers forwarding of INVITE, ACK and BYE, plus forking when more than one target URI is present.

The response-handling tests check that the proxy removes its own Via, forwards matching responses, combines authentication headers from forked branches, and sends CANCEL when one fork branch succeeds or fails in a way that requires it. In practice, this verifies that the proxy preserves transaction state while forwarding only the correct signaling.

Redirect server tests check redirection and contact information

Clause 5.3.4 covers redirect server behavior. The redirect server must send 3XX redirection responses with Contact information for registered locations, accept ACK to a 3XX response, and return 480 or 404 when registration has expired or the user agent is unknown.

That matters when a system uses redirection instead of forwarding. The tests confirm that the server directs the caller to the registered location and applies the right error responses when no valid location exists.

Messaging tests check parsing tolerance and robustness

Clause 5.4 covers Messaging for registrant, registrar and originating endpoint, with headings for proxy and redirect server as well. The test purposes check handling of upper- and lower-case header names, leading whitespace, folded lines, short field names, multiple Contact values, multiple Contact headers and CRLF handling on TCP. They also check invalid cases such as missing CSeq.

In practice, these tests verify that an implementation accepts legal SIP message variations and rejects malformed messages in a predictable way. That is important for interoperability because real networks often carry messages that differ in formatting but not in meaning.

What terms does SIST-TS TS 102 027-1 V2.1.1:2004 define?

  • callee - The SIP entity asked to take part in a session by receiving an INVITE message.
  • caller - The SIP entity that starts a session by sending an INVITE message.
  • dialog - The identifier formed from the remote address, local address and Call-ID.
  • IUT - Implementation Under Test, the SIP implementation being checked by the test purposes.
  • TP - Test Purpose, a non-formal high-level description of a test used as the basis for a formal test specification.
  • TSS - Test Suite Structure, the way the document groups tests by function, role and behavior.
  • PIXIT - Protocol Implementation eXtra Information for Testing, the implementation-specific information used when preparing tests.
  • UAC / UAS - User Agent Client and User Agent Server, the two SIP endpoint roles used in call handling.

Who uses SIST-TS TS 102 027-1 V2.1.1:2004?

SIP equipment vendors use this document to derive conformance tests for registrars, user agents, proxies and redirect servers. Test laboratories use it to build test cases and decide which behavior group applies to a given implementation.

Quality managers and buyers use it to check whether a SIP product is being validated against the right conformance targets. It is also relevant to VoIP and IP telephony teams working on interoperability, release qualification and protocol verification.

Which standards are used with SIST-TS TS 102 027-1 V2.1.1:2004?

  • IETF RFC 3261 - The core SIP specification that defines the protocol behavior the test purposes are based on.
  • IETF RFC 2327 - The SDP specification used where session descriptions are involved.
  • ISO/IEC 9646-1 - Gives the general concepts for conformance testing methodology and framework.
  • ISO/IEC 9646-2 - Defines Abstract Test Suite specification rules.
  • ISO/IEC 9646-3 - Defines the Tree and Tabular Combined Notation used for formal test specifications.
  • ETSI ETS 300 406 - Provides methodology for protocol and profile conformance testing specifications.
  • Part 2 of this TIPHON deliverable - Supplies the ATS and partial PIXIT proforma that complete the conformance-testing package.

What does the SIST-TS TS 102 027-1 V2.1.1:2004 document contain?

The document contains the SIP entity model, a Test Suite Structure overview, and a long list of test purposes organized by role and function. It also includes the general assumptions used for the tests, such as how to treat 380 Alternative Service, TLS, SIPS URI, unknown headers and mandatory headers.

Most of the body is made up of named test purposes with references back to RFC 3261 clauses. These cover registration, call establishment, call release, session modification, proxy message processing, transaction handling and redirect-server behavior, plus timer-related behavior for client and server transactions.

The document also uses figures and tabular structure to show how the SIP entities relate to one another and how the test groups are arranged. In practice, it is a blueprint for building formal conformance tests rather than a step-by-step test script.

Buy Documents

Technical specification

SIST-TS TS 102 027-1 V2.1.1:2004

English language (112 pages)
Preview
Preview
e-Library read for
×1 day

Get Certified

Connect with accredited certification bodies for this standard

ANCE

Mexican certification and testing association.

EMA Mexico Verified

Intertek Slovenia

Intertek testing, inspection, and certification services in Slovenia.

UKAS Slovenia Verified

LNE (Laboratoire National de Métrologie et d'Essais)

French national laboratory for metrology and testing.

COFRAC France Verified

Sponsored listings

Frequently Asked Questions

SIST-TS TS 102 027-1 V2.1.1:2004 is a technical specification published by the Slovenian Institute for Standardization (SIST). Its full title is "Telecommunications and Internet Protocol Harmonization Over Networks (TIPHON); Technology Compliance Specification; Draft IETF SIP RFC 3261; Part 1: Test Suite Structure and Test Purposes (TSS&TP) specification". This standard covers: Design of Test Suite Structure and implementation of Test Purposes for conformance testing of an draft IETF SIP RFC 3261 protocol implementation.

Design of Test Suite Structure and implementation of Test Purposes for conformance testing of an draft IETF SIP RFC 3261 protocol implementation.

SIST-TS TS 102 027-1 V2.1.1:2004 is classified under the following ICS (International Classification for Standards) categories: 33.020 - Telecommunications in general. The ICS classification helps identify the subject area and facilitates finding related standards.

SIST-TS TS 102 027-1 V2.1.1:2004 is available in PDF format for immediate download after purchase. The document can be added to your cart and obtained through the secure checkout process. Digital delivery ensures instant access to the complete standard document.

Standards Content (Sample)

Contents

  • 1 Scope
  • 2 References
  • 3 Definitions and abbreviations
  • 3.1 Definitions
  • 7 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 3.2 Abbreviations
  • 4 Test Suite Structure (TSS)
  • 4.1 Introduction
  • 8 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 9 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 4.2 Overview of the Test Suite Structure (TSS)
  • 10 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 11 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 5 Test Purposes (TP)
  • 5.1 Introduction
  • 12 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 5.2 Test Purposes for Registration
  • 13 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 14 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 15 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 16 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 17 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 18 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 19 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 5.3 Test Purposes for Call Control
  • 20 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 21 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 22 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 23 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 24 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 25 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 26 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 27 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 28 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 29 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 30 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 31 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 32 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 33 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 34 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 35 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 36 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 37 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 38 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 39 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 40 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 41 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 42 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 43 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 44 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 45 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 46 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 47 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 48 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 49 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 50 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 51 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 52 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 53 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 54 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 55 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 56 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 57 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 58 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 59 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 60 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 61 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 62 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 63 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 64 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 65 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 66 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 67 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 68 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 69 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 70 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 71 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 72 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 73 ETSI TS 102 027-1 V2.1.1 (2003-10)
  • 74 ETSI TS 102 027-1 V2.1.1 (2003-10)

1 Scope

The present document proposes a Test Suite Structure and Test Purposes (TSS&TP) for the SIP protocol as described in RFC 3261, "Session Initiation Protocol" issued in June 2002.

2 References

The following documents contain provisions which, through reference in this text, constitute provisions of the present document.

  • References are either specific (identified by date of publication and/or edition number or version number) or non-specific.
  • For a specific reference, subsequent revisions do not apply.
  • For a non-specific reference, the latest version applies.

Referenced documents which are not found to be publicly available in the expected location might be found at http://docbox.etsi.org/Reference.

[1] IETF RFC 3261: "SIP: Session Initiation Protocol".

[2] IETF RFC 2327: "SDP: Session Description Protocol".

[3] ISO/IEC 9646-1: "Information technology - Open Systems Interconnection - Conformance testing methodology and framework - Part 1: General concepts".

[4] ISO/IEC 9646-2: "Information technology - Open Systems Interconnection - Conformance testing methodology and framework - Part 2: Abstract Test Suite specification". [5] ISO/IEC 9646-3: "Information technology - Open Systems Interconnection - Conformance testing methodology and framework - Part 3: The Tree and Tabular Combined Notation". [6] ETSI ETS 300 406: "Methods for Testing and Specification (MTS); Protocol and profile conformance testing specifications; Standardization methodology".

3 Definitions and abbreviations

3.1 Definitions

For the purposes of the present document, the following terms and definitions apply:

  • terms defined in RFC 3261 [1];
  • terms defined in ISO/IEC 9646-1, -2 and -3 ([3], [4] and [5]). callee: SIP entity that is requested to participate to a session by receiving an INVITE message caller: SIP entity that initiates a session by sending an INVITE message dialog: identifier defined as the combination of the remote address, local address, and Call-ID inopportune: test group that handles invalid signalling exchanges of messages, which are properly structured and correctly encoded Invalid (I): test group that handles valid signalling exchanges of messages, which are either not properly structured or incorrectly encoded ETSI

SIST-TS TS 102 027-1 V2.1.1:2004

7 ETSI TS 102 027-1 V2.1.1 (2003-10)

Test Purpose (TP): non-formal high-level description of a test, mainly using text NOTE: This test description can be used as the basis for a formal test specification (e.g. Abstract Test Suite in TTCN). See ISO/IEC 9646.

Valid (V): test group that handles valid signalling exchanges of messages, which are properly structured and correctly encoded

3.2 Abbreviations

For the purposes of the present document, the following abbreviations apply:

ATS Abstract Test Suite CE Call Establishment CR Call Release I Invalid IUT Implementation Under Test MG Messaging O Inopportune OE Originating Endpoint PIXIT Protocol Implementation eXtra Information for Testing PR Proxy RD ReDirect Server RG Registration RR RegistraR RT RegistranT SM Session Modification TE Terminating Endpoint TP Test Purpose TSS Test Suite Structure UA User Agent UAC User Agent Client UAS User Agent Server V Valid

4 Test Suite Structure (TSS)

4.1 Introduction

4.1.1 SIP Entities

Test Purposes have been written for SIP entities according to the RFC 3261 [1]. Three kinds of entities are considered successively as IUT:

  • User Agent behaving as client or Server.
  • Proxy (outbound and simple proxy).
  • Redirect Server.

ETSI

SIST-TS TS 102 027-1 V2.1.1:2004

8 ETSI TS 102 027-1 V2.1.1 (2003-10)

OUTBOUND

User Agent User Agent PROXY

Client/Server Client/Server PROXY

A B Registrar

REDIRECT SERVER

A: caller

Registrar B: callee

Figure 1: SIP protocol entities

4.1.2 General assumptions

Test Purposes have been written for behaviours requested with "MUST" and conditional "SHOULD" as recommended test.

Several proxy servers may forward the requests, but the test purposes are written from the point of view of one SIP entity only. The client can be either a user agent client or the client portion of a proxy server. SDP has been considered as the method used to describe the session, but no test purposes have been written to check the SDP content itself as it is out of the scope of the present document. Proxy, redirect server and registrar shall support both UDP and TCP as transport layer while UA shall support at least UDP.

SIP entities are considered in the present document to be addressed with SIP-URIs, except for test purposes that validate the IUT's behaviour upon reception of non SIP-URIs.The features listed below are not covered by the present document. Reasons are described along with their description:

  • ICMP Handling:
  • RFC 3261 [1] states that host, network, port, parameter or protocol errors SHOULD be treated as a 4xx response (Client-Server), which SHOULD therefore cause the server to cease retransmitting the response. Others (source quench ICMP messages and TTL exceeds) SHOULD be ignored.
  • Timers T1, T2 (14.3.1 [1]):
  • RFC 3261 [1] states that retransmission of requests other than INVITE and ACK SHOULD be implemented when a SIP client is using an unreliable protocol (UDP).
  • OPTION (8 [1]):
  • RFC 3261 [1] states that the OPTION method MUST be supported, but MAY be answered. Therefore, there is no guarantee that the IUT will respond to an option message. A Test Purpose is then not applicable.

ETSI

SIST-TS TS 102 027-1 V2.1.1:2004

9 ETSI TS 102 027-1 V2.1.1 (2003-10)

  • 380 (Alternative Service) message:
  • RFC 3261 [1] states that this message indicates, for an unsuccessful call, that Alternative services are possible. But, the alternative services are described in the message body content, which is not considered.
  • TLS:
  • Encrypted transport TLS cannot run over UDP that is the default transport used in the following test. Additionally TLS is optional for UA.
  • SIPS URI:
  • As TLS is not covered, the SIPS URIs are not covered too.

The verb "ignore" in test purpose means that the IUT does not react with an error message and does not take into account the element to be ignored. When this element is an undefined Header field, according to 10 [1], proxy shall not remove or modify it.

The adjective "unknown" means in the test purpose not defined in the standard [1] while "non-understood" means unknown from the point of view of the IUT.

The mandatory headers like Call-ID, CSeq, From, To, Via are supposed to be present in all messages as Max-Forwards in Request message without stressing those requirements in each test purpose (see clauses 8.1.1 and 8.2.6 of RFC 3261 [1]).

4.1.3 System under test

In SIP, a client can either sends its request directly to the Request-URI or to its outbound proxy. It can also ask for SIP-URI to a redirect server before sending its request. Test purpose will apply depending of the current tested configuration.

Three kinds of session have been consider in the present document:

  • Call using a proxy.
  • Direct call with no proxy.
  • Call using a redirect server.

4.2 Overview of the Test Suite Structure (TSS)

The Test Suite Structures is based on SIP entities and assumptions as described in clause 4.1.2. Figure 2 shows the Test Suite Structure (TSS).

Last Sub groups may be subdivided in three subgroups: Valid behaviour (V), Invalid behaviour (I), Inopportune behaviour (O).

ETSI

SIST-TS TS 102 027-1 V2.1.1:2004

10 ETSI TS 102 027-1 V2.1.1 (2003-10)

Test Suite Main Functionalities Role Functionalities subgroups Test group SIP Registration Registrant V Registrar V-I-O Call Control Originating Endpoint Call establishment V-Timers

Call release V-I-Timers Session Modification V Terminating Endpoint Call establishment V-I-Timers Call release V-I-Timers Session Modification V-I Proxy Message processing Request V-I Response V Transaction Client V-Timers Server V-Timers Redirect server Call establishment V Call release V Messaging Registrant V-I Registrar V-I Originating Endpoint V-I Terminating Endpoint V-I Proxy V-I Redirect Server V-I

Figure 2: TSS for SIP ETSI

SIST-TS TS 102 027-1 V2.1.1:2004

11 ETSI TS 102 027-1 V2.1.1 (2003-10)

5 Test Purposes (TP)

5.1 Introduction

5.1.1 TP naming convention

Table 1: TP identifier naming convention scheme Identifier: <protocol>_<main functionality>_<role>_<functionality>_<type>_<nn> <protocol> SIP <main functionality> Registration (RG), Call Control (CC), Messaging (MG).

<role> Registrant (RT), Registrar (RR) Originating Endpoint (OE), Terminating Endpoint (TE), Proxy (PR), Redirect (RD).

<functionality> (optional) Call Establishment (CE), Call Release(CR), Session modification (SM), Message processing (MP), Transaction (TR).

<sub-functionality> (optional) Request (RQ), Response(RS), Client(CL), Server(SE) <type> Valid Behaviour (V), Invalid Behaviour (I), Inopportune Behaviour (O), Timers (TI).

<nnn> sequential number (001-999).

5.1.2 State Definitions during a call

For more clarity and consistency, states defined in figures 5 and 7 in [1], have been reused in the wording of test purposes.

5.1.3 TP structure

Each test purpose is decomposed in seven keyword.

  • "TPId" gives a unique identifier to each test purpose.
  • "Status" specifies whether the test purpose or the group is mandatory or optional according to in RFC 3261 [1]. The group status applies to all test purposes belonging to this group.
  • "Ref." outlines the references in RFC 3261 [1] used to create the test purpose.
  • "Purpose" describes the objective of the test.

ETSI

SIST-TS TS 102 027-1 V2.1.1:2004

12 ETSI TS 102 027-1 V2.1.1 (2003-10)

5.2 Test Purposes for Registration

5.2.1 Registrant

Group selection: Registration being listed as an option, the test purpose is applicable if the SUT is declared as supporting periodic registration and can behave as User Agent. Status: Optional

5.2.1.1 Valid Behaviour

TPId: SIP_RG_RT_V_001 Status: Mandatory Ref: 10.2 [1] Purpose: Ensure that the IUT, in order to be registered, sends a REGISTER request to its registrar, without user name in the Request-URI and with a SIP-URI as request-URI.

TPId: SIP_RG_RT_V_002 Status: Mandatory Ref: 10.3 [1] Purpose: Ensure that the IUT having sent a REGISTER request is able to receive a Success (200 OK) response containing its current registration list in the Contact header and an expires parameter in the header.

TPId: SIP_RG_RT_V_003 Status: Optional Ref: 10.2.6 [1] Purpose: Ensure that the IUT, in order to be registered, sends a REGISTER request to the its pre-configured registrar address and without username.

TPId: SIP_RG_RT_V_004 Status: Optional Ref: 10.2.6 [1] Purpose: Ensure that the IUT, in order to be registered, sends a REGISTER request to host part of address of record as the Request-URI and without username.

TPId: SIP_RG_RT_V_005 Status: Optional Ref: 10.2.6 1 Purpose: Ensure that the IUT, in order to be registered, sends a REGISTER request to the well-known "all SIP servers" multicast address "sip.mcast.net" (224.0.1.75) and without username.

ETSI

SIST-TS TS 102 027-1 V2.1.1:2004

13 ETSI TS 102 027-1 V2.1.1 (2003-10)

TPId: SIP_RG_RT_V_006 Status: Mandatory Ref: 10.2.4 [1] Purpose: Ensure that the IUT, already registered, sends at least one REGISTER request, during the shortest lifetime indicated in the Contact parameters of the Success (200 OK) response it has received.

TPId: SIP_RG_RT_V_007 Status: Recommended Ref: 8.1.3.5 [1], 22.2 [1] Purpose: Ensure that the IUT having sent a REGISTER message, on receipt of an Unauthorized (401 Unauthorized) response including a WWW-Authenticate header, repeats its REGISTER request with an Authorization header and with an incremented Cseq value.

TPId: SIP_RG_RT_V_008 Status: Mandatory Ref: 10.2 [1] Purpose: Ensure that the IUT, in order to be registered, sends a REGISTER request to its registrar, with a address-of record in the To header of type SIP URI.

TPId: SIP_RG_RT_V_009 Status: Mandatory Ref: 10.2 [1] Purpose: Ensure that the IUT, in order to be registered, sends a REGISTER request to its registrar, wit the same URI in the From and the To header.

TPId: SIP_RG_RT_V_010 Status: Mandatory Ref: 10.2 [1] Purpose: Ensure that the IUT having sent a REGISTER request, does not send a new registration before the REGISTER request has timed out in case of no final response is received.

TPId: SIP_RG_RT_V_011 Status: Mandatory Ref: 10.2 [1] Purpose: Ensure that the IUT having sent a REGISTER request, will increment the CSeq value by one in the next new REGISTER request with the same Call-ID.

ETSI

SIST-TS TS 102 027-1 V2.1.1:2004

14 ETSI TS 102 027-1 V2.1.1 (2003-10)

TPId: SIP_RG_RT_V_012 Status: Recommended Ref: 10.2.4 [1] Purpose: Ensure that the IUT, already registered, sends at least one REGISTER request, during the shortest lifetime indicated in the Contact parameters of the Success (200 OK) response it has received, using the same Call-ID as in the previous REGISTER request.

TPId: SIP_RG_RT_V_013 Status: Recommended Ref: 10.2.2 [1] Purpose: Ensure that the IUT, in order to remove an existing binding sends a REGISTER request, with Expires parameter set to zero in the Contact headers or an Expires header set to 0 when Contact field is set to "*".

5.2.2 Registrar

GroupSelection: IUT is a proxy or a redirect server entity

5.2.2.1 Valid Behaviour

TPId: SIP_RG_RR_V_001 Status: Mandatory Ref: 10.3 [1] Purpose: Ensure that the IUT on receipt of a REGISTER and without user name in the Request-URI, sends a Success (200 OK) response, containing all current bindings listed in the Contact header, with the expires parameter for each Contact value.

TPId: SIP_RG_RR_V_002 Status: Mandatory Ref: 10.3 [1] Purpose: Ensure that the IUT on receipt of a REGISTER request including multiple Contact header sends a Success (200 OK) response, and adds these addresses to the current bindings list.

TPId: SIP_RG_RR_V_003 Status: Mandatory Ref: 10.2 [1], 10.3 [1] Purpose: Ensure that the IUT on receipt of a successive REGISTER with the same Call-ID but with different Contact header answers successively each of them with a Success (200 OK) response, and adds these addresses to the current bindings list.

ETSI

SIST-TS TS 102 027-1 V2.1.1:2004

15 ETSI TS 102 027-1 V2.1.1 (2003-10)

TPId: SIP_RG_RR_V_004 Status: Optional Ref: 10.2 [1], 10.3 [1] Purpose: Ensure that the IUT on receipt of a REGISTER request including a From header addressing a different entity than that addressed by the To header (third party registration), sends a Success (200 OK) response.

TPId: SIP_RG_RR_V_005 Status: Mandatory Ref: 10.2 [1], 10.3 [1] Purpose: Ensure that the IUT on receipt of periodic REGISTER request with the same Call-ID and Contact header, and with an increasing CSeq number answers each of them with a Success (200 OK) response.

TPId: SIP_RG_RR_V_006 Status: Mandatory Ref: 10.3 [1], 10.2 [1] Purpose: Ensure that the IUT when the UA is already registered, on receipt of REGISTER request without Contact header, sends a Success (200 OK) response including the expiration time of the registration in an expires parameter in theContact header.

TPId: SIP_RG_RR_V_007 Status: Mandatory Ref: 10.3 [1], 10.2 [1] Purpose: Ensure that the IUT on receipt of a REGISTER request including an Expires header, sends a Success (200 OK) response.

TPId: SIP_RG_RR_V_008 Status: Mandatory Ref: 10.3 [1], 10.2 [1] Purpose: Ensure that the IUT on receipt of a REGISTER request including an Expires parameter in the Contact header, sends a Success (200 OK) response.

TPId: SIP_RG_RR_V_009 Status: Mandatory Ref: 10.3 [1], 20.10 [1] Purpose: Ensure that the IUT on receipt of a REGISTER request including a Contact header without display name, sends a Success (200 OK) response.

ETSI

SIST-TS TS 102 027-1 V2.1.1:2004

16 ETSI TS 102 027-1 V2.1.1 (2003-10)

TPId: SIP_RG_RR_V_010 Status: Mandatory Ref: 10.3 [1] Purpose: Ensure that the IUT when a binding already registered, on receipt of a REGISTER request including a Contact header set to * and an Expires header set to zero, and Call-ID is the same as the stored Call-ID value and CSeq is greater than the stored CSeq value of that binding, removes that binding and sends a Success (200 OK) response.

TPId: SIP_RG_RR_V_011 Status: Mandatory Ref: 10.3 [1] Purpose: Ensure that the IUT when a binding already registered, on receipt of a REGISTER request including a Contact header set to * and an Expires header set to zero, and Call-ID is different from the stored Call-ID value of that binding, removes that binding and sends a Success (200 OK) response.

TPId: SIP_RG_RR_V_012 Status: Mandatory Ref: 10.3 [1] Purpose: Ensure that the IUT when a binding already registered, on receipt of a REGISTER request including a Contact header set to an address which is not in the bindings list, and the received expiration time other than zero, and Call-ID is different from the stored Call-ID value of that binding, adds that binding to the list and sends a Success (200 OK) response.

TPId: SIP_RG_RR_V_013 Status: Mandatory Ref: 10.3 [1] Purpose: Ensure that the IUT when a binding already registered, on receipt of a REGISTER request including a Contact header set to an address which is in the bindings list with a Call-ID different from the value stored for that binding, and an expiration time other than zero, sends a Success (200 OK) response.

TPId: SIP_RG_RR_V_014 Status: Mandatory Ref: 10.3 [1] Purpose: Ensure that the IUT when a binding already registered, on receipt of a REGISTER request including a Contact header set to an address which is in the bindings list with a Call-ID different from the value stored for that binding, and an expiration time set to zero, deletes that binding and sends a Success (200 OK) response.

ETSI

SIST-TS TS 102 027-1 V2.1.1:2004

17 ETSI TS 102 027-1 V2.1.1 (2003-10)

TPId: SIP_RG_RR_V_015 Status: Mandatory Ref: 10.3 [1] Purpose: Ensure that the IUT when a binding already registered, on receipt of a REGISTER request including a Contact header set to an address which is in the bindings list with the same Call-ID as the value stored for that binding, CSeq is greater than the stored CSeq value of that binding, and an expiration time other than zero, sends a Success (200 OK) response.

TPId: SIP_RG_RR_V_016 Status: Mandatory Ref: 10.3 [1] Purpose: Ensure that the IUT when a binding already registered, on receipt of a REGISTER request including a Contact header set to an address which is in the bindings list with the same Call-ID as the value stored for that binding, CSeq is greater than the stored CSeq value of that binding, and an expiration time equal to zero, deletes that binding and sends a Success (200 OK) response.

TPId: SIP_RG_RR_V_017 Status: Mandatory Ref: 10.3 [1] Purpose: Ensure that the IUT when a call is currently established, on receipt of a REGISTER request, sends a Success (200 OK) response.

TPId: SIP_RG_RR_V_018 Status: Recommended Ref: 10.3 [1] item 3 and 22.2 [1] Purpose: Ensure that the IUT on receipt of a REGISTER request not including an Authorization header field, sends an Unauthorized (401 Unauthorized) response, containing a WWW-Authenticate header.

TPId: SIP_RG_RR_V_019 Status: Recommended Ref: 10.3 [1] item 4 Purpose: Ensure that the IUT on receipt of a REGISTER request, but the authenticated user not authorized to modify this address-of record, sends a Forbidden (403 Forbidden) response. ETSI

SIST-TS TS 102 027-1 V2.1.1:2004

18 ETSI TS 102 027-1 V2.1.1 (2003-10)

5.2.2.2 Invalid Behaviour

TPId: SIP_RG_RR_I_001 Status: Mandatory Ref: 10.3 [1] Purpose: Ensure that the IUT on receipt of a REGISTER request including a To header from which the extracted address-of-record is not valid for the domain in the Request-URI, sends a Request Failure (404 Not Found) response.

...