Font Size: a A A

The Design And Implementation Of Automated Testing And Monitoring Tool For Web

Posted on:2017-03-11Degree:MasterType:Thesis
Country:ChinaCandidate:N LiFull Text:PDF
GTID:2348330515958396Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the expansion of the company's business and the growing number of the back-end servers,it is difficult that all interface test cases have been covered and regressed all test cases by testers relying on the pure manual testing,and the testers can't monitor and control the running of the system in real time.The precision marketing system developed by the enterprise has many interfaces and involves the different business logic.It needs the testers to complete all the interface tests and monitor the interface operation.Therefore,the automatic testing and monitoring tool based on B/S mode is designed and implemented.The main work of this thesis:(1)A test script model based on database storage was designed.The test script is divided into the test logic unit and the testing step.The database was designed as the storage layer in the test data storage.The test logic unit is used as the shared data to solve the problem that the automatic test script had the low repetition rate and the maintenance costs were high.By packaging the test operation,the test operation became modular,the data structure of the script was stored in the XML file and a keyword driven technology with more emphasis on the object processing strategy was implemented.The keywords were mapped and reused in a shared way.(2)The test task scheduling model was designed,and the ant colony algorithm was optimized by the analysis of the tested system.The dynamic priority ant colony algorithm was used to achieve the task scheduling.Compared with the previous task scheduling,the total execution time and average task execution time was shorter.The distributed test framework was designed and implemented,including server and client in two parts.The part of server was the realization of scheduling and the allocation of resources,the part of client was completing the execution of the use case by the parsing xml file order,and finally through the automatic comparison technology and SMTP protocol to produce test results and mailbox alerts.(3)The automated test cases script was wrote for the precision marketing system.the functional test of the automatic test system was finished.The experimental scheme was designed for the performance test.At present,the automated testing tool has achieved the expected goals.In practice,the application of the tool brought increase of the testing efficiency.The more number of test cases,the more significant for the testing efficiency.
Keywords/Search Tags:keyword-driven, test task scheduling, distributed test
PDF Full Text Request
Related items