基于WEB系統(tǒng)的云性能測試工具設(shè)計與實現(xiàn)
發(fā)布時間:2018-08-20 16:30
【摘要】:隨著互聯(lián)網(wǎng)應(yīng)用技術(shù)的不斷發(fā)展,基于互聯(lián)網(wǎng)的應(yīng)用系統(tǒng)的信息化服務(wù)模式已經(jīng)在各行業(yè)中得到廣泛應(yīng)用。信息化的不斷發(fā)展,對我們的生活、生產(chǎn)方式和商業(yè)模式帶來根本性改變。互聯(lián)網(wǎng)的發(fā)展給互聯(lián)網(wǎng)應(yīng)用企業(yè)帶來發(fā)展機(jī)會的同時也帶來了技術(shù)挑戰(zhàn),會有更多的互聯(lián)網(wǎng)應(yīng)用面臨著日均訪問量過億的高并發(fā)訪問的技術(shù)考驗,同時也給軟件質(zhì)量保障工作帶來了前所未有的挑戰(zhàn)。傳統(tǒng)的性能測試工具是通過壓力控制器模擬本地虛擬用戶向服務(wù)器發(fā)出服務(wù)請求,模擬服務(wù)器的壓力測試實現(xiàn)的,負(fù)載壓力的產(chǎn)生都是通過局域網(wǎng)內(nèi)的物理主機(jī)。對一般的Web應(yīng)用系統(tǒng),虛擬并發(fā)用戶數(shù)在百千數(shù)量級,傳統(tǒng)性能工具能夠滿足應(yīng)用的需求,但對于上萬乃至十萬以上量級的應(yīng)用服務(wù),傳統(tǒng)性能測試工具已經(jīng)不能滿足需求。在這種狀況下,軟件性能測試出現(xiàn)新的問題:(1)無法模擬海量用戶數(shù)。(2)應(yīng)用的客戶端分布極其廣泛,工具無法遍歷復(fù)雜訪問路徑獲得真實的用戶體驗。(3)無法對異構(gòu)云計算平臺的資源性能進(jìn)行監(jiān)控。近兩年云計算平臺在國內(nèi)各地陸續(xù)落地,為受制于傳統(tǒng)性能測試工具測試環(huán)境的限制,無法實現(xiàn)基于互聯(lián)網(wǎng)的高并發(fā)虛擬用戶模擬提供了機(jī)會,利用云計算資源,為高并發(fā)性能測試提供測試環(huán)境,有效解決高并發(fā)虛擬用戶無法模擬的問題。本文在上述背景下提出研發(fā)利用云計算資源開展高并發(fā)性能測試的工具,解決虛擬用戶模擬數(shù)量限制問題,并利用國內(nèi)現(xiàn)有云計算資源,為軟件企業(yè)提供高并發(fā)性能測試服務(wù)。本文首先調(diào)研了現(xiàn)在云性能測試工具的技術(shù)和工具基礎(chǔ),提出了云測試性能工具所需云資源條件,分析了傳統(tǒng)性能測試工具存在的問題,并針對問題提出云性能測試工具實現(xiàn)的主體目標(biāo)和具體功能需求,闡述了工具工作機(jī)制與處理流程與設(shè)計實現(xiàn)的關(guān)鍵技術(shù)問題,在此技術(shù)上完成了腳本錄制、壓力生成、壓力生成控制、系統(tǒng)監(jiān)控、結(jié)果分析等功能的設(shè)計與實現(xiàn)。同時本文重點(diǎn)闡述了工具的遠(yuǎn)程作業(yè)調(diào)度與控制同步、測試結(jié)果數(shù)據(jù)緩存與校驗以及異構(gòu)云平臺計算資源性能監(jiān)控關(guān)鍵技術(shù)的設(shè)計原理,并搭架了模擬測試環(huán)境,驗證工具能夠?qū)崿F(xiàn)10萬虛擬用戶模擬并發(fā)。
[Abstract]:With the continuous development of Internet application technology, the information service mode of Internet-based application system has been widely used in various industries. The constant development of informatization has brought fundamental changes to our life, mode of production and business model. The development of the Internet brings development opportunities to Internet application enterprises and also brings technical challenges. More Internet applications will face the technical test of high concurrent access with a daily average of over 100 million visits. At the same time, it also brings unprecedented challenges to software quality assurance. The traditional performance testing tool is to simulate the local virtual user to send the service request to the server through the pressure controller, and simulate the stress test of the server. The generation of the load pressure is all through the physical host in the local area network. For a general Web application system, the number of virtual concurrent users is in the order of hundreds of thousands, the traditional performance tools can meet the needs of applications, but for tens of thousands or more of application services, the traditional performance testing tools can no longer meet the requirements. In this case, new problems arise in software performance testing: (1) the number of massive users can not be simulated; (2) the client side of the application is extremely widely distributed. Tools can not traverse complex access paths to obtain real user experience. (3) it can not monitor the resource performance of heterogeneous cloud computing platform. In the last two years, cloud computing platform has landed in various parts of the country, which provides an opportunity to realize high concurrent virtual user simulation based on Internet, which is restricted by the test environment of traditional performance testing tools, and makes use of cloud computing resources. It provides a test environment for high concurrency testing and effectively solves the problem that high concurrency virtual user can not simulate. Based on the above background, this paper proposes a tool to develop high concurrent performance testing using cloud computing resources, to solve the problem of virtual user simulation, and to use the existing cloud computing resources in China to provide high concurrent performance testing services for software enterprises. This paper first investigates the technology and tool foundation of cloud performance testing tools, puts forward the cloud resource requirements for cloud performance testing tools, and analyzes the problems existing in traditional performance testing tools. Aiming at the problems, this paper puts forward the main goal and specific functional requirements of cloud performance testing tools, expounds the key technical problems of tool working mechanism, processing flow and design and implementation, and completes script recording and pressure generation in this technology. Design and implementation of pressure generation control, system monitoring, result analysis and other functions. At the same time, this paper focuses on the design principle of the key technologies of remote job scheduling and control synchronization, data cache and verification of test results and performance monitoring of computing resources on heterogeneous cloud platform, and builds a simulated test environment. Verification tool can achieve 100000 virtual user simulation concurrency.
【學(xué)位授予單位】:北京工業(yè)大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:TP393.09
,
本文編號:2194278
[Abstract]:With the continuous development of Internet application technology, the information service mode of Internet-based application system has been widely used in various industries. The constant development of informatization has brought fundamental changes to our life, mode of production and business model. The development of the Internet brings development opportunities to Internet application enterprises and also brings technical challenges. More Internet applications will face the technical test of high concurrent access with a daily average of over 100 million visits. At the same time, it also brings unprecedented challenges to software quality assurance. The traditional performance testing tool is to simulate the local virtual user to send the service request to the server through the pressure controller, and simulate the stress test of the server. The generation of the load pressure is all through the physical host in the local area network. For a general Web application system, the number of virtual concurrent users is in the order of hundreds of thousands, the traditional performance tools can meet the needs of applications, but for tens of thousands or more of application services, the traditional performance testing tools can no longer meet the requirements. In this case, new problems arise in software performance testing: (1) the number of massive users can not be simulated; (2) the client side of the application is extremely widely distributed. Tools can not traverse complex access paths to obtain real user experience. (3) it can not monitor the resource performance of heterogeneous cloud computing platform. In the last two years, cloud computing platform has landed in various parts of the country, which provides an opportunity to realize high concurrent virtual user simulation based on Internet, which is restricted by the test environment of traditional performance testing tools, and makes use of cloud computing resources. It provides a test environment for high concurrency testing and effectively solves the problem that high concurrency virtual user can not simulate. Based on the above background, this paper proposes a tool to develop high concurrent performance testing using cloud computing resources, to solve the problem of virtual user simulation, and to use the existing cloud computing resources in China to provide high concurrent performance testing services for software enterprises. This paper first investigates the technology and tool foundation of cloud performance testing tools, puts forward the cloud resource requirements for cloud performance testing tools, and analyzes the problems existing in traditional performance testing tools. Aiming at the problems, this paper puts forward the main goal and specific functional requirements of cloud performance testing tools, expounds the key technical problems of tool working mechanism, processing flow and design and implementation, and completes script recording and pressure generation in this technology. Design and implementation of pressure generation control, system monitoring, result analysis and other functions. At the same time, this paper focuses on the design principle of the key technologies of remote job scheduling and control synchronization, data cache and verification of test results and performance monitoring of computing resources on heterogeneous cloud platform, and builds a simulated test environment. Verification tool can achieve 100000 virtual user simulation concurrency.
【學(xué)位授予單位】:北京工業(yè)大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:TP393.09
,
本文編號:2194278
本文鏈接:http://sikaile.net/guanlilunwen/ydhl/2194278.html
最近更新
教材專著