A Method of Test Case Genernation for Web Services Based on Finite State Machine
- Author
- WangRen
- Advisor
- LiShengHong
- School
- Jiangxi University of Finance
- Major
- Computer Software and Theory
- Classification
- TP393.09 The application of computer network
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 101
- Citations
- 1
Abstract
It is a concerning issue of improving and verifying the quality of software with the process of IT and the scale of software. Recently, Web Services have been developed rapidly because of its properties, such as, loosely coupling, simplicity, high compositionality, based standard, opening and industry supporting. Web Services reduces the developing cost because it bridges the gaps of language difference, platform difference, protocol difference and data difference while a system is integrated. But, the reliable quality of the Web Services is one of the key factors for services selection, application and integration, it is important to insure the Web Services quality. Software testing is one of the key technologies that ensure the quality of software. It can find software failures effectively. The core problem is test cases generation in software testing. A good test case not only can effectively find software defects, but also can reduce the workload of software testing. The test cases will be directly related to the efficiency and cost of the Web Service test. With the service-oriented software development technology widely applications and software test automation requirements, model-based software testing is paid attention gradually. Specially, the testing model based on finite state machine has become a hot research field. It can deeply describe the dynamic interactions of information, which are easily understood by the development and testing staff, so it reduces the software testing costs, enhances the efficiency and automation degree of software testing and improves many disadvantages of the traditional testing methods.This thesis presents a Web Services testing model based on Finite State Machine Model (FSM) in order to improve the reliability of Web Services and testing cases can be generated by the model. The main idea is using FSM to describe the Web Services object behaviors and objects interactions in order to generate the Web Services test case. In order to build the Web Services testing model, this paper depicts the middle states of interactions, which are described by the FSM’s nodes, between Web Services and users by means of abstraction the characteristics of Web services and FSM. The FSM’s transitions are expressed by exchanged messages during the interactions. Furthermore, the sequences of exchanged messages of the interaction can be depicted by regular expressions so that testing case can be produced with WSDL description. The algorithm of testing case generation meeting the coverage criteria is presented to enable Web services to generate test cases automatically. The method and algorithm are exemplified by a stock trading service. By means of FSM-based model to build Web service testing model and mixture of formal methods and test coverage criteria, this research can reduce the Web service testing costs, raise the efficiency and automation of Web service testing, it play a certain role to promoting the application of FSM in Web services testing.
Table of contents
Abstract 7-8
Abstract 8-10
1. Introduction 10-17
1.1 Background 10-11 <br / > 1.2 significance 11-12
1.3 research status 12-16
1.4 the main research content 16
1.5 papers structural arrangements 16-17
2. based model for Web services testing methods 17-29
2.1 Web service testing Overview 17-20
2.1 .1 Web services architecture model 17-18
2.1.2 Web service testing difficulties and major challenges 18-19
2.1.3 Web service testing stage of development 19
2.1.4 Web service testing process organizational framework 19-20
2.2 model-Based software testing Overview 20-26
2.2.1 model-based software testing process 21-23
2.2.2 several typical software testing model 23-25 ??
2.2.3 model-based software testing and evaluation 25-26
2.3 model-based analysis of Web services testing methods 26-27
2.4 FSM -based Web service test case generation step 27
2.5 chapter Summary 27-29
3. FSM model based on Web service test model 29-47
3.1 FSM related definitions 29-31
3.2 Web the modeling analysis of formal services 31-32
3.3 Web service extension FSM test model 32-46
3.3.1 Web services model 32-34
3.3.2 Web service composition model 34-46
3.3.2.1 simple structure service composition model 34-45
3.3.2.2 complex structures the service composition model 45-46
3.4 Summary 46-47
4. based on FSM model for Web services test case generation 47-60 <br / > 4.1 basic Concepts 47-48
4.2 regex algebraic representation 48-51
4.3 regex construct 51-53
4.4 FSM model based test coverage criteria 53
4.5 FSM model based test case generation algorithm 53-59
4.6 chapter Summary 59-60 <br / > 5 . example analysis 60-63
6. Summary and Outlook 63-64
References 64-68
master's published during papers 68
master's research project participants during 68-69
Thanks 69
Related dissertations
- Scenario-based Test Cases Generation for Onboard Subsystem
- The Research of Multi-Pattern Matching Algorithms Based on Regular Expressions
- Research and Implementation of Testing Techniques for UML
- Research on the Interconnection Problems of Production Management Data of Enterprise in Supply Chain
- Research on the Impact of Human Resource Management on Employees Performance
- Configuration Modeling and Applications Based on Web
- Research and Design of Intelligent Prosthetic Knee Ankle Coordinated Control System
- Research of Hart Multiplexer and Its Software Design
- Based on Rough Set Web Service Combinatorial Optimization Research
- Research on Key Technologies of Network Traffic Analysis and System Implementation
- Research on the Detection Technology for Vulnerability in Java Web Program Based on Regular Expression
- The Research of XSS Detection and Defense Based Hash Tree Matching Model
- Research and Implementation of Campus Network Network Operation and Maintenance Management System
- Design and Realization of P2P Traffic Identification Based on DPI
- Regular-Expression Matching and Optimization Techniques Using Negative Factors
- Study on Some Key Technologies on Semantic Web Services
- Web Service Recommendation Method Based on the Network Location
- Design and Implementation of Guangxi Investment Group Coordination Office Automation System Based on the SOA
- Research and Application of Key Technology for Multimedia Player Based on Imbedded Linux System
- Research and Implementation of Intelligent Decision-making System in Business Simulation Game