Font Size: a A A

Design And Implementation Of Web Automated Test System Based On Jenkins And LAMP

Posted on:2019-04-27Degree:MasterType:Thesis
Country:ChinaCandidate:J F XuFull Text:PDF
GTID:2428330572951736Subject:Engineering
Abstract/Summary:PDF Full Text Request
In the context of the Internet age,software has been used in various industries,and people have paid more and more attention to the quality of software.As an important means to improve the quality of software,software testing has a special strategic position.In recent years,with the development of the software testing technology,automated testing has gradually become the mainstream.Although small and medium-sized software enterprises already have a mature automated testing framework of Qua SR for the execution of software regression testing,there are still many drawbacks in the workflow of QA engineers.QA engineers need to manually perform operations including checking machine ports,configuring test files,copying test cases and cleaning up the test environment.As the number of test tasks increase,the proportion of human operations in the entire test workflow increases,thus reducing the completion efficiency of test tasks.In addition,since test tasks are run on the Linux terminal,QA engineers need to login the test machines to check the results of test tasks,so they cannot have a real-time monitoring on the test execution.With the above problems in view,this thesis designs and realizes a web automation testing system based on Jenkins and LAMP by using shell programming,web development and other related technologies.The system realizes such functions as client management,test environment clearing-up,test tasks query,automatic configuration of test files,test tasks operation and monitoring.It has the advantages of rapid management,automatic testing and visualization.The main contents of this thesis are as follows:First of all,I study the workflow of the test execution framework of Qua SR.By considering its underlying interface functions,I write the shell scripts to realize the basic auxiliary test functions,such as machine port management and test environment cleaning-up.Based on this,the relevant functions are modularized and displayed with the web UI,which provides the services of efficient visual test client management,test environment cleaning-up and other related services for QA engineers.Secondly,based on the testing process of the enterprise product,I research web-based automated testing solutions.The test process is highly abstract,which is implemented step by step from the aspects of task query,task selection,task configuration and task starting.Then I study the continuous integration system Jenkins,analyze its operating mechanism and the steps to use it.After encapsulating Jenkins to test system,I put the test task execution links into Jenkins through the web background to achieve the visul management of test tasks.Finally,I use the open source LAMP framework to develope the system.The system has been successfully desployed after unit tests,functional tests and performance tests.Its actual operation shows that the web automation test system has reached the desired goal,which lays the foundation for designing a universal visual automatic test system.
Keywords/Search Tags:Automated Testing, Visual Integrated System, LAMP, QuaSR, Jenkins
PDF Full Text Request
Related items