基于編排場景的Web服務(wù)相符性測試
本文選題:Web服務(wù)編排 + 場景 ; 參考:《北京工業(yè)大學(xué)》2014年碩士論文
【摘要】:Web服務(wù)是松散耦合的,可復(fù)用的軟件模塊,,是一種在XML基礎(chǔ)上發(fā)展起來的分布式計(jì)算技術(shù),是一種新的網(wǎng)絡(luò)服務(wù),其目的是為在Internet上不同操作系統(tǒng),硬件平臺和編程語言間集成應(yīng)用軟件提供支持,方便應(yīng)用的實(shí)現(xiàn)和發(fā)布。隨著Web服務(wù)的發(fā)展和廣泛應(yīng)用,人們發(fā)現(xiàn)Web服務(wù)的真正價(jià)值在于通過服務(wù)組合(Composition)使業(yè)務(wù)合作伙伴之間可以進(jìn)行電子商務(wù)對話,提供增值服務(wù)的能力。為了實(shí)現(xiàn)共同的業(yè)務(wù)目標(biāo),Web服務(wù)編排指定了多個參與者之間的交互序列。如何測試編排規(guī)范和編排實(shí)現(xiàn)的相符性是一個重要的研究課題。為此,本文力圖尋找方法和工具支持編排相符性的測試。 在本文中,作者對編排場景進(jìn)行精化,以獲得更有效的測試場景,顯著降低測試開銷。具體的,根據(jù)編排場景中XMLSchema類型定義,將交互類型劃分為子類型并將劃分輸入到組合工具Cascade中,得到一組變量的組合。將Cascade的輸出轉(zhuǎn)換為精化的類型樹并對精化后的場景進(jìn)行測試。為了實(shí)現(xiàn)基于編排場景的Web服務(wù)相符性測試,還需要解決測試數(shù)據(jù)(XML文檔)的生成問題;诰蟮木幣艌鼍氨疚奶岢隽松蒟ML文檔的方法。給出了由精化的類型樹生成modified樹和節(jié)點(diǎn)數(shù)據(jù)集的算法。為滿足不同需要,提供了多種節(jié)點(diǎn)取值策略供選擇。最后,本文介紹了作者開發(fā)的原型工具集以便自動化的生成測試數(shù)據(jù),并設(shè)計(jì)了實(shí)驗(yàn)來說明測試框架的可行性。
[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.
【學(xué)位授予單位】:北京工業(yè)大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:TP393.09
【共引文獻(xiàn)】
相關(guān)期刊論文 前8條
1 丁懷寶;高建華;;具有約束條件的組合測試用例集的構(gòu)建方法[J];計(jì)算機(jī)工程與設(shè)計(jì);2010年14期
2 劉博;李運(yùn)堅(jiān);張磊;;基于組合測試的V&V單元測試用例設(shè)計(jì)研究[J];太原科技大學(xué)學(xué)報(bào);2012年02期
3 張新玲;趙霞;張東;;云管理平臺自動化測試框架研究[J];軟件導(dǎo)刊;2013年10期
4 梁凡;宋曉秋;;基于二組合的測試用例集生成及精簡方法研究[J];計(jì)算機(jī)工程與設(shè)計(jì);2014年05期
5 李龍澍;王洪娟;;基于輸入輸出關(guān)系的局部組合測試技術(shù)[J];計(jì)算機(jī)技術(shù)與發(fā)展;2010年06期
6 李雙慶;鄭莉平;尹程果;;一種基于服務(wù)需求的自動測試數(shù)據(jù)生成方法[J];微計(jì)算機(jī)應(yīng)用;2011年04期
7 吳蕾;李心科;汪洪;;基于錯誤注入技術(shù)的Web服務(wù)可靠性測試研究[J];小型微型計(jì)算機(jī)系統(tǒng);2007年01期
8 管清波;曹裕華;莊錦山;;天基信息支援作戰(zhàn)仿真用例設(shè)計(jì)[J];系統(tǒng)仿真技術(shù);2014年02期
相關(guān)會議論文 前1條
1 李毅;顧健;顧鐵軍;;面向服務(wù)軟件架構(gòu)中的軟件測試[A];全國計(jì)算機(jī)安全學(xué)術(shù)交流會論文集(第二十三卷)[C];2008年
本文編號:2034023
本文鏈接:http://sikaile.net/guanlilunwen/ydhl/2034023.html