Font Size: a A A

Test Case Selection Method For Composited Web Service Based On OWL-S Document

Posted on:2013-11-13Degree:MasterType:Thesis
Country:ChinaCandidate:Y LiFull Text:PDF
GTID:2298330467964077Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
OWL-S is an ontology language for Web Service, and it is based on Web Service and semantic Web. Composited Web Services cooperate with remote Web Services to achieve more complicate functions. The remote Web Services must not only be correctly called but also be correctly composited.This paper focuses on the test case selection problem of composited Web Service in the view of a Service Requester. As a Service Requester, only Web Service specification can be accessed. Therefore, this paper first constructs a WSCFG model based on the OWL-S specification of a Web Service; then a partition strategy is provided based on WSCFG model, so as to select test cases; at last, a selection method is provided for Web Service regression testing based on WSCFG model. The main work summarized as follows:1) Collect related information from OWL-S specification. In OWL-S specification, Service Model describes the realization information of Web Service in detail by using Ontology Process, which is the IOPEs and Control Construct information for the Service. This paper analyzes the Ontology Processes in OWL-S specification in order to get the CC4CS of the Composited Web Service and the IOPEs information of all the Processes.2) Construct the WSCFG for Composited Web Service. Firstly, the CC4CS is transferred to control flow graph based on the semantic of the control constructs in it. Then the relationships among parameters, services and preconditions are connected from the IOPEs information of Processes. At last, WSCFG model is build based on the two part information above. The WSCFG model not only shows the control flow of the Composited Web Services, but also support the information of relationships among parameters.3) A test case selection method for Composited Services is proposed based on WSCFG. All the possible pathes are analyzed based on the control flow graph, which is used to classify the test case of Composited Web Services. When the test case is reused, select the test case from every class to test the Service. This method can save the testing cost and also make the testing case is sufficient.4) A Regression test case selection method is proposed by using WSCFG. Firstly, the four update situations are listed, which are the replace of Atomic Process, adding or deleting a Atomic Process, the changes of parameters and preconditions. The modified range and dependence relationships in WSCFG are collected by analyzed based on WSCFG model, and the effect range ES is generated. The regression test case selection is based on the ES of updating.5) Build the framework of regression test case generation for Compostited Web Service. Provide a example to illustrate the test case selection process and the result of regression test case selection. The example shows that our method select less test cases than radom selection method under the condition of constant rate of edges coverage.
Keywords/Search Tags:OWL-S, Ontology, WSCFG, Test Case Selection, Regression Test
PDF Full Text Request
Related items