发明授权
US07954091B2 Method and apparatus for testing of business processes for web services
有权
用于测试Web服务业务流程的方法和设备
- 专利标题: Method and apparatus for testing of business processes for web services
- 专利标题(中): 用于测试Web服务业务流程的方法和设备
-
申请号: US11710121申请日: 2007-02-23
-
公开(公告)号: US07954091B2公开(公告)日: 2011-05-31
- 发明人: Zhong Jie Li , Bin Du , Wei Sun
- 申请人: Zhong Jie Li , Bin Du , Wei Sun
- 申请人地址: US NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: US NY Armonk
- 代理商 William Stock; Anne Vachon Dougherty
- 优先权: CN200610051446 20060224
- 主分类号: G06F9/44
- IPC分类号: G06F9/44 ; G06F15/177 ; G06F9/45
摘要:
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.
公开/授权文献
信息查询