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

Request the full text

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

  1. Studying the Model-based Framework for Testing Graphical User Interfaces
    GuYanPing ·Shanghai Normal University ·2007 ·Master's thesis
  2. Model-based GUI Test Case Generation
    ZhuangXueWei ·Nanjing University ·2012 ·Master's thesis
  3. Analysis and Design of Automated-Testing Framework for E-Commerce System
  4. Research on Automatic of Software Testing Based on Models
    XiaoChunYan ·Jiangnan University ·2012 ·Master's thesis
  5. Research on Multi-agent System Communication Testing Technology
    ZuoHongBo ·Hunan University ·2011 ·Master's thesis
  6. Research on Testing Technolgy of Web Applications
    LuXiaoLi ·Northwestern University ·2006 ·Doctoral dissertation
  7. The Software Test Suite Generation Method Based on Model Compare
  8. The Research on GUI Testing Based on Relating Event
    HeTianChi ·Hunan University ·2008 ·Master's thesis
  9. Distributed Systems Testing Technology Research and Application
    YangLi ·Hebei University of Technology ·2007 ·Master's thesis
  10. For the graphical user interface of the software testing
  11. English Title of Master Dissertation
    PanZuo ·Southeast University ·2006 ·Master's thesis
  12. Research on Product Lifecycle Modeling and Configuration Optimization for Mass Customization
    YuBiao ·Hefei University of Technology ·2013 ·Doctoral dissertation
  13. Multi-agent Simulation on Dynaminc Logistics Alliance Based on Evolutionary Game Theory
    XiaWei ·Hunan University ·2013 ·Master's thesis
  14. Research on Formation Control Methods for Multi-agent
    WangYe ·Harbin Institute of Technology ·2012 ·Master's thesis
  15. Stdudy on the Coordinated Control of Multiple Euler-Lagrange Systems
    SongCheng ·Chang'an University ·2013 ·Master's thesis
  16. Research and Design of the Three Omni-direction Wheels Mobile Robot Based on Multi-agent Software System
  17. Multi-agent Reinforcement Learning Based on Gaussian Regression in Continuous Spaces
    WeiHaiJun ·Central South University ·2013 ·Master's thesis
  18. Coevolution Algorithm and the Application in Multi-agent System
  19. Formation Game Alliance oriented multi Agent system research and distribution
    LiTianWen ·Yunnan University ·2013 ·Doctoral dissertation
  20. Research on Coordinated Control and Formation of Multi-agent System