Font Size: a A A

Research On Web Performance Testing And Platform Implementation

Posted on:2011-06-29Degree:MasterType:Thesis
Country:ChinaCandidate:D H LaiFull Text:PDF
GTID:2178360308463581Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Software performance testing is a primary part in quality assurance. Since web systems are now increasingly widespread, the performance of system is especially concerned by people. While people are doing performance testing for web systems, it is unlikely to generate hundreds of concurrent virtual users relying solely on the manual. Therefore it is absolutely necessary to use software tools to simulate multi-user concurrency, and to generate test reports for testing personnel to analysis.In developed countries, researching on the performance testing for web systems has started decades before. And there have been some excellent software platforms for performance testing emerging abroad. In our country, some universities or research institutes have studied performance testing platforms a few years before. Although some success was achieved, compared with those top testing platforms abroad, domestic testing tools have much room for improvement. The main shortcomings of domestic testing tools are reflected in that their script language is too simple, and that they do not support parsing html, and that no detail and readable test reports are produced.In order to reduce the gaps with foreign countries, we first researched ways of recording scripts and playback of some typical testing tools. As a result, a method of classifying performance test scripts was summarized.Based on mastering IE's components and the mechanism of http proxy, by capturing messages of IE and http sessions, we successfully realized a script recorder, which supports generating page-based scripts. Scripts generated are expressed by the language of C#, which greatly improves test script's programmability.The subject also studied the technology of virtual users, and studied how to use cookie-memory database to solve the problem of sending and receiving cookies, and how to simulate browser's parsing html by html parser. Based on these studies, a playback library supporting sending and receiving cookies and dynamically retrieving resources embedded in html pages was finally realized.Innovatively, this issue implemented perfectly a basic component of distributed testing, namely agent object, by the technology of .Net remote object invocation. In report generation, a well-format html page containing rich test data was produced by the technology of XML and XSL. To verify the research result, a typical B/S web system war elected as an instance to show how the tool is utilized during performance testing.
Keywords/Search Tags:web system, performance testing, test script, test report, distributed testing
PDF Full Text Request
Related items