Verification and Testing Technology for Web Applications

Author
ZengHongWei
Advisor
ZuoHuaiKou
School
Shanghai University
Major
Control Theory and Control Engineering
Classification
TP311.52 Software Development
Degree
Doctoral dissertation
Year
2008
Downloads
443
Citations
6

Request the full text

Abstract

The popularity of the Internet and distributed computing, based on the rapid development of components and Web Services technology development and application of the Web application penetration into all areas of the national economy and the people's livelihood. Web application quality will directly affect people's lives and work. Verification and testing is the most basic and the most important means of software quality assurance. However, Web applications are distributed systems in a multi-layer structure, characteristics of the heterogeneous, dynamic, connected to the diversity and control flow variability has posed a serious challenge to the validation and testing of Web applications, you must improve the traditional or propose new verification and testing methods in order to adapt to the new features of the Web application. Model Checking is an automated, model-based nature of the authentication method, widely used in the automatic verification of finite-state system. Which it effectively search the entire state of the finite state model space is determined whether the nature are met, the error of the diagnostic system can be used in the system does not meet the nature of the anti Example. The purpose of the test is to find the actual behavior of the system with the expected behavior of the existence of inconsistencies. The traditional manual testing is inefficient, error-prone, blind and non-renewable, and subject to the test engineer creativity. The application of model checking technology to achieve test automation is currently a hot research topic. Model checking automatic test case generation key is so constructed that the model checker output trap nature of the counter-examples, and then from the Opposite Example test cases. Paper model checker SMV formal verification tools, the main research of Web applications in a unified framework of the model checking formal verification and functional testing methods. Web application client function is mainly reflected in its navigation behavior, an important aspect of the quality of Web applications is the consistency and security of navigation behavior. Paper gives contact the object diagram describes the navigation between objects and object structure modeling, proposed formal methods Kripke structure navigation behavior modeling and navigation behavior are defined from a validation perspective and test angle Object Contact consistency between the relationship of FIG. On this basis, the consistency verification method based on model checking navigation behavior and conformance testing methodology, design conversion algorithm from the Kripke structure to the SMV program, and validation prototype and test a prototype of the navigation behavior. In addition, according to the commonly used navigation security policy, the navigation behavior of the security authentication method. Web application server business logic and application services through the combination of components, formal verification component composition behavior is an effective means to ensure the quality of Web applications. For component composition validation state explosion problem, the paper combines compositional reasoning and counter-examples to guide abstraction refinement ideas, modular abstraction refinement and design the corresponding checking algorithm, the component combination of model checking into each component member local abstraction refinement. Proposed and proved Theorem combination of recognition on the component composition the counterexample confirmed into each component on the projection of anti confirm. The component composition of an authentication question is whether the combination of behavior implies unsafe behavior? Paper presents a new description of component interaction automata model: member messages. Based on supervisory control theory controllability concept, design an algorithm to verify the nature of the component combination of behavioral safety. Object (page or component) is a Web application navigation and component composition. Combined with model checking technology and data flow testing criteria, the paper presents a Web application object automatic test generation method. In the case of the object's source code is not available, the behavior of the dynamic state of the object with the object state machine modeling, and then converted to the object flow diagram describing the control flow and data flow information. Generated based on the nature of the data flow testing criteria trap object flow diagram models examined the nature of these traps automatically generated data flow test cases for object data stream to test the prototype of a model-based testing. A defect is automatically generated test model checking model checking tend to produce a large number of redundant counter-example. To this end, the paper proposes one kind of on-the-fly test optimization method and design optimization algorithm. Model checking to produce a new counter-examples, on the one hand, with the new counter-example to detect the nature of the non-test to eliminate redundant nature, on the other hand existing test set to eliminate redundant testing.

Table of contents

Abstract 6-8 Abstract 8-12 Chapter 1 Introduction 12-19 1.1 Web application features 12-14 1.2 Formal verification 14 1.3 Web application in the form of verification 14-16 1.4 Test 16-17 1.5 Web application testing 17 1.6 The main research contents 17-19 Chapter 2, model checking techniques and progress 19-30 2.1 Kripke structure 19-21 2.2 linear temporal logic LTL 21-23 2.3 Calculation tree logic CTL 23-24 2.4 model checking optimization techniques 24-27 2.5 model checking tool 27-28 2.6 model checking and theorem proving tests or a combination of 28 2.7 Summary 28-30 Chapter 3 Web Application navigation behavior verification 30-44 3.1 Introduction 30-31 3.2 Web application modeling 31-34 3.2.1 Design Model 31-32 3.2.2 Navigation Model 32-34 3.3 navigation behavior consistency 34-38 3.3.1 node overlay 34-35 3.3.2 Edge Cover 35-36 3.3.3 edge portfolio covering 36-38 3.4 navigation behavior of security policy 38-40 3.5 navigation behavior verification prototype 40 3.6 SMV program generator 40-42 3.7 nature test 42-43 3.8 Summary 43-44 Chapter 4 member portfolios abstraction refinement verification 44-61 4.1 Introduction 44-45 4.2 component composition in the form of modeling 45-47 4.3 abstract 47-49 4.4 counterexample validation and refinement 49-54 4.4.1 abstract counterexample validity 49-52 4.4.2 Combined Anti cases confirmed 52-54 4.5 abstraction refinement 54-55 4.6 authentication algorithm 55-57 4.7 Case studies 57-59 4.8 related work 59-60 4.9 Summary 60-61 Chapter 5 member portfolio security verification 61-70 5.1 Introduction 61-62 5.2 automata 62-63 5.3 component interaction modeling 63-67 5.3.1 Component news automata 63-64 5.3.2 component composition 64-67 5.4 controllability verification 67-69 5.4.1 controllability (Controllability) 67 5.4.2 controllability of the basic validation algorithm 67-68 5.4.3 Case studies 68-69 5.5 Summary 69-70 Chapter 6 test based on model checking and optimization 70-82 6.1 Introduction 70-71 6.2 using the model checker to generate test 71-75 6.2.1 SMV counterexample 72-74 6.2.2 generated based on the nature of the test criteria 74-75 6.3 Test Optimization 75-81 6.3.1 test tree (Test-tree) 76-77 6.3.2 test tree generation 77-81 6.4 Summary 81-82 Chapter 7 Model-based testing for Web application testing 82-101 7.1 Introduction 82-83 7.2 related work 83-85 7.3 navigation behavior test 85-91 7.3.1 Conversion from WA_D to WA_N 86-87 7.3.2 Navigation nature generates 87-89 7.3.3 Case studies 89-91 7.4 stream-based Web application testing 91-100 7.4.1 Object state machine OSM 92-93 7.4.2 object flow diagram OFG 93-95 7.4.3 Mark OFG 95-96 7.4.4 the nature of the data stream trap generation 96-100 7.5 Summary 100-101 Chapter 8 Conclusion 101-104 8.1 The main contribution 101-102 8.2 Future work 102-104 References 104-111 Appendix 1 SGRS navigation model SMV program 111-119 Appendix 2 SMV output of counter-examples 119-128 published during the author's doctoral thesis and translation 128-129 author during participation in doctoral research 129-130 Thanks 130

Related dissertations

  1. Research on AADL model transformation and verification
    LiuZuo ·Shaanxi Normal University ·2013 ·Master's thesis
  2. College Students' information management and analysis system
    WanZuo ·Nanchang University ·2013 ·Master's thesis
  3. Functional Verification of YHFT-DX High Performance DSP
  4. Web Based on ArcGIS Geographic Information Service System Research and Implementation
    ChenShuang ·Shenyang Normal ·2014 ·Master's thesis
  5. Formal Verification of Real-time Operating System in Binary Code Level
    ShiJianZuo ·East China Normal University ·2012 ·Doctoral dissertation
  6. A Requirements Verification Supporting Tool for Embedded Systems
    WangMengJia ·Jilin University ·2012 ·Master's thesis
  7. The Design and Implementation of Assignment Labor Management System for QingZhou
    JiaLi ·Shandong University ·2013 ·Master's thesis
  8. Study and Pratice of Requirements Engineering Methods Towards Web Applications
  9. Researching the Maintenance Phase Reliability Based Weh Logs Analysis
    ZhuZuo ·Shanghai Normal University ·2012 ·Master's thesis
  10. Designing and Implementation of Electronic Deductions System
  11. Sichuan Electric Power Construction Company Design and Achivement of Human Resourse Managment System
  12. Software Trustworthiness Mesurement Based on Model Checking
    HanZuo ·Beijing University of Technology ·2012 ·Master's thesis
  13. AJAX-based Design and Realization of Enterprise Personnel Management System
  14. Design and Implementation of the Comprehensive Information System for Enterprise Based on ASP.NET
  15. Analysis and Verification of Security Authorization for Role Based Access Control System
    ZhangZuo ·Hunan University ·2011 ·Master's thesis
  16. Research on Methodology of Formal Design and Verification for Security Operating System
    QianZhenJiang ·Nanjing University ·2013 ·Doctoral dissertation
  17. Application of model checking to the formal verification of security protocols
  18. A Research Approach to Model Abstraction Based on Assertion Graph
  19. Lattice-valued Quantitative Verification of State Transition Systems
    PanHaiYu ·East China Normal University ·2012 ·Doctoral dissertation
  20. Research on Property and Application of Spiking Neural P Systems
    PengXianWu ·Central South University ·2013 ·Doctoral dissertation