The Research on Agent-based Testing Framework and Testing Approach for Web Applications
- Author
- SunZuoZuo
- Advisor
- LiJunYi
- School
- Hunan University
- Major
- Computer Science and Technology
- Classification
- TP311.53 Software Maintenance
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 6
- Citations
- 0
Abstract
With the popularity of Web Applications, Web Applications testing has played an important role in ensuring the quality and reliability of the application of Web system. Due to the distinguish characters of Web applications, the testing approaches for traditional software testing can not be directly applied to Web applications testing. In the studying of Web Applications testing, testing framework research could instruct the whole testing process from an abstract level, moreover, is crucial for the development and implementation of the testing process. Meanwhile, test case generation is also a key step to impact the testing effectiveness. Hence, based on the existing research achievement, this paper conducts in-depth researches on the studying of Web applications testing framework and the automatic test case generation methodology. By taking advantage of the previous testing concepts, approaches and theory system, we further explore the testing approaches in order to improve the testing strategies.In this paper, we first summarize the testing aspects and methodologies of Web applications, classify and illustrate six different testing approaches, which are Object-based testing, Agent-based testing, UML-based testing, Statistic-based testing, User-Session-based testing and Slicing-based testing, as well as analyze the strength and weakness of each testing approach. Through comparing the existing testing approaches, we systematically understand and acknowledge the mainstream studying methodologies and guide the development of the research work of this paper.In the research of Web Applications testing framework, we emphasize on the design of intelligence and extensibility, integrate the intelligent-field Agent theory into the framework design and propose an Agent-based extended testing framework of Web applications, called AETFW. AETFW composes of two parts, named Web-Modeling and Web-Testing, and they take charge of analyzing Web Applications and test case generation, execution and evaluation respectively. The framework builds models from object, behavior and structure aspects and support both functional and structural testing requirements. According to the characters of Web Applications, the architecture of multi-agent system is divided into several levels and assigns different functional roles to different Agents. Considering to map the Web Applications elements to each Agent, we divide the Test Agent into Object Agents and Object Agent is kind of an atomic Agent which can no longer be divided. Multi-agent system can flexibly construct, delete functional Agent in response to different requirements and this makes the whole testing framework can handle different testing requirements and be generally applicable and extensible.In the research of test case generation, we present a predication-based automatic test case generation algorithm. Firstly, we analyze the dependency relationships of Web Application structure, construct the TG graph by using DUCC expression and transformed dependency relationship, then define the concepts of control node, definition node and k-distance control node. By reversing the TG graph, the proposed algorithm can efficiently figure out all the execution paths from the source node to the basic node. Considering the large scale of Web Application code, we generate the wanted test cases into phases and generate test cases from intra-page and inter-page aspects, aiming to decrease the complexity of testing case generation and enhance the applicability of the reported approach. The preliminary case study shows that the presented test case generation algorithm can produce expected test cases efficiently with certain automatic execution level and meet the prospective research expectation.
Table of contents
Summary 5-6
Abstract 6-11
illustrations index 11-12
Schedule Index 12-13 <br / > Chapter 1 Introduction 13-18
1.1 background and significance 13-14
1.2 Research Status 14-15
1.3 content of this paper 15-16
1.4 The paper is 16-18
Chapter 2 WEB application and WEB application testing overview 18-33
2.1 WEB application 18-22
2.1.1 Web application and its features 18-20
2.1.2 Web application potential problems 20-22
2.2 WEB application testing 22-29
2.2.1 software testing 22-23
2.2.2 Web application testing level and content 23-24
2.2.3 Web application Testing methods 24-29
2.3 WEB application test automation technology 29-32
2.3.1 automated testing process 29-30
2.3.2 automated testing technology 30-31
2.3.3 introduced automated testing principles 31-32
2.3.4 advantages and disadvantages of automated testing 32
2.4 Summary 32-33
CHAPTER 3 WEB application testing and intelligent AGENT 33-38
3.1 AGENT AGENT systems and multiple 33-35
3.1.1 intelligent Agent and its characteristics 33-34
classification and application 3.1.2 intelligent Agent 34-35
3.2 smart AGENT system 35-37
3.2.1 multi-Agent systems Concepts interactive collaborative mechanisms 35-36
3.2.2 multi-Agent System 36
3.2. 3 Multi- Agent System communication 36-37
3.3 smart AGENT WEB application testing system advantages of 37
3.4 Summary 37-38
Chapter 4, WEB-based application testing framework AGENT of 38-49
4.1 Introduction 38
4.2 software test automation framework analysis 38-39
4.3 WEB-based application testing framework nbsp AGENT 's ; 39-42
4.3.1 Web-Modeling 40-42
4.3.2 Web-Testing 42 <br / > more than 4.4 AGENT system architecture and deployment 42-45
4.4.1 Agent system division of roles and deployment 43-44
4.4.2 Test Agent 44 -45
4.5 characteristics of test framework 45-46
4.6多AGENT platform preliminary study 46-48
4.6.1 develop language -Java 46
4.6.2 development platform -JADE 46-47
4.6.3 JADE platform Agent development 47
4.6.4 JADE platform multi-Agent Systems feasibility 47-48
4.7 Summary 48-49
Chapter 5 nbsp predicate -based automatic test case generation chips and DUCC expression ; 49-62
5.1 Introduction 49
5.2 WEB application dependency analysis 49-52
5.2.1 control relies 50
5.2.2 data dependencies 50-51
5.2.3 calls rely 51-52
5.3 automatic test case generation 52-59
5.3.1 HTML code rewrite 53
5.3.2 DUCC expression 53-54
5.3.3 program slicing 54
5.3.4 TG Figure 54 -56
5.3.5 algorithm 56-57
5.3.6 examples of algorithms and analysis 57-59
5.4 structural Testing 59-61
5.4.1 automatic test case generation step between 59-60
5.4.2 test pages and pages 60-61
5.5 Summary 61-62
Conclusion 62-64
References 64-69
Thanks 69-70
published during ( study for a degree thesis in Appendix a and results obtained ) participate in research projects during the period ( 70-71
pursue a degree in Appendix B) 71
Related dissertations
- Studying the Model-based Framework for Testing Graphical User Interfaces
- Model-based GUI Test Case Generation
- Analysis and Design of Automated-Testing Framework for E-Commerce System
- Research on Automatic of Software Testing Based on Models
- Research on Multi-agent System Communication Testing Technology
- Research on Testing Technolgy of Web Applications
- The Software Test Suite Generation Method Based on Model Compare
- The Research on GUI Testing Based on Relating Event
- Distributed Systems Testing Technology Research and Application
- For the graphical user interface of the software testing
- English Title of Master Dissertation
- Research on Product Lifecycle Modeling and Configuration Optimization for Mass Customization
- Multi-agent Simulation on Dynaminc Logistics Alliance Based on Evolutionary Game Theory
- Research on Formation Control Methods for Multi-agent
- Stdudy on the Coordinated Control of Multiple Euler-Lagrange Systems
- Research and Design of the Three Omni-direction Wheels Mobile Robot Based on Multi-agent Software System
- Multi-agent Reinforcement Learning Based on Gaussian Regression in Continuous Spaces
- Coevolution Algorithm and the Application in Multi-agent System
- Formation Game Alliance oriented multi Agent system research and distribution
- Research on Coordinated Control and Formation of Multi-agent System