Method and apparatus for testing of business processes for web services
Abstract
A method for unit testing of business processes for Web services, including steps of mapping the Web service description language (WSDL) elements of a process under test and its partner processes into equivalent Object-Oriented language (OO) elements, and performing testing on the process under test based on Object-Oriented unit testing frameworks. Each Web service interface of the process under test and its partner processes is mapped into an equivalent OO interface, partner stubs are generated on basis of the OO interfaces of the partner processes, WSDL binding and service port information are defined for the generated partner stubs, test cases are formed which contain test logic describing the service invocations between the process under test and its partner processes, and the test cases are executed, wherein the partner stub and its associated mock object collectively implement the service of a corresponding partner process.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 25.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method for unit testing of business processes for Web services, comprising the steps of: mapping Web service description language (WSDL) elements of a process under test and its partner processes into equivalent Object-Oriented language (OO) elements; forming test cases containing test logic which describes service invocations between the process under test and its partner processes, wherein mock objects of the OO interfaces of the partner processes are used to simulate services of the partner processes; and executing test cases, wherein each of said partner stubs and its associated mock obj
- Claim 2Depends on #1
The method of claim 1 , wherein said WSDL binding is a binding of said Object-Oriented language used in said mapping step.
- Claim 3Depends on #1
The method of claim 1 wherein said WSDL bi
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 25 total)
References Cited — Backward Prior Art (12)
Non-Patent Literature (4)
- Bai et al., "WSDL-Based Automatic Test Case Generation for Web Services Testing"; IEEE, 2005; 7pg.
- Jai et al., "Rigorous and Automatic Testing of Web Applications"; Conference on Software Engineering and Applications, 2002, 6pg.
- Tsai et al., "Specification-Based Verification and Validation of Web Services and Service-Oriented Operating Systems"; IEEE, 2005, 9pg.
- Yang, et al., "Constructing an object-oriented architecture for Web application testing"; Journal of Information Science and Engineering, Jan. 2002; p. 59-84.