基于編排場景的Web服務相符性測試
發(fā)布時間:2018-06-18 04:14
本文選題:Web服務編排 + 場景; 參考:《北京工業(yè)大學》2014年碩士論文
【摘要】:Web服務是松散耦合的,可復用的軟件模塊,是一種在XML基礎上發(fā)展起來的分布式計算技術,是一種新的網(wǎng)絡服務,其目的是為在Internet上不同操作系統(tǒng),,硬件平臺和編程語言間集成應用軟件提供支持,方便應用的實現(xiàn)和發(fā)布。隨著Web服務的發(fā)展和廣泛應用,人們發(fā)現(xiàn)Web服務的真正價值在于通過服務組合(Composition)使業(yè)務合作伙伴之間可以進行電子商務對話,提供增值服務的能力。為了實現(xiàn)共同的業(yè)務目標,Web服務編排指定了多個參與者之間的交互序列。如何測試編排規(guī)范和編排實現(xiàn)的相符性是一個重要的研究課題。為此,本文力圖尋找方法和工具支持編排相符性的測試。 在本文中,作者對編排場景進行精化,以獲得更有效的測試場景,顯著降低測試開銷。具體的,根據(jù)編排場景中XMLSchema類型定義,將交互類型劃分為子類型并將劃分輸入到組合工具Cascade中,得到一組變量的組合。將Cascade的輸出轉換為精化的類型樹并對精化后的場景進行測試。為了實現(xiàn)基于編排場景的Web服務相符性測試,還需要解決測試數(shù)據(jù)(XML文檔)的生成問題;诰蟮木幣艌鼍氨疚奶岢隽松蒟ML文檔的方法。給出了由精化的類型樹生成modified樹和節(jié)點數(shù)據(jù)集的算法。為滿足不同需要,提供了多種節(jié)點取值策略供選擇。最后,本文介紹了作者開發(fā)的原型工具集以便自動化的生成測試數(shù)據(jù),并設計了實驗來說明測試框架的可行性。
[Abstract]:Web services are loosely coupled, reusable software modules, a distributed computing technology developed on the basis of XML, is a new network service, which aims at different operating systems on the Internet. Integrated application software between hardware platform and programming language provides support to facilitate the implementation and release of applications. With the development and wide application of Web services, it is found that the real value of Web services lies in the ability to provide value-added services by making e-commerce dialogues among business partners through service composition. In order to achieve common business objectives, web service orchestration specifies a sequence of interactions between multiple participants. How to test the conformance between orchestration specification and orchestration implementation is an important research topic. Therefore, this paper tries to find methods and tools to support orchestration compliance testing. In this paper, the author refines the orchestration scenarios to obtain more efficient test scenarios and significantly reduce the test overhead. Specifically, according to the XML Schema type definition in the orchestration scenario, the interaction type is divided into subtypes and the partition is input into the composition tool Cascade, and a set of variables is combined. The output of the Cascade is converted into a refined type tree and the refined scenario is tested. In order to realize the test of Web service conformity based on orchestration scenario, we also need to solve the problem of generating test data and XML document. Based on the refined orchestration scenario, this paper presents a method to generate XML documents. An algorithm for generating modified trees and node datasets from refined type trees is presented. In order to meet different needs, a variety of node selection strategies are provided. Finally, this paper introduces the prototype tool set developed by the author to generate test data automatically, and designs experiments to illustrate the feasibility of the test framework.
【學位授予單位】:北京工業(yè)大學
【學位級別】:碩士
【學位授予年份】:2014
【分類號】:TP393.09
【共引文獻】
相關期刊論文 前8條
1 丁懷寶;高建華;;具有約束條件的組合測試用例集的構建方法[J];計算機工程與設計;2010年14期
2 劉博;李運堅;張磊;;基于組合測試的V&V單元測試用例設計研究[J];太原科技大學學報;2012年02期
3 張新玲;趙霞;張東;;云管理平臺自動化測試框架研究[J];軟件導刊;2013年10期
4 梁凡;宋曉秋;;基于二組合的測試用例集生成及精簡方法研究[J];計算機工程與設計;2014年05期
5 李龍澍;王洪娟;;基于輸入輸出關系的局部組合測試技術[J];計算機技術與發(fā)展;2010年06期
6 李雙慶;鄭莉平;尹程果;;一種基于服務需求的自動測試數(shù)據(jù)生成方法[J];微計算機應用;2011年04期
7 吳蕾;李心科;汪洪;;基于錯誤注入技術的Web服務可靠性測試研究[J];小型微型計算機系統(tǒng);2007年01期
8 管清波;曹裕華;莊錦山;;天基信息支援作戰(zhàn)仿真用例設計[J];系統(tǒng)仿真技術;2014年02期
相關會議論文 前1條
1 李毅;顧健;顧鐵軍;;面向服務軟件架構中的軟件測試[A];全國計算機安全學術交流會論文集(第二十三卷)[C];2008年
本文編號:2034022
本文鏈接:http://www.sikaile.net/guanlilunwen/ydhl/2034022.html
最近更新
教材專著