基于HTTP的可靠性測試腳本生成的研究與實(shí)現(xiàn)
[Abstract]:With the development of information technology, the application of Web has infiltrated into every field of life. The government, company, consumer and so on are also more and more dependent on the Internet. Therefore, ensuring the reliability of Web applications has become more and more critical. Software testing is a very important stage in evaluating and improving the reliability of Web applications. Manual testing methods consume a lot of manpower and time resources, but the effect is not ideal, so automated testing technology emerges as the times require. The generation of test cases is one of the key links in automated testing. This paper focuses on the generation of automated test scripts for reliability testing of Web applications. According to the existence of sufficient and effective access logs for Web applications, this paper implements two test case generation methods based on recording principle and log analysis principle, respectively. The research results are as follows: 1) an extension of Chrome browser is implemented. It can record HTTP/HTTPs requests made by Chrome browser, and has the functions of configuring recording parameters, identifying dynamic parameters, editing scripts, downloading scripts and so on. 2) defined Markov chain model for Web applications. It includes the definition of the state in Markov chain, the definition of transition relation and the definition of transition probability. 3) an algorithm to determine the adequacy of test is proposed. The algorithm calculates the difference between the usage environment and the test environment of the Web application to be tested so as to determine the adequacy of the test or to determine the end condition of the test case generation process. The experimental results show that both the Chrome extension based on recording principle and the test case generation module based on log analysis theory meet the functional requirements; the proposed algorithm is more efficient than Euclidean algorithm in determining test adequacy.
【學(xué)位授予單位】:北京郵電大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2017
【分類號】:TP311.53;TP393.09
【相似文獻(xiàn)】
相關(guān)期刊論文 前10條
1 李留英,王戟,齊治昌;UML statecharts的測試用例生成方法[J];計(jì)算機(jī)研究與發(fā)展;2001年06期
2 路曉麗;葛瑋;陳新麗;郝克剛;;支持共享和復(fù)用的測試用例庫系統(tǒng)的設(shè)計(jì)[J];計(jì)算機(jī)科學(xué);2006年05期
3 胡珊;楊豐玉;張曄;劉琳嵐;;基于測試項(xiàng)抽取的測試用例復(fù)用方法[J];微電子學(xué)與計(jì)算機(jī);2010年01期
4 張德平;查日軍;;劃分測試用例選擇的風(fēng)險決策方法[J];計(jì)算機(jī)應(yīng)用研究;2010年12期
5 楊翊;陳挺;許崢;;證券軟件的測試用例設(shè)計(jì)充分性實(shí)踐[J];中國證券期貨;2012年07期
6 張智軼;陳振宇;徐寶文;楊瑞;;測試用例演化研究進(jìn)展[J];軟件學(xué)報;2013年04期
7 楊悅;秦湘河;楊永安;郭榮;;航天測控軟件測試用例標(biāo)準(zhǔn)及應(yīng)用研究[J];無線電工程;2013年09期
8 王侃,盧慶齡,彭艷麗;測試用例自動生成的鏈方法研究與實(shí)現(xiàn)[J];裝甲兵工程學(xué)院學(xué)報;2001年03期
9 李順華;測試用例管理方法探討[J];飛航導(dǎo)彈;2001年05期
10 徐仁佐,陳斌,陳波,吳閩泉,熊忠偉;構(gòu)造面向?qū)ο筌浖蓮?fù)用測試用例的模式研究[J];武漢大學(xué)學(xué)報(理學(xué)版);2003年05期
相關(guān)會議論文 前10條
1 王道堂;林春哲;張凱;;軟件測試用例構(gòu)造方法與手段[A];計(jì)算機(jī)技術(shù)在工程建設(shè)中的應(yīng)用——第十二屆全國工程建設(shè)計(jì)算機(jī)應(yīng)用學(xué)術(shù)會議論文集[C];2004年
2 李磊;曹先彬;;基于進(jìn)化的軟件測試用例生成方法[A];2005年“數(shù)字安徽”博士科技論壇論文集[C];2005年
3 徐李勤;王潔寧;;基于層次有色Petri網(wǎng)的軟件測試用例選取研究[A];全國第二屆信號處理與應(yīng)用學(xué)術(shù)會議?痆C];2008年
4 林春哲;張凱;王道堂;;軟件測試用例設(shè)計(jì)分析[A];計(jì)算機(jī)技術(shù)在工程建設(shè)中的應(yīng)用——第十二屆全國工程建設(shè)計(jì)算機(jī)應(yīng)用學(xué)術(shù)會議論文集[C];2004年
5 張俠影;李志蜀;;一種優(yōu)化的測試用例約簡方法[A];2008'中國信息技術(shù)與應(yīng)用學(xué)術(shù)論壇論文集(一)[C];2008年
6 張德平;聶長海;徐寶文;;劃分測試用例選擇策略研究[A];第五屆中國測試學(xué)術(shù)會議論文集[C];2008年
7 郭從穎;;場景驅(qū)動測試用例設(shè)計(jì)及其測試自動化技術(shù)研究[A];中國計(jì)量協(xié)會冶金分會2008年會論文集[C];2008年
8 郭從穎;;場景驅(qū)動測試用例設(shè)計(jì)及其測試自動化技術(shù)研究[A];2008全國第十三屆自動化應(yīng)用技術(shù)學(xué)術(shù)交流會論文集[C];2008年
9 周曉燕;李兵;潘偉豐;覃葉宜;;基于錯誤傳播概率網(wǎng)絡(luò)的軟件回歸測試用例選擇[A];第五屆全國復(fù)雜網(wǎng)絡(luò)學(xué)術(shù)會議論文(摘要)匯集[C];2009年
10 萬琳;張威;馬雪雁;陳曼青;;基于路徑的測試用例自動生成技術(shù)[A];第十屆全國容錯計(jì)算學(xué)術(shù)會議論文集[C];2003年
相關(guān)重要報紙文章 前10條
1 中國建設(shè)銀行信息技術(shù)部 肖魯川;對比測試腳本制作技術(shù)[N];計(jì)算機(jī)世界;2004年
2 金力;速度之爭[N];中國電腦教育報;2004年
3 深圳市信息無障礙研究會 戴杰;“聽”軟件的IT工程師[N];人民政協(xié)報;2014年
4 《計(jì)算機(jī)世界》評測實(shí)驗(yàn)室 李洋;挑戰(zhàn)可靠極限[N];計(jì)算機(jī)世界;2005年
5 本報記者 鄭紅艷;登陸http://www.nzdb.com.cn[N];農(nóng)資導(dǎo)報;2007年
6 謝敏 沈雪芳 戴金龍;解決軟件測試的近憂和遠(yuǎn)慮[N];計(jì)算機(jī)世界;2005年
7 計(jì)算機(jī)世界實(shí)驗(yàn)室 韓勖;撥云見日[N];計(jì)算機(jī)世界;2008年
8 ;深港攜手建設(shè)集成電路服務(wù)體系[N];中國高新技術(shù)產(chǎn)業(yè)導(dǎo)報;2004年
9 《網(wǎng)絡(luò)世界》記者 鄭楠;ONF測試步伐有條不紊[N];網(wǎng)絡(luò)世界;2014年
10 dation;認(rèn)證網(wǎng)站走一走[N];中國電腦教育報;2003年
相關(guān)博士學(xué)位論文 前10條
1 羅玲;擴(kuò)展π演算的建模、驗(yàn)證與測試[D];西安電子科技大學(xué);2015年
2 王志強(qiáng);基于模糊測試的漏洞挖掘及相關(guān)攻防技術(shù)研究[D];西安電子科技大學(xué);2015年
3 涂徑玄;基于覆蓋分析的自動化錯誤定位關(guān)鍵技術(shù)研究[D];南京大學(xué);2016年
4 蘇亭;基于覆蓋準(zhǔn)則的軟件測試用例自動化生成方法的研究與實(shí)現(xiàn)[D];華東師范大學(xué);2016年
5 張功杰;基于集合進(jìn)化與占優(yōu)關(guān)系的變異測試用例生成[D];中國礦業(yè)大學(xué);2017年
6 張慧;基于測試用例的錯誤定位技術(shù)研究[D];東南大學(xué);2016年
7 李麗;航天相機(jī)主控軟件測試用例自動生成技術(shù)的研究[D];中國科學(xué)院研究生院(長春光學(xué)精密機(jī)械與物理研究所);2010年
8 黃如兵;組合測試用例的自適應(yīng)隨機(jī)生成與優(yōu)先級排序方法研究[D];華中科技大學(xué);2013年
9 張娟;軟件測試中測試用例復(fù)用的研究[D];上海大學(xué);2012年
10 游亮;回歸測試用例選擇技術(shù)研究[D];華中科技大學(xué);2012年
相關(guān)碩士學(xué)位論文 前10條
1 張珊;基于HTTP的可靠性測試腳本生成的研究與實(shí)現(xiàn)[D];北京郵電大學(xué);2017年
2 田春艷;基于灰色關(guān)聯(lián)逼近理想解方法的測試用例評價模型研究[D];昆明理工大學(xué);2009年
3 唐海鵬;基于Additional策略回歸測試用例優(yōu)先級排序優(yōu)化研究[D];西南大學(xué);2015年
4 陳夢云;基于圈復(fù)雜度和調(diào)用次數(shù)的測試用例排序方法[D];上海師范大學(xué);2015年
5 姚瑞超;廣東電網(wǎng)測試用例自動生成工具的研究與設(shè)計(jì)[D];華南理工大學(xué);2015年
6 張澤林;基于數(shù)據(jù)挖掘的軟件多故障定位與分析技術(shù)[D];南京理工大學(xué);2015年
7 鄒炳松;嵌入式軟件的圖形化測試用例生成系統(tǒng)設(shè)計(jì)與實(shí)現(xiàn)[D];哈爾濱工業(yè)大學(xué);2015年
8 李錦程;基于微信平臺的醫(yī)療就診系統(tǒng)設(shè)計(jì)與實(shí)現(xiàn)[D];哈爾濱工業(yè)大學(xué);2015年
9 趙群;軟件錯誤定位中的巧合正確性問題研究[D];哈爾濱工業(yè)大學(xué);2015年
10 常龍輝;Web應(yīng)用的測試用例優(yōu)化生成與優(yōu)先級技術(shù)[D];上海大學(xué);2015年
,本文編號:2442186
本文鏈接:http://sikaile.net/guanlilunwen/ydhl/2442186.html