Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

System and method for testing of web services

a web service and service technology, applied in the field of system and method for testing computer software, can solve the problems of not providing the capability to extend types, not providing namespace provisions, and not writing error-free computer programs

Inactive Publication Date: 2006-07-06
PARASOFT
View PDF26 Cites 67 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Benefits of technology

[0010] Accordingly, the present invention enables the above problems to be overcome by providing a method and system for automating the testing of Web services that use SOAP as a wire protocol. The invention provides an easy interface for exercising Web services and testing their functionality. The invention helps users confirm the responses to SOAP messages with such features as fault detection, textual comparisons, XML validation by DTDs or XML Schemas, and the ability to express and flag complex patterns in XML. The invention lets the users validate responses that require application-specific verification (such as business logic validation) by plugging in their own code. The invention also provides the capability to perform regression testing of web services. In one embodiment, the invention automatically creates regression test controls from SOAP responses. Alternatively, users can create their own regression tests. In one embodiment, for testing XML, the invention includes a built-in Extensible Style Sheet Language Transformation (XSLT) processor, XML parser, and an editor.

Problems solved by technology

The problem of writing error-free computer programs has plagued programmers since the very beginning.
However, these schemes have generally been directed to enforcing adherence to concrete programming standards inherent in the definition of the programming language itself and not to more extrinsic quality-related concerns, such as language modularity, portability, testing costs and communications between different program modules in networked and distributed environments.
Other transport protocols, such as Java's Remote Method Invocation (RMI), CORBA's Internet Inter-Orb Protocol (IIPO), or DCOM's Distributed Computing Environment Remote Procedure Call (DCE RPC) can enable distributed applications, but such applications are not considered Web services because they are not deployed on the Web.
They do not provide the capability to extend types, they do not have provisions for namespaces, and competency in DTD writing requires learning a syntax that seems obscure to those outside the SGML world.
This is a difficult and time consuming task, both to exercise the web services and to confirm that the messages conform to requirements regarding features such as well-formedness, validity, fault handling, and application-specific business logic.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • System and method for testing of web services
  • System and method for testing of web services
  • System and method for testing of web services

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The present invention is a module testing tool for Web services. In one embodiment, the present invention automates the testing of Web services that use SOAP as a wire protocol and a transport protocol such as Standard Mail Transfer Protocol (SMTP), Hypertext Transfer Protocol (HTTP), HTTP over Secure Socket Layer (HTTPS), and the like. The invention provides an easy interface for exercising Web services, performing black box testing, and testing SOAP clients. In addition, the invention can be used to confirm the responses to SOAP messages with features such as fault detection, textual comparisons, XML validation by DTDs or XML schemas. Responses requiring application-specific verification such as business logic validation are supported through scripting. The invention also performs regression testing of Web services, including automatic creation of regression test controls from SOAP responses. In the case of XML, one embodiment of the invention includes a built-in XSLT proce...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention is a module testing tool for Web services. In one embodiment, the present invention automates the testing of Web services that use SOAP as a wire protocol and HTTP as a transport protocol. The invention provides an easy interface for exercising Web services and testing their functionality. The invention helps users confirm the responses to SOAP messages with such features as fault detection, textual comparisons, XML validation by DTDs or XML Schemas, and the ability to express and flag complex patterns in XML. The invention lets the users validate responses that require application-specific verification (such as business logic validation) by plugging in their own code. It also provides the capability to perform regression testing of web services. The invention can automatically creates regression test controls from SOAP Client responses, or users can create their own regression tests.

Description

CROSS-REFERENCE TO RELATED APPLICATION [0001] This patent application is a continuation of U.S. patent application Ser. No. 10 / 214,209, filed Aug. 7, 2002, which claims the benefit of the filing date of U.S. Provisional Patent Application Ser. No. 60 / 312,010, filed Aug. 13, 2001 and entitled “MODULE TESTER FOR WEB SERVICES”, the entire content of which is hereby expressly incorporated by reference.FIELD OF THE INVENTION [0002] The present invention relates to a method and system for testing computer software. More specifically, the present invention is directed to a method and system for module testing of Web Service protocols. BACKGROUND OF THE INVENTION [0003] The problem of writing error-free computer programs has plagued programmers since the very beginning. Sophisticated schemes for automatically discovering program errors and bugs of all kinds, including lexical, syntactic, semantic and logical, have been developed. However, these schemes have generally been directed to enforc...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(United States)
IPC IPC(8): G06F11/00
CPCG06F11/3688H04L12/2697H04L41/22H04L43/50H04L67/36H04L67/02H04L67/75
Inventor KOLAWA, ADAMCLUNE, JAMES EDMOND IIIHICKEN, WENDELL T.CHEN, LUKE LI-MING
Owner PARASOFT
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products