Method and apparatus of effective functional test data generation for web service testing
AssigneeInternational Business Machines Corporation
InventorsLiang-Jie Zhang, Zhong Jie Li, Jun Zhu, Nagaraj Chinni, Gopal Kittur, Naomi M. Mitsumori
Life of this patent
Estimating the term…
Abstract
A method, system and apparatus for generating test data for web services testing load a selected file describing one or more web services operations into memory, select an operation specified in said loaded file, and identify one or more fields used in said operation. The one or more fields are customized and the customization is validated. Generation rules are configured and one or more variations of the fields are generated.
Claims25
A computer-implemented method of generating test data for web services testing, comprising:
- loading a selected web service definition file describing one or more web services operations and associated schema file into memory;
- identifying an operation contained in said loaded file;
- identifying one or more fields used as one or more input parameters in said operation;
- receiving user customization of said one or more fields;
- validating automatically said user customization of said one or more fields against one or more original constraints specified in the selected file or the associated schema file or combinations thereof;
- configuring one or more generation rules, wherein the generation rules specify a test strategy for testing said one or more web services;
- and
- generating one or more variations of said one or more field based on the configured one or more generation rules.
A system for generating test data for web services testing, comprising:
- a processor;
- a parser module operable to parse one or more web service definition files describing one or more web services and associated schema file, and one or more operations contained therein;
- a graphical user interface module executable on the processor and operable to interact with a user and present said parsed data, including one or more fields used as one or more input parameters to said one or more operations;
- a configuration validation module operable to automatically validate user customizations against one or more original constraints specified in the web service definition file or the associated schema file or combinations thereof, and validate generation rule selections, wherein the generation rule selections determine a test strategy and one or more rules are generated for testing said one or more web services based on the test strategy;
- and
- a variation generator module operable to produce data variations for the selected to-test fields based on the validated generation rule selections.
A program storage device readable by a machine, tangibly embodying a program of instructions executable by the machine to perform a method of generating test data for web services testing, comprising:
- loading a selected web service definition file describing one or more web services operations and associated schema file into memory;
- identifying an operation contained in said loaded file;
- identifying one or more fields used as one or more input parameters in said operation;
- receiving user customization of said one or more fields;
- validating automatically said user customization of said one or more fields against one or more original constraints specified in the selected file or the associated schema file or combinations thereof;
- configuring one or more generation rules, wherein the generation rules specify a test strategy for testing said one or more web services;
- and
- generating one or more variations of said one or more field based on the configured one or more generation rules.
Dependencies are inferred from the claim text.