Testsing Concurrent Software Behavior Based on Cpn and TTCN-3
- Author
- XiaXingXing
- Advisor
- LiHua
- School
- Inner Mongolia University
- Major
- Computer Science and Technology
- Classification
- TP311.53 Software Maintenance
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 1
- Citations
- 0
Abstract
During the whole lifecycle of software development, software testing is one of the key links to ensure software quality. With the development of distributed systems, the test method of concurrent software has been being widely concerned and discussed. Due to the complexity of interactive behavior, the concurrent behavior of the software is inconclusive and not repeatable, and which will bring many difficulties to the test work. Aiming at this problem, this dissertation proposed a method which can effectively solve the problems of concurrent software testing. The mainly contents of dissertation are as follows:(1) Based on the hierarchical modeling of CPN, software with concurrent features was developed.(2) By using a reduction algorithm to the model reduction, the state space of the model is greatly reduced, and which is conducive to test generation. The comparison result of state reports before and after reduction validates the efficiency of the simplification algorithm to simplify the concurrent software model.(3) A test sequence generation algorithm was proposed, which generates the test sequence of two nodes by determining the location of the initial node and the terminal node in state space of concurrent behavior measured, and making the initial node and the terminal node paired according to whether existing the predecessor and successor relationships to reduce the number of nodes.(4) According to the generated test sequence, TTCN-3test cases were worked out to test the software concurrent behavior. Experimental results showed that the method of testing software concurrent behavior has certain validity and general versatility.
Table of contents
Summary 4-5
ABSTRACT 5-11
Chapter 1 Introduction 11-14
1.1 Background 11-12
1.2 and the main research work 12
1.3 thesis structure 12-14
chapter background 14-22
2.1 concurrent software-related research 14-16
2.1.1 basic Concepts of concurrent 14
2.1.2 concurrent program concepts and features 14
2.1. 3 concurrent software Overview 14-15
2.1.4 CPN -based modeling software for concurrent review 15-16
2.2 Coloured Petri Nets and CPN Tools About 16 -20
2.2.1 Coloured Petri Nets Profile 16-19
2.2.2 CPN Tools About 19-20
2.3 TTCN-3 Introduction and Overview nbsp TTWorkbench ; 20-21
2.3.1 TTCN-3 Introduction 20
2.3.2 TTWorkbench About 20-21
2.4 Summary 21 formal modeling -22
Chapter III of concurrent software 22-38
3.1 file transfer software system introduced 22-24
3.1.1 file Transfer software functional Overview 22
3.1.2 file Transfer system Architecture Overview 22-24 hierarchical framework
3.2 CPN model of concurrent software 24-26
3.3 data Modeling CPN -level modeling 26-28
3.4 concurrent software 28-36
3.4.1 Top layer model 28
3.4.2 Seed node model 28-29
3.4.3 Send_s model 29-30
3.4.4 Receive_s model 30-31
3.4 .5 Peerl node model 31-33
3.4.6 Send_1 model 33-34
3.4.7 Receive_1 model 34-35
3.4. 8 Peer2 node model 35-36
3.5 state space 36-37
3.6 Summary 37-38
CPN model based on Chapter IV simplification 38-46
4.1 Petri net state explosion problem analysis 38
4.2 Petri net state explosion problem associated methods 38-40
4.2 .1 current mainstream analysis techniques 38
4.2.2 technology-based system model 38-39
4.2.3 based on stochastic Petri nets technology 39-40
4.3 simplification introduced layers model 40-41
4.4 the simplified 41-44
4.5 simplified model state space before and after contrast 44-45
4.6 Summary 45-46
Chapter V test sequence generation 46-55
5.1 CPN attribute -based test sequence generation algorithm generate 46-53
5.2 concurrent software testing sequence 53-54
5.3 Summary 54-55
based on Chapter VI TTCN software testing 55-65
6.1 test sequence to TTCN-3 test set conversion 55-57
6.2 test implementation and test results 57-64
6.3 summary 64-65
seventh chapter summary and outlook 65-66
7.1 summarizes 65
7.2 for the future Looking research directions 65-66
References 66-69
Appendix 1 simplified model generation of the state space 69-70
Appendix 2 according to the proposed test sequence generation algorithm to generate test sequences 70-71
Thanks published during 71-72
pursue a master's papers 72-73 <br / > participate in the project 73
Related dissertations
- Conformance Test Study of HMIPv6 Protocol Based on CPN and TTCN-3
- Cloud Migration Suitability Simulation and Analysis Based on Enterprise Achitechture
- The Research on the Method of Artificial Video Text Extraction Based on CPN
- Design and research of testing system of MPLS L2VPN protocol based on TTCN-3
- Early Water Damage Evaluation for Highway Asphalt Pavement by Ground Penetrating Radar
- Research on the Test Methods for on-board Equipment of Train Control System Based on Hybrid Fault Injection
- Incentive Mechanism Study of Bittorrent Protocol Based on CPN
- TTCN-3Test Suits Generation Approach for Corba Network Management Interfaces
- Research on Conformance Testting of LDP Protocol Based on E-Lotos
- Design and Implementation for Consistency Test Tool of DSRC Standard Based on ETC
- The Research and Implementation of Realtime Testing in TTCN-3System
- Reconstruction of the Tool of TTCN-3Test Suite Automatic Generation Based on GFT
- Design and Implementation of TTCN-3Adapter Library Management System
- Design and Codec Sotfware Implementaiton of Testing System for High Performance Network over Coax
- The Research on TTCN-3CoDec Automatically Generator
- Design and Implementation of TTCN-3Code Generation Platform Based on Model Driven Testing
- The Research and Implementation of ERP Testing Based on TTCN-3
- Design and Implementation of Az Interface Test Cases in TETRA Digital Trunked System
- CPN Modeling and Analysis of Adaptive Radio Resource Management in OFDMA System
- Design and Implement of Codec Scheme of Adapter in Td-Lte Terminal Test System Based on Ttcn-3