首页> 外国专利> Method and apparatus for testing of business processes for web services

Method and apparatus for testing of business processes for web services

机译:用于测试Web服务业务流程的方法和装置

摘要

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.
机译:一种用于Web服务业务流程的单元测试的方法,该方法包括以下步骤:将被测流程及其伙伴流程的Web服务描述语言(WSDL)元素映射到等效的面向对象语言(OO)元素,然后对基于面向对象的单元测试框架的测试过程。被测流程及其伙伴流程的每个Web服务接口都映射到一个等效的OO接口,基于伙伴流程的OO接口生成伙伴存根,为生成的伙伴存根定义WSDL绑定和服务端口信息,形成包含测试逻辑的测试用例,这些逻辑描述了被测过程及其伙伴进程之间的服务调用,并且执行了测试用例,其中伙伴存根及其关联的模拟对象共同实现了相应伙伴进程的服务。

著录项

  • 公开/公告号US7954091B2

    专利类型

  • 公开/公告日2011-05-31

    原文格式PDF

  • 申请/专利权人 ZHONG JIE LI;BIN DU;WEI SUN;

    申请/专利号US20070710121

  • 发明设计人 BIN DU;WEI SUN;ZHONG JIE LI;

    申请日2007-02-23

  • 分类号G06F9/44;G06F15/177;G06F9/45;

  • 国家 US

  • 入库时间 2022-08-21 18:08:41

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号