A Testing Method for Web Services Focusing on User Requirements

Le Xu · Chinese Journal of Computers · 2014

This paper plans to add user requirement information into test case generations for Web services because of the existed situation,i.e.,Web services only provide interface documents for outsides,and the information for test case generation used by testers(except developers) is not enough.At present,the existed test case generation methods have high redundant and low efficiency to find bugs.This paper firstly set up user requirement model by clustering the existed WSDL files of Web services and selecting the exact Web services with other users' collaborative recommendation,and then generated test cases with domain knowledge and usage scenes(basic scene and optional scenes)by the extension of user requirement model and the selection of paths from the entry node to the exit node;finally,the workflow and case study indicated the efficiency of our method was better than the method which generated test cases based on variables' types in the WSDL files.Therefore,testing combinational Web services focused on user requirements can ensure the selected Web services matching user requirements,and the usage scenes also can enrich the information for testing,thus the test cases for Web services can be heuristically and more efficiently generated combining with the domain knowledge.

Read the paper · More papers on PaperTik