基于變異測試的RESTful Web服務(wù)測試數(shù)據(jù)優(yōu)化生成方法
發(fā)布時間:2018-03-31 09:07
本文選題:測試數(shù)據(jù)生成 切入點:RESTful 出處:《東南大學學報(自然科學版)》2017年03期
【摘要】:為提升基于REST的Web服務(wù)系統(tǒng)測試數(shù)據(jù)生成效率及可用性,提出了一種基于變異測試的測試數(shù)據(jù)優(yōu)化生成方法.將RESTful Web服務(wù)對應(yīng)的Web應(yīng)用描述語言(WADL)增加數(shù)據(jù)類型約束,并利用該約束生成初始測試數(shù)據(jù).對約束關(guān)系進行變異生成變異體,在消除等價變異體并利用聚類實現(xiàn)變異體集約簡的基礎(chǔ)上,結(jié)合貪心算法優(yōu)化篩選初始測試數(shù)據(jù),生成無冗余的RESTful Web服務(wù)可用測試數(shù)據(jù)集.基于Hadoop平臺技術(shù),實現(xiàn)了針對RESTful Web服務(wù)系統(tǒng)測試數(shù)據(jù)自動生成的支撐軟件.測試執(zhí)行結(jié)果表明,在有效保證測試數(shù)據(jù)可用且無冗余的基礎(chǔ)上,極大縮減了測試數(shù)據(jù)集規(guī)模和測試數(shù)據(jù)生成時間,完成了針對RESTful Web服務(wù)系統(tǒng)的自動化測試數(shù)據(jù)優(yōu)化生成,提升了測試生成效率.
[Abstract]:In order to improve the efficiency and availability of test data generation in Web services system based on REST, a test data generation method based on variation testing is proposed. The Web application description language corresponding to RESTful Web service is added to the data type constraint. The constraint is used to generate the initial test data, and the constraint relation is mutated to generate the variant. On the basis of eliminating the equivalent variant and using clustering to reduce the variation set, the initial test data is optimized and screened with greedy algorithm. Based on the technology of Hadoop platform, the support software for automatic generation of test data for RESTful Web service system is realized. The test execution results show that, On the basis of effectively ensuring the availability and no redundancy of test data, the size of test data set and the time of test data generation are greatly reduced, and the automatic test data generation for RESTful Web service system is optimized and the efficiency of test generation is improved.
【作者單位】: 內(nèi)蒙古大學計算機學院;
【基金】:國家自然科學基金資助項目(61262017,61662051) 內(nèi)蒙古自然科學基金資助項目(2015MS0611)
【分類號】:TP393.09
【相似文獻】
相關(guān)期刊論文 前4條
1 張美花;姜瑛;;基于變異的Web復(fù)合服務(wù)測試數(shù)據(jù)選擇方法[J];計算機應(yīng)用;2011年09期
2 姜瑛,辛國茂,單錦輝,張路,謝冰,楊芙清;一種Web服務(wù)的測試數(shù)據(jù)自動生成方法[J];計算機學報;2005年04期
3 李華;葉新銘;吳承勇;王龍;;下一代網(wǎng)絡(luò)協(xié)議測試數(shù)據(jù)半自動生成方法研究[J];計算機科學;2008年12期
4 ;[J];;年期
相關(guān)碩士學位論文 前1條
1 陳文杰;RESTful Web Service的測試數(shù)據(jù)云生成方法研究[D];內(nèi)蒙古大學;2016年
,本文編號:1690059
本文鏈接:http://sikaile.net/guanlilunwen/ydhl/1690059.html
最近更新
教材專著