指挥控制与仿真
指揮控製與倣真
지휘공제여방진
COMMAND CONTROL & SIMULATION
2015年
4期
123-130
,共8页
Web服务测试%自动化测试%可变力度组合测试%WSDL文档%约束规则
Web服務測試%自動化測試%可變力度組閤測試%WSDL文檔%約束規則
Web복무측시%자동화측시%가변력도조합측시%WSDL문당%약속규칙
Web Services testing%automated testing%combinatorial test%WSDL%constrain rules
Web服务的特点使得它需采用自动化测试的方法,而现有的方法由于对服务描述文件中各元素间实际关系考虑不足,进而导致测试用例的冗余,并且错误检测能力较差。针对该问题,文中对元素间实际交互关系进行了研究,根据WSDL文档建立形式化树模型,采用基于One?test?at?a?time策略的可变力度的组合测试方法生成测试用例集,随后根据数据约束规则获取最优测试用例集。实验表明,与随机测试相比,该方法在同样的测试用例数量上,能够检测更多的错误,并且在用例规模上优于现有的方法。
Web服務的特點使得它需採用自動化測試的方法,而現有的方法由于對服務描述文件中各元素間實際關繫攷慮不足,進而導緻測試用例的冗餘,併且錯誤檢測能力較差。針對該問題,文中對元素間實際交互關繫進行瞭研究,根據WSDL文檔建立形式化樹模型,採用基于One?test?at?a?time策略的可變力度的組閤測試方法生成測試用例集,隨後根據數據約束規則穫取最優測試用例集。實驗錶明,與隨機測試相比,該方法在同樣的測試用例數量上,能夠檢測更多的錯誤,併且在用例規模上優于現有的方法。
Web복무적특점사득타수채용자동화측시적방법,이현유적방법유우대복무묘술문건중각원소간실제관계고필불족,진이도치측시용례적용여,병차착오검측능력교차。침대해문제,문중대원소간실제교호관계진행료연구,근거WSDL문당건립형식화수모형,채용기우One?test?at?a?time책략적가변력도적조합측시방법생성측시용례집,수후근거수거약속규칙획취최우측시용례집。실험표명,여수궤측시상비,해방법재동양적측시용례수량상,능구검측경다적착오,병차재용례규모상우우현유적방법。
The feature of Web services makes it requires automated testing method, however, the existed testing method may lead to the redundancy of test suite and the decrease of fault detecting ability, since it cannot handle scenarios where the strengths of the different interactions are not uniform. To avoid this limitation, the actual interaction relationship should be made sufficient consideration, construct the Tree model based on WSDL, one?test?at?a?time strategy are proposed to generate variable strength combinatorial test suite, Subsequently,minimize the test cases by using constrain rules. The results show that compared with conventional random testing, the proposed approach can detect more faults with the same number of test cases and optimality on the size of existed approach.