Font Size: a A A

Research On The Testing Method Of The Web Application Based On Combined Open Source Frameworks

Posted on:2011-05-05Degree:MasterType:Thesis
Country:ChinaCandidate:Q L WuFull Text:PDF
GTID:2178360305988645Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Nowadays, Web application is quickly applied to all aspects of the society. Owning to its complexity of factors, such as the architecture, operating environment and load of Web application, the Web application testing is more complex than the traditional software testing and requires further in-depth study.The thesis mainly presents a complete set of testing solution for the J2EE based on the combination of Struts+Spring+Hibernate. Take the digital campus information system for test case; it studies the following three aspects:unit testing, function testing and performance testing. The content and innovations of the paper are mainly discussed as follows:(1) Based on the theories of traditional software testing, the paper analyzes the characters of Web application and their influences on the software testing, and proposes the testing level, the testing type and the testing process of Web application. After analysis of the architecture of Web application of classic J2EE platform, the paper then focuses on the hierarchical architecture and working principles of the popular Web application based on the combination of Struts+Spring+Hibernate, pointes out the testing difficulties and its issues to be solved of this software and also puts forward the overall testing solution.(2) Through careful study the key technologies of the framework of Struts, Spring, Hibernate and its implementation process of Web application based on the combined frameworks, the JUnit and its expansions such as Mock Objects and StrutsTestCase are used to test the digital campus information system, to isolate effectively the container and to minimize the unit testing granularity.(3) Based on analysis of working principles of HttpUnit testing framework and in accordance with the characteristic of Web application, the automatic function testing is implemented.for digital campus information system.(4) On analysis of index, parameter and testing methods of its performance testing, this paper studies the characteristics of JMeter's open source tool and mades further discussion.The tool is used to test the performance of the digital campus information system. Then the author brings forward the optimization program according to the analysis of the test results, and contrasts their performances before and after the optimization to verify the effectiveness of this program.The focus of this thesis is how to simulate the external containers in unit testing to achieve the minimum of unit testing granularity and how to select the suitable performance index for testing. The above research results and innovations are helpful to solute the key issues of Web application testing based on Struts+Spring+Hibernate and have enriched the testing methods and implementation technologies.
Keywords/Search Tags:open source framework, Web application, software testing, JUnit, component
PDF Full Text Request
Related items