automated test design in mss protocol · pdf fileautomated test design in mss protocol testing...

15
1 © Nokia Siemens Networks Soc Classification level PM Fórum / 2010. április 8 Automated Test Design in MSS Protocol Testing June 10th 2010 Ohjelmistotestauksen teemapäivä, TUT Szilard Szell Nokia Siemens Networks Jani Koivulainen Conformiq

Upload: duongque

Post on 07-Mar-2018

221 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Automated Test Design in MSS Protocol · PDF fileAutomated Test Design in MSS Protocol Testing ... MSC Server (MSS) –Testing ... Traffic Generator (TEL, MML) TEL Scripts (.lst, .tel)

1 © Nokia Siemens Networks

Soc Classification level

PM Fórum / 2010. április 8

Automated Test Design in MSS Protocol TestingJune 10th 2010

Ohjelmistotestauksen teemapäivä, TUT

Szilard Szell – Nokia Siemens Networks

Jani Koivulainen – Conformiq

Page 2: Automated Test Design in MSS Protocol · PDF fileAutomated Test Design in MSS Protocol Testing ... MSC Server (MSS) –Testing ... Traffic Generator (TEL, MML) TEL Scripts (.lst, .tel)

2 © Nokia Siemens Networks

Soc Classification level

PM Fórum / 2010. április 8

The first telephone exchange using the digital electronic switching

system EWSD goes into operation

Built first UMTS network in Europe

Nokia since 1865Siemens since 1847

Nokia's first generation of manual radio telephone systems

Europe's first digital exchange, the DX 200

World's first GSM call made in Radiolinja's network, supplied by Nokia

World's first triple-mode (GSM, EDGE, WCDMA) base station

World's first Multimedia Messaging Service Center

Industry first commercial end-to-end 3GPP IP Multimedia Subsystem

First automaticTelephone exchange

Russian long-distance telephony network

Completion of the Rhineland telephone cable

Construction of Telefunken television set

The beginning of data processing

1855

1905

1921

1935

1957

1980

1950

1967

1982

1991

1999

2001

2004

Roots in paper, rubber, and cables, in just over 100 years Nokia becomes a powerful industrial conglomerate....

Founded 1865Founded 1847

2001

2006Industry first live demonstration of Long Term Evolution

2007

1900

Nokia Siemens Networks: strong tradition in innovation

Page 3: Automated Test Design in MSS Protocol · PDF fileAutomated Test Design in MSS Protocol Testing ... MSC Server (MSS) –Testing ... Traffic Generator (TEL, MML) TEL Scripts (.lst, .tel)

3 © Nokia Siemens Networks

Soc Classification level

PM Fórum / 2010. április 8

The R&D center production chain in Budapest

R&D machinery

Pro

duct

Managem

ent

Custo

mer

TS

& C

uD

o

R&D Units

Architecture

From

requirements…

…to

software

deliveries!

Page 4: Automated Test Design in MSS Protocol · PDF fileAutomated Test Design in MSS Protocol Testing ... MSC Server (MSS) –Testing ... Traffic Generator (TEL, MML) TEL Scripts (.lst, .tel)

4 © Nokia Siemens Networks

Soc Classification level

PM Fórum / 2010. április 8

Challanges in Testing

•Huge amount of existing functionality

– More regression testing need

•Shorter release cycle

– Less time for testing

•More customization

– More specific function for samller targets

•Economy

– Pressure on cost effectiveness

•Quality goals

– No quality sacrifice

Page 5: Automated Test Design in MSS Protocol · PDF fileAutomated Test Design in MSS Protocol Testing ... MSC Server (MSS) –Testing ... Traffic Generator (TEL, MML) TEL Scripts (.lst, .tel)

5 © Nokia Siemens Networks

Soc Classification level

PM Fórum / 2010. április 8

Test Automation

So make it faster, let’s automate

1. Automate Test Execution

Make executable test case scripts

Schedul test run

Collect result

2. Automate Test result analysis

Compare test outcome with expected result

Report test result

Store/Archive result

3. Automate Test Design

Test design specification

Selecting best test techniques

Find optimal coverage

Document test cases

Page 6: Automated Test Design in MSS Protocol · PDF fileAutomated Test Design in MSS Protocol Testing ... MSC Server (MSS) –Testing ... Traffic Generator (TEL, MML) TEL Scripts (.lst, .tel)

6 © Nokia Siemens Networks

Soc Classification level

CONFORMIQ AUTOMATED TEST DESIGN

PM Fórum / 2010. április 8

Page 7: Automated Test Design in MSS Protocol · PDF fileAutomated Test Design in MSS Protocol Testing ... MSC Server (MSS) –Testing ... Traffic Generator (TEL, MML) TEL Scripts (.lst, .tel)

7 © Nokia Siemens Networks

Soc Classification level

Challenges of Manual Test Design

Missed tests

• Can result in product defects

Incorrect tests

• Cause additional test development work

$ Redundant tests

• Cause extra development and maintenance costs

Unknown requirements coverage

• Can result in untested features

$ Frequent changes to specification

• Cause high cost for test suite maintenance

PM Fórum / 2010. április 8

Page 8: Automated Test Design in MSS Protocol · PDF fileAutomated Test Design in MSS Protocol Testing ... MSC Server (MSS) –Testing ... Traffic Generator (TEL, MML) TEL Scripts (.lst, .tel)

8 © Nokia Siemens Networks

Soc Classification level

Automated Test Design

• Model Based Testing (MBT)– An ”umbrella” of approaches that can be used to generate tests from models

• Automated Test Design (ATD)– An approach that uses system model driven MBT to design, document, and

implement tests

• Enables– Faster test development

– Improved test quality

– Wider test coverage & guaranteed requirement coverage

– Cost-effective test maintenance

– Earlier test validation & detection of specificatoin defects

– Independence from test execution environment

PM Fórum / 2010. április 8

Page 9: Automated Test Design in MSS Protocol · PDF fileAutomated Test Design in MSS Protocol Testing ... MSC Server (MSS) –Testing ... Traffic Generator (TEL, MML) TEL Scripts (.lst, .tel)

9 © Nokia Siemens Networks

Soc Classification level

Productivity Improvement

PM Fórum / 2010. április 8

1XManual test design

5XAutomated Test Design in initial

deployment

10–20XAutomated Test Design in subsequent

tested product iterations

Source: average results from customer benchmarks

Page 10: Automated Test Design in MSS Protocol · PDF fileAutomated Test Design in MSS Protocol Testing ... MSC Server (MSS) –Testing ... Traffic Generator (TEL, MML) TEL Scripts (.lst, .tel)

10 © Nokia Siemens Networks

Soc Classification level

SINAP CHARGING PROJECT

PM Fórum / 2010. április 8

Page 11: Automated Test Design in MSS Protocol · PDF fileAutomated Test Design in MSS Protocol Testing ... MSC Server (MSS) –Testing ... Traffic Generator (TEL, MML) TEL Scripts (.lst, .tel)

11 © Nokia Siemens Networks

Soc Classification level

Project Scope and Goals

• Scope of the project

– SUT: MSC Server (MSS)

– Testing objective: SINAP Charging

• Goals of the project

– Introduce the concept of Automated Test Design to NSN IN testing team.

– Demonstrate that automatically designed test suite can be integrated with existing test execution environment.

– Create reusable assets (models and model components for use in deployment) of Automated Test Design.

PM Fórum / 2010. április 8

Page 12: Automated Test Design in MSS Protocol · PDF fileAutomated Test Design in MSS Protocol Testing ... MSC Server (MSS) –Testing ... Traffic Generator (TEL, MML) TEL Scripts (.lst, .tel)

12 © Nokia Siemens Networks

Soc Classification level

PM Fórum / 2010. április 8

CCF SSF

HIT

SINAP

SRF

SCF simulator (IPSL)

MML

VLR

MSS (SUT)

BICC/SIP/ISUP

MAP

CDRs

Model

Traffic Generator (TEL, MML)

TEL Scripts (.lst, .tel)

IPSL Scripts (.ctl .scr)

Test Harness (HIT)

Expected

CDRs

Perl scripts (.pm .pl).log

Charging and basic call analyzer (Perl)

Script templates

SINAP analyzer

IPSL Scripts (.ctl .scr)

Execution logs

Test Architecture

Page 13: Automated Test Design in MSS Protocol · PDF fileAutomated Test Design in MSS Protocol Testing ... MSC Server (MSS) –Testing ... Traffic Generator (TEL, MML) TEL Scripts (.lst, .tel)

13 © Nokia Siemens Networks

Soc Classification level

Results

PM Fórum / 2010. április 8

• Goals reached

1. Introduce Qtronic

2. Integrate Qtronic with HIT

3. Create reusable

assets/model architecture

• Test suite

– Basic call + basic call party

handling + User

Interactons at different call

phases

– 15 test cases/~120 test

steps (~20 functional

requirements)

• 4 issues found

Domain Knowledge

Analysis

Modeling

Adaptation

• Resources spent– Obtain domain knowledge 128 h

– Work with model 45 h

– Analyze system + logs 32h

– Backend work 41 h

Page 14: Automated Test Design in MSS Protocol · PDF fileAutomated Test Design in MSS Protocol Testing ... MSC Server (MSS) –Testing ... Traffic Generator (TEL, MML) TEL Scripts (.lst, .tel)

14 © Nokia Siemens Networks

Soc Classification level

Conclusions

PM Fórum / 2010. április 8

• ATD has a great potential in providing a ”glue” i.e. single point of test case generation.

• ATD enforces understanding and documenting correct system behavior in the form of models.

• ATD with proper model architecture likely to increase test design efficiency.

• In ATD test plans and scripts generated with traceabilitymapping in one go.

Page 15: Automated Test Design in MSS Protocol · PDF fileAutomated Test Design in MSS Protocol Testing ... MSC Server (MSS) –Testing ... Traffic Generator (TEL, MML) TEL Scripts (.lst, .tel)

15 © Nokia Siemens Networks

Soc Classification level

Contact Information

PM Fórum / 2010. április 8

Szilard Szell

[email protected]

Jani Koivulainen

[email protected]