• No results found

Evaluation of Model-Based Testing in 3G Mobile Networks Software Development. Agile and Automated Testing Seminar

N/A
N/A
Protected

Academic year: 2021

Share "Evaluation of Model-Based Testing in 3G Mobile Networks Software Development. Agile and Automated Testing Seminar"

Copied!
18
0
0

Loading.... (view fulltext now)

Full text

(1)

Evaluation of Model

Evaluation of Model

-

-

Based Testing in

Based Testing in

3G Mobile Networks

3G Mobile Networks

Software Development

Software Development

Agile and Automated Testing Seminar

15.08.2006

(2)

Agenda

Agenda

Introduction

Tested software (Mobile Media Gateway)

System Architecture

System adapter

UML Test Model of IMRA

Study on Model Based Testing

(3)

Introduction

Introduction

Thesis subject:

Evaluation of Model-Based Testing in 3G Mobile Networks Software Development

Academic history

Tampere University of Technology

Master of Science in Communications Engineering

Boston University

Bachelor of Science in Computer Systems Engineering

Soccer ☺

Professional experience

Oy LM Ericsson Ab, Finland

January 2005 - Present

Nokia Mobile Phones, Finland

(4)

Thesis work

Thesis work

System Under Test (SUT)

IMRA (Interactive Messaging Resource Access)

Test Tool (

Conformiq Software Test Generator

)

UML state diagrams

XML Test Logs

Research work

1. Model-based testing

tool integrated

to Real-Time

Operating System (SimCello)

2. State diagram

test model

of IM RA’s basic use case

(5)

Mobile Media Gateway

Mobile Media Gateway

WCDMA

WCDMA

GSM

GSM

ISDN/PSTN

ISDN/PSTN

MSC

Server

GMSC

Server

TSC

Server

MGw/

SGw

MGw/

SGw

MGw/

SGw

MGw/

SGw

Backbone network

TDM, ATM, IP

HLR

MGw/

SGw

MGw/

SGw

MGw/

SGw

MGw/

SGw

WCDMA

WCDMA

GSM

GSM

ISDN/PSTN

ISDN/PSTN

Signaling

Payload

Control Layer

WCDMA

WCDMA

GSM

GSM

ISDN/PSTN

PSTN

MSC

Server

GMSC

Server

TSC

Server

MGw/

SGw

MGw/

SGw

MGw/

SGw

MGw/

SGw

Backbone network

TDM, ATM, IP

HLR

HLR

MGw/

SGw

MGw/

SGw

MGw/

SGw

MGw/

SGw

WCDMA

WCDMA

GSM

GSM

ISDN/PSTN

PSTN

Signaling

Payload

Connectivity Layer

Control Layer

• Layered architecture

Control Layer – signaling information

Connectivity Layer – data transfer

(6)

Interactive Messaging

Interactive Messaging

”1234567890”

1.

Send Request

2.

Configuration

3.

Play Request

MSC

(Media Gateway Controller)

Media Gateway

CPF

(Control Plane Functions)

IM RA

O&M

DSP

1

2

3

4. “Number you dialled

can’t be reached.”

(7)

System Architecture

System Architecture

TCP/IP

C++

OSETestPort

CTGTestPort

IMRA

Real-Time

Operating System

Test Generator

(CTG)

TITAN

(TTCN-3 RTE)

OSE Delta Signal

Datum Signal

System Adapter

System

Under

Test

Library

(8)

System Adapter

System Adapter

WIN

CTG

CTG

Adapter

CTG

TestPort

TITAN

RTE

OSE

TestPort

OSE

Gateway

IM RA

CTGTestPort.cc

mCTGAdapter

Run()

(1)

Install_Handler ()

Event_Handler ()

(3)

TITAN Polling 0,5 s

mCTGAdapter

Send ()

(4)

Solaris

OSE

CTGAdapter.cc

Receive()

(2)

vector<OSESignal> incomingMessages;

Send ()

(5)

Generate Datum

Send to CTG

(9)

UML Test Model of IMRA

(Interactive Messaging Resource Access)

• IMRA Client

• Configuration

• Activate IMRA

(10)

Educational Test Model

Educational Test Model

1) What is the test coverage of MBT?

2) Learning benefits?

3) Implementation?

While (this is true)

{

if (m_singleEventLoopThead.Ptr(true)) {

send(m_nColor = = GRAY){

m_nColor = WHITE;

}

if {

send(m_nColor = GRAY_BRUSH);

}

}

Wait for Signal 1

Ready

singleEventLoop(?varaible, ?variable2)

/env: signal(int1, int2, int3)

(11)

Educational Test Model

Educational Test Model

1.

Group Study: 15 professional testers

Written questionaire

Group interview

2.

Independent Consultant

Expertise in software testing

3.

M-MGw software architect

Interviewed

How testers and designers understand state diagram test model?

Analyse the results using Qualitative research methods

(12)

Qualitative Study

Qualitative Study

0

1

2

3

4

5

6

Number of

Testers

0

1

2

3

4

Written Questionaire

Written Questionaire:

94 % answered 2 or more

questions right

Good learning curve in short time!

(15 minutes)

Question 3 not taken into account

Interviews:

Positive reaction to the model

Uncertainty of what is tested

(More information: ”Evaluation of Model-Based Testing in 3G Mobile Networks Software Development”

Question 1: What signal starts the test suite?

Question 2: Who sends this signal (CTG or IM RA)?

Question 3: Inside the CONFIGURATION -state

there is yet two layers of states. Which state in these

two layers is the most important state? Why?

Question 4: How many total test cases are been run?

Question 5: In the Passed case(s), what happens?

(13)

Conclusion

Conclusion

Proved that state diagrams can be used for testing 3G

mobile networks functionality.

Testers:

”Need to see the tool.”

Consultant:

”Model is clear and easy to understand. It is logical!”

Architect:

(14)

Questions?

(15)

Contact

Contact

Markus Räisänen

Systems Tester

Oy LM Ericsson Ab, Finland

Phone: +358-(0)9-299 3144

(16)
(17)

Appendix

Appendix

MGC

Media Gateway Controller

M-MGw

Mobile Media Gateway

IM RA

Interactive Messaging Resource Access

O&M

Operations and Maintenance

SUT

System Under Test

DSP

Digital Signal Processor

(18)

Appendix

Appendix

Model-based testing tools:

TorX

Leirios Test Generator

Model-based testing languages:

Abstract State Machine Language (AsmL)

Test Generation with Verification (TGV)

References

Related documents

(c) Precision layer wound. 3) The Drive Rolls and Liner. Check the drive rolls are of the correct size for the wire and that the pressure is only hand tight, or just sufficient

Due to the advancement of technology in society and the increasing number of school systems implementing one-to-one computing, much research has been done to study its effects

Keywords: cocaine, drugs, smuggling, China, Fujian, Xiamen, Singapore, India, Japan, maritime history, East Asia, Southeast Asia.. In September 1928, at a railway station in

These funds may be able to provide credit to businesses when other forms of debt capital (e.g., senior, second lien and junior debt) are simply not available. In addition,

The VA/DoD Clinical Practice Guideline (CPG) for the Management of Substance Use Disorder (SUD) Toolkit (hereinafter referred to as the SUD tool kit) Training was developed

Therefore, This study will examine the novels using sexism theories to find out the sexism that reflected to female characters in entire The Chronicles of Narnia novel series and

Relationship between Age and locus of control orientation among HIV positive women in Thika sub-county, Kenya.. Jacinta Nduta King’ori 1 Lydia Nduku Mutua 2 Department

(2) for a second offense, the person shall be suspended from all sports for the remainder of that sport season (middle school, junior high, varsity or junior varsity).