Font Size: a A A

Research And Implementation Of Integration Testing Method Of Web Services Based On Mutation Technology

Posted on:2012-11-04Degree:MasterType:Thesis
Country:ChinaCandidate:M H ZhangFull Text:PDF
GTID:2218330368481152Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Along with the development and wide application of Web technology, a single Web Service cannot satisfy customer's requirement increasingly, complex and diversified needs, and then Web Services combination arise at the historic moment. Web Services combination of various Web Services is not just putting together simply. It needs to consider the interaction between the mutual influence, Services and etc. These problems make the quality assurance of Web Services particularly important. The features of heterogeneous, loose coupling, shielding internal realization and different application environment increase the difficulty of integration testing for Web Services.Mutation technology is a kind of fault principle-based software testing technology. Mutation technology simulate possible problems, generate mutants according to specific mutation operators, run the original and mutants with plenty of initial testing data, judge the quality of test data according to running result of the original and mutants, and then select the effective test data.This dissertation does integration testing for Web Services using mutation technology. The key technique of mutation is to determine the mutation operators. This paper selects contract mutation operators, interface mutation operators and path mutation operators. Contract mutation needs to expand WSDL documents of Web Services before testing to make WSDL contain contracts, and then generate mutants by replacing relational operators, logical operators, arithmetic operators, constants, parameters and increasing or decreasing parameters. Based on WSDL (Web Services for documentation), interface mutation extract interface functions parameters and so on from WSDL, and generate mutants by replacing function names, function types, parameters types, parameters names, parameters count and parameters location. Path mutation needs to generate paths in advance and generate mutants by adding service not appear in the path, deleting service appear in the path, changing order of services appear in the path and replacing service appear in the path by one does not appear in the path.Running original program and mutants needs to call services using dynamic proxy to call unsure services, and then analyze testing effect according to comparation of results of original program and mutants.This dissertation introduces the process of integration testing of Web Services using mutation technology, designs a tool for integration testing of Web services and proves the effect of this method model through experiments.
Keywords/Search Tags:Web Services, Contract Mutation, Interface Mutation, Path Mutation
PDF Full Text Request
Related items