Font Size: a A A

The Design And Implementation Of Report Generation Service In Web Application Automation Test System

Posted on:2021-03-21Degree:MasterType:Thesis
Country:ChinaCandidate:C J ZhangFull Text:PDF
GTID:2428330647450878Subject:Engineering
Abstract/Summary:PDF Full Text Request
With the continuous development of Internet technology,Web applications for distinct usages are constantly appearing.Web applications appear to be widely used in many industries and highly complex which brings various challenges to its test work and the innovation of test technology.It makes high threshold and high cost that using Selenium to implement automated testing.For the purpose of reducing the testing cost,it is relatively necessary to research the Web application automatic test method.According to the characteristics of Web application testing,report generation service implements the Web application automation test process based on the monitoring of test execution,including the generation of test results and the display of test reports,software quality assessment reports.The service provides clear and easy-to-use test reports.The service is consist of four modules,divided by function,including execution engine monitoring,automatic test case generation,test report and software quality assessment report.The system obtains and records related parameters through monitoring the entire execution process of Web application test execution engine.The single-page analysis service is invoked utilizing the recorded logs,paths and other information,and then the final test report is generated,so is the software quality assessment report.Meanwhile,Web automatic testing cases based on Selenium are generated for the purpose of facilitating the reproduction of each single-page and vulnerability test process,using the recorded operating procedures,execution paths and other information.In order to ensure the efficiency and stability in the development process,the mainstream framework is adopted in terms of technical implementation.Spring Boot and j Query are respectively adopted as the server-end framework and the front-end framework.In addition,for the purpose of ensuring the stability and performance of the system,Rabbit MQ is employed as the message middleware and Redis is utilized as the system cache.Report generation service is a part of Web application automatic test system.The system implents an easy-to-use automated testing process using users' simple configuration.For the characteristics of widely use and high complexity of Web applications,this thesis selects 50 representative websites from nine different industries to experiment on and evaluate report generation service.The experiment shows that the service can provide distinct and easy-to-use test reports.Report generation service monitors the execution process of the three browsers of the execution service,and generates a test report that includes the method of vulnerabilities reproduction.The success rate of the test script generated by report generation service reaches 99.8%,the recurrence rate of existing vulnerabilities reached 89.4%,and the accuracy rate of vulnerabilities classification reached 97.5%.The experiment also finds that using scripts to reproduce vulnerabilities is nearly three times more efficient than manually reproducing vulnerabilities.Currently,the service has been integrated on the Mooctest platform and is running well,providing testers with good Web application automation report generation services.
Keywords/Search Tags:Web Application Testing, Automation, Test Report, Test Case
PDF Full Text Request
Related items