Font Size: a A A

The Design And Implementation Of Execution Service In Web Application Automation Testing System

Posted on:2021-03-07Degree:MasterType:Thesis
Country:ChinaCandidate:Z Y YinFull Text:PDF
GTID:2428330647450876Subject:Engineering
Abstract/Summary:PDF Full Text Request
With the development of the Internet and front-end technology,Web applications have the characteristics of wide application fields,a large number of users,dynamic and complex page interaction,and so on.Because there are frequent iterations in the web application development process,it is a high demand for automated test methods and tools for web applications.There are currently some automated testing methods for Web applications,which have the problems of insufficient test efficiency and the inability to test dynamically loaded applications.They are unable to cope with frequent testing needs.This thesis designs and implements a Web application automation test system,which is used to solve the needs of automated testing of complex dynamic Web pages,generate testing vulnerabilities reports and software quality assessment.The configuration required for a testing startup is simple.This thesis describes a execution service as a part of the system in detail.The service applies the idea of Web page state detection based on finite state machine to test execution,searches the web page state space,and generates executable test paths.The service is based on microservice technology and distributed technology.The execution service is generally divided into a test access module,a task scheduling module,and an execution engine unit.Among them,the access service uses Spring Boot to build microservice business logic to achieve interaction with users.The entire service is distributed in the scheduling module and the execution module,which depends on the Rabbit MQ message queue and Docker container service implementation.The service improves the overall efficiency of automated testing through distributed execution and reduces the dependency on the host environment through containers.The execution engine unit uses Web page state space detection technology to capture vulnerabilities.The service adds a website permission verification process to expand the state space of the application.This thesis selected common types of websites and conducted preliminary verification of this automated testing service.This service executes web applications within a specified one-hour running time using three brands of browsers at the same time.Each application can detect an average of 89 web application states,and on average can find out 83 vulnerabilities on each application.The execution success rate of the test scripts generated by the state diagram constructed by the execution service is 99.8%.The vulnerabilities recurrence rate after script execution is 89.4%,and the vulnerabilities classification accuracy rate is 97.5%.At the same time,the testing service can improve the testing efficiency by 2.12 times compared to manual.At present,the system can already provide services for the Web automation testing task of the MOOCTEST platform enterprise version,and support the development of Web automation testing business.
Keywords/Search Tags:Web Application Testing, Automated Testing, Microservice, Distributed System
PDF Full Text Request
Related items