基于數(shù)據(jù)挖掘的Web用戶使用模式生成方法研究
發(fā)布時間:2018-09-05 14:51
【摘要】:測試是保證Web應用系統(tǒng)高質量、高性能、高可靠性的重要手段,隨著Web應用系統(tǒng)全球范圍內的廣泛使用,基于Web的應用系統(tǒng)已經(jīng)成為當前和未來軟件系統(tǒng)開發(fā)和實施的主流。與傳統(tǒng)的應用軟件不同,它是在開放的網(wǎng)絡中,具有廣泛性、交互性和動態(tài)性等特點,但其用戶行為的不可預見性及Web應用系統(tǒng)的復雜性,使得Web性能測試變得很困難,因此,如何構造出逼近于真實的用戶使用情況是性能測試的一個主要難題。本文以Web用戶使用模式生成方法和性能測試模型為主要研究內容,旨在探索如何提高性能測試的準確性。首先,對Web性能測試和Web挖掘相關的基礎理論知識進行研究,在深入分析了 Web系統(tǒng)特征和傳統(tǒng)性能測試過程后,發(fā)現(xiàn)傳統(tǒng)的性能測試忽略了用戶的真實使用情況,在測試準確性上存在不足。因此,將Web挖掘技術應用到性能測試中,提出了一種基于歷史數(shù)據(jù)挖掘的用戶使用模式生成方法,詳細介紹了日志文件預處理,提出了頻繁訪問模式樹生成算法,利用該算法挖掘出用戶的頻繁訪問模式,并對用戶行為特征進行分析,構造出逼近于真實使用情況的用戶使用模式。其次,對傳統(tǒng)的性能測試模型PTGM進行深入的分析后,發(fā)現(xiàn)該模型在測試設計階段缺少明確的現(xiàn)實依據(jù),無法準確地指導測試場景、測試用例的設計以及測試腳本的開發(fā)。因此,將用戶使用模式應用到PTGM測試設計階段,提出了一種改進的性能測試模型 WUP-PTGM(Performance Testing General Model based on Web Usage Pattren),并對該模型進行了詳細闡述。最后,利用性能測試工具LoadRunner11.0對實際項目案例進行性能測試,并對性能測試結果進行評估。實驗表明,本文提出的用戶使用模式可以有效指導測試設計過程;利用WUP-PTGM模型指導性能測試,能夠提高性能測試結果的準確性。
[Abstract]:Testing is an important means to guarantee the high quality, high performance and high reliability of Web application system. With the wide use of Web application system worldwide, the application system based on Web has become the mainstream of current and future software system development and implementation. Different from the traditional application software, it has the characteristics of extensive, interactive and dynamic in the open network, but the unpredictable user behavior and the complexity of the Web application system make it difficult to test the performance of Web. How to construct a close-to-real user usage is a major problem in performance testing. In this paper, Web user usage pattern generation method and performance test model as the main research content, to explore how to improve the accuracy of performance testing. First of all, the basic theoretical knowledge of Web performance testing and Web mining is studied. After analyzing the characteristics of Web system and the traditional performance testing process, it is found that the traditional performance testing ignores the real usage of users. There is a deficiency in the accuracy of the test. Therefore, applying Web mining technology to performance testing, a user usage pattern generation method based on historical data mining is proposed, the preprocessing of log files is introduced in detail, and a frequent access pattern tree generation algorithm is proposed. The algorithm is used to mine the frequent access patterns of users and analyze the characteristics of users' behavior to construct the user usage patterns which are close to the real usage. Secondly, after deeply analyzing the traditional performance test model (PTGM), it is found that the model lacks a clear practical basis in the test design phase, and can not accurately guide the test scenario, the design of test cases and the development of test scripts. Therefore, the user usage pattern is applied to the PTGM test design phase, and an improved performance test model (WUP-PTGM (Performance Testing General Model based on Web Usage Pattren),) is proposed and described in detail. Finally, the performance testing tool LoadRunner11.0 is used to test the performance of actual project cases, and the performance test results are evaluated. The experimental results show that the user usage mode proposed in this paper can effectively guide the test design process, and the accuracy of the performance test results can be improved by using the WUP-PTGM model to guide the performance test.
【學位授予單位】:北京交通大學
【學位級別】:碩士
【學位授予年份】:2017
【分類號】:TP393.09
本文編號:2224608
[Abstract]:Testing is an important means to guarantee the high quality, high performance and high reliability of Web application system. With the wide use of Web application system worldwide, the application system based on Web has become the mainstream of current and future software system development and implementation. Different from the traditional application software, it has the characteristics of extensive, interactive and dynamic in the open network, but the unpredictable user behavior and the complexity of the Web application system make it difficult to test the performance of Web. How to construct a close-to-real user usage is a major problem in performance testing. In this paper, Web user usage pattern generation method and performance test model as the main research content, to explore how to improve the accuracy of performance testing. First of all, the basic theoretical knowledge of Web performance testing and Web mining is studied. After analyzing the characteristics of Web system and the traditional performance testing process, it is found that the traditional performance testing ignores the real usage of users. There is a deficiency in the accuracy of the test. Therefore, applying Web mining technology to performance testing, a user usage pattern generation method based on historical data mining is proposed, the preprocessing of log files is introduced in detail, and a frequent access pattern tree generation algorithm is proposed. The algorithm is used to mine the frequent access patterns of users and analyze the characteristics of users' behavior to construct the user usage patterns which are close to the real usage. Secondly, after deeply analyzing the traditional performance test model (PTGM), it is found that the model lacks a clear practical basis in the test design phase, and can not accurately guide the test scenario, the design of test cases and the development of test scripts. Therefore, the user usage pattern is applied to the PTGM test design phase, and an improved performance test model (WUP-PTGM (Performance Testing General Model based on Web Usage Pattren),) is proposed and described in detail. Finally, the performance testing tool LoadRunner11.0 is used to test the performance of actual project cases, and the performance test results are evaluated. The experimental results show that the user usage mode proposed in this paper can effectively guide the test design process, and the accuracy of the performance test results can be improved by using the WUP-PTGM model to guide the performance test.
【學位授予單位】:北京交通大學
【學位級別】:碩士
【學位授予年份】:2017
【分類號】:TP393.09
【參考文獻】
相關期刊論文 前10條
1 陳阿妹;陳佳麗;陳斌仙;;基于JMeter的Web性能測試的研究[J];九江學院學報(自然科學版);2016年01期
2 宋巍;張春柳;鄔斌亮;;Web系統(tǒng)性能測試研究與實踐[J];計算機應用與軟件;2015年03期
3 何正玲;;Web系統(tǒng)性能測試研究及應用[J];科技信息;2013年15期
4 朱靖君;吳海燕;高國柱;程志銳;;一種基于日志分析的Web負載測試方法[J];計算機工程;2010年23期
5 貝毅君;陳剛;董金祥;;面向Web活躍用戶的樹型訪問模式挖掘算法[J];浙江大學學報(工學版);2009年06期
6 王會青;馮秀芳;;Web應用軟件測試方法的研究[J];太原理工大學學報;2007年04期
7 桑圣洪;胡飛;;性能測試工具LoadRunner的工作機理及關鍵技術研究[J];科學技術與工程;2007年06期
8 趙瑩瑩;韓元杰;;Web日志數(shù)據(jù)挖掘中數(shù)據(jù)預處理模型的研究與建立[J];現(xiàn)代電子技術;2007年04期
9 馬琳,羅鐵堅,宋進亮,葉世偉;Web性能測試與預測[J];中國科學院研究生院學報;2005年04期
10 姜昌華,朱敏,陳優(yōu)廣;Web應用程序壓力測試[J];計算機應用;2003年10期
,本文編號:2224608
本文鏈接:http://sikaile.net/guanlilunwen/ydhl/2224608.html
最近更新
教材專著