Top Banner
CS8 Mobile Device Test System CS8-TS-VOLTE-GSMA/CS8-TS-VOLTE-IMTC User Manual
18

CS8 Mobile Device Test System - Spirent · IMS Message Flow .....5 2.3.1. Opening IMS Message Flow Scripts ... Spirent CS8 Mobile device Test System comes with Reference Test Packs

Apr 06, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: CS8 Mobile Device Test System - Spirent · IMS Message Flow .....5 2.3.1. Opening IMS Message Flow Scripts ... Spirent CS8 Mobile device Test System comes with Reference Test Packs

CS8 Mobile Device Test System CS8-TS-VOLTE-GSMA/CS8-TS-VOLTE-IMTC

User Manual

Page 2: CS8 Mobile Device Test System - Spirent · IMS Message Flow .....5 2.3.1. Opening IMS Message Flow Scripts ... Spirent CS8 Mobile device Test System comes with Reference Test Packs

Spirent 541 Industrial Way West Eatontown, NJ07724USA

Email: [email protected] Web: http://www.spirent.com

AMERICAS1-800-SPIRENT •+1-818-676-2683 •[email protected] EUROPE AND THE MIDDLE EAST+44 (0) 1293 767979 •[email protected] ASIA AND THE PACIFIC +86-10-8518-2539 •[email protected]

This manual applies to CS8 Version 1.20 or higher.

Page Part Number: 71-006843, Version A0

Copyright© 2012 Spirent. All Rights Reserved.

All of the company names and/or brand names and/or product names referred to in this document, in particular, the name “Spirent” and its logo device, are either registered trademarks or trademarks of Spirent plc and its subsidiaries, pending registration in accordance with relevant national laws. All other registered trademarks or trademarks are the property of their respective owners.

The information contained in this document is subject to change without notice and does not represent a commitment on the part of Spirent. The information in this document is believed to be accurate and reliable; however, Spirent assumes no responsibility or liability for any errors or inaccuracies that may appear in the document.

Page 3: CS8 Mobile Device Test System - Spirent · IMS Message Flow .....5 2.3.1. Opening IMS Message Flow Scripts ... Spirent CS8 Mobile device Test System comes with Reference Test Packs

Table of Contents

1. Introduction .......................................................................................... 2

1.1. Overview ........................................................................................... 2

1.2. Support Information ........................................................................... 2

1.3. References ........................................................................................ 2

1.4. Test Execution Diagram ...................................................................... 3

2. VoLTE Functionality Testing................................................................... 4

2.1. Overview ........................................................................................... 4

2.2. Supported Platforms .......................................................................... 4

2.3. IMS Message Flow ............................................................................. 5

2.3.1. Opening IMS Message Flow Scripts ......................................................... 6

2.3.2. Editing the IMS Message Flow ................................................................ 7

2.3.3. Generating a Script ................................................................................ 7

2.3.4. Saving an IMS Message Flow ................................................................ 10

2.3.5. Key Parameters and Tips ...................................................................... 10

2.4. IMS-related API ................................................................................ 13

2.5. Additional Information ..................................................................... 14

2.6. Test Step Diagram ............................................................................ 16

Page 4: CS8 Mobile Device Test System - Spirent · IMS Message Flow .....5 2.3.1. Opening IMS Message Flow Scripts ... Spirent CS8 Mobile device Test System comes with Reference Test Packs

1. Introduction

1.1. Overview

Spirent CS8 Mobile device Test System comes with Reference Test Packs that provide a test environment ready for testing VoLTE scenarios with minimum customization. It also includes various possibilities to be explored with a versatile tool kit.

Sub Feature Test Case No. Test Objective

SIP registration procedure

4101 Verify if the UE performs IMS registration

4102 Verify that UE includes IMS Communication Service Identifier (ICSI) value for Voice Call using procedures as defined in section 5.1.1.2.1 of 3GPP TS 24.229

Authentication/Security

4201 Verify UE and IMS core network must follow the procedures for authentication with IMS Authentication and Key Agreement (IMS-AKA), Sec-Agree and IPSec.

4204 Verify that IM Services Identity Module (ISIM) based authentication is supported on DUT

4205 Verify that USIM based authentication is supported on DUT

Call Establishment and Termination

4301 UE and IMS core network must support for establishment and termination of a call.

4302 Verify that UE must use an ICSI value, the ICSI value used must indicate the IMS Multimedia Telephony service

1.2. Support Information

If you have any questions or concerns, contact Spirent Technical Support at support.spirent.com, or by phone at 1-800-SPIRENT.

1.3. References

[1] Test Manager User Manual

[2] CS8 Development Library SDK API Reference Manual

[3] CS8 Development Library UI 2.0 User Manual

[4] CS8 Test Sets Reference Manual

[5] CS8 Reference Test Sets User Manual

Page 5: CS8 Mobile Device Test System - Spirent · IMS Message Flow .....5 2.3.1. Opening IMS Message Flow Scripts ... Spirent CS8 Mobile device Test System comes with Reference Test Packs

Chapter One: Introduction | 3

1.4. Test Execution Diagram

The diagram below presents the sequence of operations performed during the execution of a test suite from Test Manager.

Validate Suite

Start Session

Connect to the Instruments

End Session

Success

Execute Tests

Disconnect from Instruments

Failure

Failure

Success

Page 6: CS8 Mobile Device Test System - Spirent · IMS Message Flow .....5 2.3.1. Opening IMS Message Flow Scripts ... Spirent CS8 Mobile device Test System comes with Reference Test Packs

2. VoLTE Functionality Testing

2.1. Overview

This test suite is designed to verify IMS performance for IMS-based voice over LTE. It provides general test scenarios based on both GSMA and IMTC specifications to test UE behavior. As LTE adopts “entire packet switched” architecture, legacy circuit switched services are no longer supported. The voice within LTE now has to be done over IP. IMS, a framework for IP based services, is a good solution.

The CS8 system has integrated basic LTE network and IMS-specific network elements to meet the demands of VoLTE testing. You can customize IMS signaling procedures as needed with the help of the CS8 IMS Message Flow Composer, and realize real media exchanges between the UE and IMS server.

The VOLTE-GSMA/IMTC test suites enable you to test the UE for a series of interactive procedures:

• VoLTE-GSMA-SIP Registration Procedure

• VoLTE-GSMA-Authentication/Security

• VoLTE-GSMA-Call Establishment and Termination

• VoLTE-GSMA-Voice Call

• VoLTE-IMTC-Voice Call

2.2. Supported Platforms

The Reference Test Packs support the following platforms:

• E2010S

• SR3620 Landslide PDSN Emulator (R610)

• SR3920 V2 Application Server (R610)

• Cisco 1921 Router

• Dell 6248 Switch

Page 7: CS8 Mobile Device Test System - Spirent · IMS Message Flow .....5 2.3.1. Opening IMS Message Flow Scripts ... Spirent CS8 Mobile device Test System comes with Reference Test Packs

Chapter Two: Functionality Testing | 5

Figure 2-1: VoLTE Platform Diagram

2.3. IMS Message Flow

For each VoLTE test case, you must include an IMS Message flow script. Figure 2-2 shows a typical IMS message flow.

Page 8: CS8 Mobile Device Test System - Spirent · IMS Message Flow .....5 2.3.1. Opening IMS Message Flow Scripts ... Spirent CS8 Mobile device Test System comes with Reference Test Packs

6 | CS8 – VoLTE: User Manual

Figure 2-2: Typical IMS Message Flow Diagram

Every IMS message flow script should be created, modified and saved using the CS8 IMS Message Flow Composer. Creating the script with any other program may result in errors while executing the test case.

2.3.1. Opening IMS Message Flow Scripts

Begin a new script or open an existing script by selecting File>New, or File>Open, as shown in Figure 2-3. You can also use the toolbar shortcuts, as shown in Figure 2-4.

Figure 2-3: Creating a New Script using the File Menu

Page 9: CS8 Mobile Device Test System - Spirent · IMS Message Flow .....5 2.3.1. Opening IMS Message Flow Scripts ... Spirent CS8 Mobile device Test System comes with Reference Test Packs

Chapter Two: Functionality Testing | 7

Figure 2-4: Creating a New Script using Toolbar Shortcuts

Specify the working directory using the Preferences window when opening or saving the script under your expected path, as shown in Figure 2-5.

Figure 2-5: Preferences Window

2.3.2. Editing the IMS Message Flow

When using a script for the first time, you must set the Data Protocol parameter to SIP to support SIP message format, as shown in Figure 2-6.

Figure 2-6: Setting the Data Protocol Parameter

2.3.3. Generating a Script

To generate an executable script, you must perform the steps in the following sections.

Page 10: CS8 Mobile Device Test System - Spirent · IMS Message Flow .....5 2.3.1. Opening IMS Message Flow Scripts ... Spirent CS8 Mobile device Test System comes with Reference Test Packs

8 | CS8 – VoLTE: User Manual

2.3.3.1 Defining the Message Sequence

To generate an executable script:

1. In the Data Message Flow window, select the Sequencing tab, as shown in Figure 2-7. Define the message sequence and related configurations and operations as the test scenario requires. Figure 2-7 shows the message sequence parameters and interactive procedure of a typical MT voice call.

Figure 2-7: Data Message Flow Window – Sequencing Tab

2. The Data Message Flow window includes the following tools to help create a script:

a. Show/Hide Subflows: Add an existing script to current script.

b. Paste Buffer Configuration: Define the name and size of copy-paste buffer.

c. Security Options: Configure authentication related parameters.

d. Sequence Diagram: Show flow chart in form of execution steps.

3. The Sequence Editor provides Command, Transaction Start, Transaction End, Send Event, Wait For Event, and Goto Command options for message definition and interactive operation.

Page 11: CS8 Mobile Device Test System - Spirent · IMS Message Flow .....5 2.3.1. Opening IMS Message Flow Scripts ... Spirent CS8 Mobile device Test System comes with Reference Test Packs

Chapter Two: Functionality Testing | 9

2.3.3.2 Defining the SIP Message

Except interactive operation steps, all the Signaling steps support two kinds of editing methods, the Protocol Wizard, shown in Figure 2-8 and the Message Editor, shown in Figure 2-9.

The Protocol Wizard offers a variety of SIP message templates for GUI development. The Message Editor allows you to edit the message in a plain text environment.

You can transfer your work from the Protocol Wizard to the Message Editor. However, Message Verification, Response Delay, Auto-Fill, and related flow control functions can only be used in the Message Editor.

Figure 2-8: Protocol Wizard

Page 12: CS8 Mobile Device Test System - Spirent · IMS Message Flow .....5 2.3.1. Opening IMS Message Flow Scripts ... Spirent CS8 Mobile device Test System comes with Reference Test Packs

10 | CS8 – VoLTE: User Manual

Figure 2-9: Message Editor

Note that importing messages edited in Protocol Wizard to the Text Editor may reset all flow control configuration to default settings.

2.3.4. Saving an IMS Message Flow

After you save an IMS message flow script, three files with separate suffixes are created under the working directory. These are .dmf, .ts, and .tcl files. The .ts file is the executable file for test case.

When using and modifying a script for the first time, you must save the script to create a .ts file for test case execution.

2.3.5. Key Parameters and Tips

• VoLTE Feature Password A password is required for running an IMS message flow script. Without it, CS8 IT can upload a script but not run it. In such situation, even if UE sends out SIP message, no response from the network appears.

Page 13: CS8 Mobile Device Test System - Spirent · IMS Message Flow .....5 2.3.1. Opening IMS Message Flow Scripts ... Spirent CS8 Mobile device Test System comes with Reference Test Packs

Chapter Two: Functionality Testing | 11

• Enabling Flow Control Functions If the request message is designed to be verified before sending response, make sure to enable the function "Receiving end should verify message". Similarly, Auto-Fill function has to be enabled by clicking on the button "Enable Regular Expression Search Patterns", otherwise all the auto-fill value will be left blank during execution.

Figure 2-10: Enabling Flow Control Functions

• Using the Auto-Fill Function There are ten buffer fields available for the Auto-fill function, as shown in Figure 2-11. The last three fields are reserved for storing session and media information.

reserved_1 -- IP address of Caller

reserved_2 -- Transport Port of Caller

reserved_3 -- Media Type of Session The data extracted from a request can be inserted into the related response, as shown in Figure 2-12.

Figure 2-11: Using the Auto-fill Function

Figure 2-12: Entering Data into the Request Response

• Formats

Copy: 8-bit Binary

Paste: Binary

Other: ASCII/String

Page 14: CS8 Mobile Device Test System - Spirent · IMS Message Flow .....5 2.3.1. Opening IMS Message Flow Scripts ... Spirent CS8 Mobile device Test System comes with Reference Test Packs

12 | CS8 – VoLTE: User Manual

• User_Defined_Event The script supports event exchanges to an external component. Usually, the internal event is used for interaction between the main and sub flow while the external event is designed to realize flow control between the test case and the message sequence. The event can be sent to CS8 IT, and further forwarded to Test Manager; with the exception of “User_Defined_Event10”, which is reserved for dynamic distribution of bearer resource. Likewise, the script supports receiving an event from CS8 IT and moving on with the message flow. [User_Defined_Event10] As Figure 2-13 shows, this event can send an establishment request or release request for bearer resource to CS8 IT. Session and media information obtained from the INVITE message and pre-cache to buffer must be included with the event.

Figure 2-13: Adding Event Information

• UDP Server Address and Port for RTP/RTCP Traffic

IPv6: fd00:0:20:1:0:4543:484f:1/2/3

IPv4: 192.168.254.1/2/3

RTP Port: 7000

RTCP Port: 7001

• Realizing Authentication In the Security Options window, enter the required authentication information, as shown in Figure 2-14. The system can then automatically monitor and complete an AKA calculation using the Auto-fill function, a user-target will be auto inserted into a 401 message.

Page 15: CS8 Mobile Device Test System - Spirent · IMS Message Flow .....5 2.3.1. Opening IMS Message Flow Scripts ... Spirent CS8 Mobile device Test System comes with Reference Test Packs

Chapter Two: Functionality Testing | 13

Figure 2-14: Security Options Window

2.4. IMS-related API

To open IMS related API commands, under the Spirent Interactive Editor, select DLSMain>SS>Network>IMS[]>IMS, as shown in Figure 2-15.

Figure 2-15: Spirent Interactive Editor – IMS-related API Commands

Page 16: CS8 Mobile Device Test System - Spirent · IMS Message Flow .....5 2.3.1. Opening IMS Message Flow Scripts ... Spirent CS8 Mobile device Test System comes with Reference Test Packs

14 | CS8 – VoLTE: User Manual

The following APIs are RTP-related and need to work under a specific system environment:

• GetVOIPTrafficExistence

• GetVoiceCodecInfo

• GetRTPTransferInterval

• LogEthernetPacket

For the specific settings, refer to Section 2.5.

For more information on individual API commands, refer to the DLS API Manual.

2.5. Additional Information

The following tips can assist you in configuring a VoLTE-related test case.

1. SIP related query should be called in the sequence of what real SIP message comes. For example, there are three SIP messages, A, B and C. A is the first message, C is the last message. When we want to check those messages, we need to call QueryA, QueryB and QueryC in this order. If we call QueryB, QueryA and QueryC, the QueryA will fail.

2. A SIP message could be queried for several times by setting "METHOD" type to "CURRENT" in GetSIPMessage. For example, if you want to query header a1, a2 and a3 in message A, you can use GetSIPMessage with method A and header a1 in the first step, then GetSIPMessage with method CURRENT and header a2 in the second step, and GetSIPMessage with method CURRENT and header a3 in the third step.

3. GetSIPMessage is normally used to query a single message is or is not exist, a header is or is not exist in a message, a header value is or is not not exist in the specify message.

4. GetSIPMessages is commonly used to query a pair of messages such as an INVITE and 200 OK.

5. GetSIPMessageWithSDP is used to query the SDP content in a message.

6. There are additional configurations that need to be set on the Dell Switch to use RTP traffic-related APIs. The purpose of these settings is to mirror the Echo server data to the Control PC shown in Figure 2-1. In this case, you can use the APIS Control PC to capture and analyze the RTP log. The setting steps are:

a. Connect to the switch through HyperTerminal.

b. Type enable to turn on the admin mode on the switch.

c. Type show monitor session 1 to show current port binding.

d. Type config to configure the ports.

Page 17: CS8 Mobile Device Test System - Spirent · IMS Message Flow .....5 2.3.1. Opening IMS Message Flow Scripts ... Spirent CS8 Mobile device Test System comes with Reference Test Packs

Chapter Two: Functionality Testing | 15

e. Type no monitor session 1 destination interface to remove all old destination port information.

f. Type no monitor session 1 source interface to remove all old source port information.

g. Type monitor session 1 source interface 1/gXX (where XX is the physical port number on switch that connect to landslide. Usually, the Landslide port number is 15. Check the cable on the Dell switch.)

h. Type monitor session 1 destination interface 1/gXX (where XX is the physical port number on switch that connects to the extra controller pc. Usually, the extra Controller port number is 36. Check the cable on the Dell switch.)

i. Type monitor session 1 mode to enable admin mode for the mirror port.

j. Type exit to disable the config option.

k. Type show monitor session 1 to verify the port information displays as shown below:

Session ID Admin Mode Probe Port Mirrored Port Type

---------- ---------- ---------- ------------- -----

1 Enable 1/g36 1/g15 Rx,Tx

l. Add a USB-to-Ethernet adaptor or normal Ethernet card on the Controller PC. Connect to the extra controller port of the Dell switch.

m. Assign 192.168.0.210 as the IPv4 address to USB-to-Ethernet adaptor/Ethernet card on the Controller PC.

n. All RTP/RTCP traffic can be captured on the Controller PC.

Page 18: CS8 Mobile Device Test System - Spirent · IMS Message Flow .....5 2.3.1. Opening IMS Message Flow Scripts ... Spirent CS8 Mobile device Test System comes with Reference Test Packs

16 | CS8 – VoLTE: User Manual

2.6. Test Step Diagram

NOTE: The query step order for an SIP message must follow the real IMS message flow.

Initialize CS8 System

Configurate IMS Network

Load IMS Message Flow Script

Start Call Processing

Power On UE

Query UE Attach State

Query IMS Registration State

Establish Voice Call

Query Call Connection State

Speak/Transmit Voice Data

Terminate Voice Call

Clean Up CS8 System