天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

支持異步請(qǐng)求的Web應(yīng)用自動(dòng)化測(cè)試工具設(shè)計(jì)與實(shí)現(xiàn)

發(fā)布時(shí)間:2018-03-20 04:35

  本文選題:Web服務(wù)器性能 切入點(diǎn):自動(dòng)化測(cè)試 出處:《上海交通大學(xué)》2014年碩士論文 論文類型:學(xué)位論文


【摘要】:隨著互聯(lián)網(wǎng)的快速發(fā)展及網(wǎng)絡(luò)技術(shù)的不斷成熟,Web應(yīng)用需要響應(yīng)大量用戶并發(fā)訪問(wèn),其性能測(cè)試越來(lái)越重要。保證和提高Web應(yīng)用的服務(wù)質(zhì)量已經(jīng)成為測(cè)試的重要內(nèi)容。與傳統(tǒng)軟件相比,Web應(yīng)用具有分布式、多用戶隨機(jī)并發(fā)訪問(wèn)、支持異步請(qǐng)求、處理相對(duì)集中在服務(wù)器端的特點(diǎn),手工很難實(shí)現(xiàn)大量終端用戶并發(fā)訪問(wèn)。因此,自動(dòng)化測(cè)試工具在Web應(yīng)用服務(wù)器的性能測(cè)試中占有重要地位。 現(xiàn)今的Web應(yīng)用廣泛使用JavaScript和Ajax技術(shù),允許動(dòng)態(tài)加載網(wǎng)頁(yè)內(nèi)容,,支持向服務(wù)器發(fā)送異步請(qǐng)求,提高了Web應(yīng)用與用戶之間的交互性。同時(shí),越來(lái)越多的Web應(yīng)用部署在云平臺(tái),根據(jù)用戶需求動(dòng)態(tài)提供資源,在滿足服務(wù)水平協(xié)議的基礎(chǔ)上,提高了系統(tǒng)的可伸縮性和可靠性。因此,對(duì)Web應(yīng)用的彈性測(cè)試也是非常重要的一個(gè)方面。然而,現(xiàn)有的測(cè)試工具在面對(duì)復(fù)雜的被測(cè)系統(tǒng)時(shí),仍然沿用以前的測(cè)試框架,根據(jù)測(cè)試腳本向Web服務(wù)器發(fā)送和接收請(qǐng)求,獲得服務(wù)器的響應(yīng)時(shí)間及吞吐量等信息。這類測(cè)試工具無(wú)法真實(shí)生成支持異步請(qǐng)求或部署在云平臺(tái)的可動(dòng)態(tài)擴(kuò)展資源的Web應(yīng)用的負(fù)載,無(wú)法搜集有效的測(cè)試數(shù)據(jù),產(chǎn)生的結(jié)果缺乏可信度,從而影響對(duì)Web服務(wù)器性能的測(cè)試。 針對(duì)這些問(wèn)題,本文基于Faban提出了一個(gè)自動(dòng)化測(cè)試框架,并實(shí)現(xiàn)了一個(gè)Web應(yīng)用自動(dòng)化測(cè)試工具——FabanPlus。它能夠根據(jù)用戶設(shè)計(jì)的測(cè)試用例和程序,自動(dòng)執(zhí)行Web應(yīng)用中的JavaScript腳本,生成包含異步請(qǐng)求的測(cè)試負(fù)載,并且根據(jù)Web服務(wù)器的反饋信息實(shí)現(xiàn)負(fù)載的動(dòng)態(tài)調(diào)節(jié);在測(cè)試過(guò)程中,F(xiàn)abanPlus實(shí)時(shí)性地監(jiān)測(cè)、搜集請(qǐng)求響應(yīng)時(shí)間、Web服務(wù)器CPU利用率、JavaScript執(zhí)行異常信息等數(shù)據(jù),并根據(jù)這些數(shù)據(jù)生成測(cè)試結(jié)果報(bào)告,分析服務(wù)器性能。 FabanPlus測(cè)試工具已在實(shí)際項(xiàng)目中得到了運(yùn)用和驗(yàn)證。本文將上海市建筑工地污染源環(huán)境監(jiān)測(cè)平臺(tái)作為被測(cè)系統(tǒng),分析其服務(wù)器日志,提取用戶行為規(guī)律。利用FabanPlus設(shè)計(jì)和編寫測(cè)試程序,對(duì)其服務(wù)器性能進(jìn)行自動(dòng)化測(cè)試,并且根據(jù)測(cè)試結(jié)果分析Web應(yīng)用性能,起到了優(yōu)化系統(tǒng)性能的作用。
[Abstract]:With the rapid development of the Internet and the continuous maturity of network technology, Web applications need to respond to a large number of users to access concurrently. Performance testing is becoming more and more important. It has become an important content to ensure and improve the quality of service of Web applications. Compared with traditional software, web applications are distributed, multi-user random concurrent access, support asynchronous requests. Processing is relatively concentrated on the server side, so it is difficult to achieve a large number of concurrent access by manual users. Therefore, automated testing tools play an important role in the performance testing of Web application servers. Today's Web applications widely use JavaScript and Ajax technology, allowing dynamic loading of Web content, support to send asynchronous requests to the server, improve the interaction between Web applications and users. At the same time, more and more Web applications are deployed on cloud platform. Providing resources dynamically according to the user's requirements, improving the scalability and reliability of the system on the basis of satisfying the service-level protocol. Therefore, the flexibility test of Web applications is also an important aspect. When the existing testing tools are faced with the complex system under test, they still follow the previous test framework and send and receive requests to the Web server according to the test script. Get the response time and throughput of the server. This kind of testing tool can not actually generate the load of Web application that supports asynchronous request or dynamically scalable resource deployed on cloud platform, and can not collect valid test data. The resulting results lack credibility, which affects the testing of Web server performance. To solve these problems, this paper presents an automated testing framework based on Faban, and implements a Web application automation testing tool, Faban Plus. it can automatically execute JavaScript scripts in Web applications according to the test cases and programs designed by users. Generate a test load containing asynchronous requests, and dynamically adjust the load based on feedback from the Web server; during the testing process, Faban Plus monitors the load in real time. The data such as request response time, CPU utilization ratio and CPU execution exception information are collected, and the test result report is generated according to these data, and the server performance is analyzed. The FabanPlus testing tool has been used and verified in the actual project. In this paper, the pollution source environment monitoring platform of Shanghai construction site is taken as the tested system, and its server log is analyzed. Using FabanPlus to design and write test program, to test the server performance automatically, and to analyze the application performance of Web according to the test results, which plays an important role in optimizing the system performance.
【學(xué)位授予單位】:上海交通大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2014
【分類號(hào)】:TP393.09

【共引文獻(xiàn)】

相關(guān)期刊論文 前10條

1 王立新;李明輝;;Modeling and Rendering in the Three-Dimensional Effect in Rhino for Lady's High Boots[J];Journal of Donghua University(English Edition);2011年02期

2 張文深;;基于LoadRunner的行政審批系統(tǒng)負(fù)載測(cè)試研究[J];電腦知識(shí)與技術(shù)(學(xué)術(shù)交流);2007年18期

3 王晶;陳衛(wèi)衛(wèi);;AJAX搜索引擎研究[J];電腦知識(shí)與技術(shù);2009年19期

4 李艷芹;陳躍華;郭松柏;;基于Web應(yīng)用系統(tǒng)的性能測(cè)試綜述[J];電腦知識(shí)與技術(shù);2010年28期

5 甘清云;;基于SilkPerformer的軟件性能測(cè)試[J];電腦知識(shí)與技術(shù);2011年32期

6 楊錦程;羌亮;葉涵敏;;基于XML的富媒體發(fā)布流程的優(yōu)化及比較[J];上海電力學(xué)院學(xué)報(bào);2009年02期

7 王云;;Web網(wǎng)站功能及性能測(cè)試探析[J];電子設(shè)計(jì)工程;2012年20期

8 李華波;吳禮發(fā);賴海光;鄭成輝;黃康宇;;有效的爬行Ajax頁(yè)面的網(wǎng)絡(luò)爬行算法[J];電子科技大學(xué)學(xué)報(bào);2013年01期

9 楊勝斌;;基于在線作業(yè)管理系統(tǒng)的并發(fā)測(cè)試研究[J];計(jì)算機(jī)安全;2013年03期

10 董卓亞;;基于百度地圖JavaScript API的通信地圖展示[J];電子設(shè)計(jì)工程;2013年18期

相關(guān)會(huì)議論文 前8條

1 李蕊;魏更宇;王樅;張冬梅;;Rhino解析引擎的分析與改進(jìn)[A];2010年全國(guó)通信安全學(xué)術(shù)會(huì)議論文集[C];2010年

2 鄭燁;劉偉;;政府網(wǎng)站建設(shè)會(huì)影響政府透明度嗎?——來(lái)自西部某省縣級(jí)政府網(wǎng)站評(píng)價(jià)的證據(jù)[A];第六屆珞珈國(guó)是論壇論文集[C];2012年

3 張瑋;牛正浩;史慧玲;孫萌;唐紹炬;;多目標(biāo)優(yōu)化的云計(jì)算虛擬集群動(dòng)態(tài)調(diào)整方法[A];山東計(jì)算機(jī)學(xué)會(huì)2013學(xué)術(shù)年會(huì)論文集[C];2013年

4 孫英華;郭振波;吳哲輝;杜樂(lè)樂(lè);;基于混合云市場(chǎng)的計(jì)算資源交易模型的研究[A];山東計(jì)算機(jī)學(xué)會(huì)2013學(xué)術(shù)年會(huì)論文集[C];2013年

5 潘送軍;周沿東;;淺談開(kāi)發(fā)測(cè)試資源池的建設(shè)及應(yīng)用[A];電力行業(yè)信息化優(yōu)秀論文集2013[C];2013年

6 周宇光;陳振義;盛中華;;探索云計(jì)算技術(shù)在企業(yè)信息化建設(shè)中的應(yīng)用[A];第十六屆中國(guó)科協(xié)年會(huì)——分7綠色設(shè)計(jì)與制造信息技術(shù)創(chuàng)新論壇論文集[C];2014年

7 姚艷;曹健;李明祿;;A Network-aware Virtual Machine Allocation in Cloud Datacenter[A];第十一屆全國(guó)博士生學(xué)術(shù)年會(huì)——信息技術(shù)與安全專題論文集[C];2013年

8 黃宏偉;聶新堯;;云計(jì)算為巖土工程帶來(lái)的機(jī)遇與挑戰(zhàn)[A];第三屆全國(guó)工程風(fēng)險(xiǎn)與保險(xiǎn)研究學(xué)術(shù)研討會(huì)會(huì)議交流材料[C];2014年

相關(guān)博士學(xué)位論文 前10條

1 盧云帆;面向網(wǎng)上購(gòu)買過(guò)程的消費(fèi)者在線溝通行為實(shí)證研究[D];華中科技大學(xué);2013年

2 李煜;基于雙邊市場(chǎng)理論的軟件平臺(tái)運(yùn)營(yíng)機(jī)制研究[D];北京郵電大學(xué);2013年

3 張帆;認(rèn)知可重構(gòu)的高效能Web服務(wù)體系結(jié)構(gòu)研究[D];解放軍信息工程大學(xué);2013年

4 李韌;基于Hadoop的大規(guī)模語(yǔ)義Web本體數(shù)據(jù)查詢與推理關(guān)鍵技術(shù)研究[D];重慶大學(xué);2013年

5 卿蘇德;網(wǎng)絡(luò)虛擬化映射算法研究[D];北京郵電大學(xué);2013年

6 史佩昌;云服務(wù)的高效傳遞技術(shù)研究[D];國(guó)防科學(xué)技術(shù)大學(xué);2012年

7 劉雪峰;隱私安全協(xié)議研究[D];西安電子科技大學(xué);2013年

8 任維武;用于分布式入侵檢測(cè)系統(tǒng)的合作式本體模型[D];吉林大學(xué);2013年

9 敬思遠(yuǎn);面向綠色虛擬數(shù)據(jù)中心資源管理的若干關(guān)鍵技術(shù)研究[D];電子科技大學(xué);2013年

10 陳軍;基于G/S模式的空間分析云服務(wù)關(guān)鍵技術(shù)研究[D];成都理工大學(xué);2012年

相關(guān)碩士學(xué)位論文 前10條

1 李艷芹;基于Web應(yīng)用系統(tǒng)的性能測(cè)試及優(yōu)化[D];東華大學(xué);2011年

2 周民;海量web輿情挖掘算法研究[D];電子科技大學(xué);2011年

3 管翠花;支持Ajax技術(shù)的Deep Web網(wǎng)絡(luò)爬蟲(chóng)模型研究[D];大連海事大學(xué);2011年

4 姜暉;Java卡綜合測(cè)試系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)[D];北京郵電大學(xué);2011年

5 李蕊;基于網(wǎng)絡(luò)爬蟲(chóng)技術(shù)的多源下載系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)[D];北京郵電大學(xué);2011年

6 江軍;用戶評(píng)論情感分類系統(tǒng)設(shè)計(jì)與實(shí)現(xiàn)[D];南京大學(xué);2011年

7 曾亮;嵌入式瀏覽器Javascript引擎的分析與優(yōu)化[D];電子科技大學(xué);2011年

8 何婭;嵌入式瀏覽器擴(kuò)展機(jī)制的研究與設(shè)計(jì)[D];電子科技大學(xué);2011年

9 李峰;Web應(yīng)用軟件建模過(guò)程中性能參數(shù)研究[D];中國(guó)石油大學(xué);2011年

10 容典;統(tǒng)一定位能力引擎的設(shè)計(jì)與實(shí)現(xiàn)[D];華南理工大學(xué);2011年



本文編號(hào):1637557

資料下載
論文發(fā)表

本文鏈接:http://sikaile.net/guanlilunwen/ydhl/1637557.html


Copyright(c)文論論文網(wǎng)All Rights Reserved | 網(wǎng)站地圖 |

版權(quán)申明:資料由用戶c850d***提供,本站僅收錄摘要或目錄,作者需要?jiǎng)h除請(qǐng)E-mail郵箱bigeng88@qq.com