Font Size: a A A

Design And Implementation Of Web Services Integration Testing Tools

Posted on:2010-11-03Degree:MasterType:Thesis
Country:ChinaCandidate:Y K LuFull Text:PDF
GTID:2208330332978062Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
As an Internet-based component technology, web services technology which provides a unified approach on describing, publishing and invoking for loosely coupled distributed environment with SOAP(Simple Object Access Protocol), WSDL(Web Services Description Language), UDDI(Universal Description Discovery and Integration) and other standards, which results in improving the software development efficiency as well as reducing development costs effectively.With the development of Enterprise Application Integration, the requirements of enterprises has not been met resulting from the simplex functionality and lots of business process for B2B(Business to Business) by using a signle service. It is necessary to compose the existing web services to solve more complex problems.Web services composition is not simple nesting and invoking between services because of the inherent attributes such as heterogeneity, reusing in different context, unavailable source codes. Therefore, the behaviors and interactions of web services need to be defined by precise semantics or functional annotations. BPEL (Web Services Business Process Execution Language) prepared to follow the original intention of Web Services Orchestration and has been supported by Microsoft, Sun, IBM, Oracle and other development manufacturers. Describing web services composition with BPEL, even if all services in process have been validated by unit testing, the bugs such as interoperability between interfaces may still occur in sub-services integration. Unfortunately, these errors can not be found in unit testing. So detecting and correcting the above bugs early is the precondition of assuring the quality of composed web services. Then composed web services would obtain the expected effect.This dissertation presents a method of Web Services integration testing based on BPEL and design-by-contract. This approach includes the following 7 parts:(1) Extending WSDL so that the contracts and QoS (Quality of Service) are avaible to facilitate the integration testing. (2) Allocating weights and regulating the matching degrees for the customized conditions, then composing web services and generating BPEL document after composition when overall matching degree falls below a threshold value. (3) Translating BPEL generated in (2) or provided by users with other tools automatically and recording related informations with NF (Nesting Format). (4) Generating AD4B (Adjacency Matrix for BPEL) based on NF. (5) Generating basis paths set based on NF and AD4B, adding parallel paths or implicit branching paths and DPE (Dead-Path-Elimination) paths automatically according to the special characteristics of and in BPEL. (6) Generating initial test data based on contracts in WSDL of composed service, then selecting test data with path coverage, adding test data with reusing unit testing data and generating test data in effective equivalence class of path execution conditions automatically. (7) Designing a BPEL engine to perform test data. A tool for web services intergration tesing is designed and implemented adopting the above method.This dissertation carried out a large number of integration testing experiments. The effectivity of this method as well as the availability of the tool is verified through the analysis on actual BPEL documents and the integration testing of various sub-services in these BPEL.
Keywords/Search Tags:Web Services, Integration Testing, BPEL, Basis Path
PDF Full Text Request
Related items