| With the rapid development of Internet,applications occur into a blowout.The number of software of the same type increases with the explosive exponential growth.The performance and quality of the software have become decisive factors in user experience by degrees,directly affecting the survival curve of the software.Performance test is the type of test closely related to software quality.Key indicators of system need to be monitored and collected during performance tests.Existing performance test tools provide powerful capabilities of quality test.They can simulate a variety of load conditions for performance test,and be able to count extensive indicators and display the data in the form of the chart.But the existing performance test tools have certain adaptive restrictions.Types of business they support are quite different.In eBay,each department will select the appropriate test tools based on the business requirements.Test projects which involve tools to execute tests are automatically built by the Jenkins Server.In this way,the processes of performance test are dispersed.And the test results often consist of various structures.Effective centralized management of performance tests is hard to be taken into action in the enterprise.To solve the above problems,performance test control system has been designed and implemented based on Spring MVC framework.The system provides a universal performance test framework which can separate results from processes of performance tests.Specfic test procedures rely on other performance test tools.The persistence of test results depends on the choice of testers.The system provides a simple and convenient solution to centralized management of performance tests.Performance test control system is a B/S web application,written in Java,using Spring MVC framework as the base of the project.JQuery,Bootstrap,AJAX and other technologies are applied in the front end.JSON is put to use to exchange data and simplify the process of data transfer.The invocation of Jenkins RESTful API to trigger the scheduled job build is encapsulated as the interface method in the back-end of the system.JavaBeans are applied for transferring data between layers.Besides,JdbcTemplate is chosen to simplify the interactions with the database.The system offers one solution to centralized management of performance tests and provides users with a convenient entrance to managing them.With this system,users can specify the start time of the test job,avoiding pointless consumption of resources in everyday build.Users can asynchronously write-back performance test results.The set of metrics to be recorded is determined by users.The system provides the ability to graphically display quality metrics.Simple configurations will be enough to conduct accurate and effective alarm monitoring. |