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

Web service modeling and test method based on interface semantic contract model

A test method and web service technology, applied in software testing/debugging, program control devices, etc., can solve problems such as lack of information, inconsistent service understanding, and running errors

Active Publication Date: 2013-04-24
TSINGHUA UNIV
View PDF3 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The description ability of the existing service interface specification is very limited, and there is a lack of sufficient information, especially the semantic information of service operation and integration. These implicit constraints cannot be accurately expressed, which often leads to inconsistencies in the understanding of services by both parties, which leads to mistake

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
  • Web service modeling and test method based on interface semantic contract model
  • Web service modeling and test method based on interface semantic contract model
  • Web service modeling and test method based on interface semantic contract model

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0080] like figure 1 As shown, the present invention mainly builds a service interface semantic contract model based on the service specification and domain knowledge of Web services, generates test data and test assertions based on knowledge expression and knowledge reasoning technology, and improves the degree of automation and intelligence of test case generation. The method takes the following steps:

[0081] Step (1) Network service initialization

[0082] "Service" is defined as an application software deployed on the Internet that provides specific computing capabilities, and only publishes interface definitions that can be accessed and invoked through standard Internet protocols, while hiding the technical implementation. The "services" are loosely coupled, and widely accepted standards provide for the interoperability between the various "services".

[0083] Web service is the main technology to realize service-oriented computing, which provides a set of standards-b...

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

A web service modeling and the test method based on an interface semantic contract model relate to the fields of software test modeling and automatic test case generation. The web service test method comprises (1) building a service interface semantic contract model to expand descriptive capability of an existing service interface; (2) generating test input data and a test case according to description of the interface data ontology to provide input data for the test case; and (3) providing an expected output result for the test case according to regular test data. The web service modeling and the test method based on the interface semantic contract model have the advantages of being applicable to a web service test, capable of expanding the descriptive capability of the existing service interface, capable of being used for generating the test data and the test case and improving the degree of automation and intelligentization of test generation through knowledge descriptions and reasoning technologies.

Description

Technical field: [0001] The invention relates to the field of computer software, in particular to the field of model-based test automation. Background technique: [0002] With the development of software as a service, more and more software providers provide software functions through the Internet in the form of service interfaces, and the software development method has changed from traditional program design to combination of services available on the Internet. Web Service (Web Service) is the main technology for service-oriented computing, providing a set of standards-based service publishing, discovery and combination mechanisms and an open platform for integrating distributed service components. [0003] While Web services provide a flexible and changeable application architecture, they also put forward higher requirements for testing. First, services need to be upgraded and evolved quickly and flexibly online, and services change frequently. Therefore, fast, effective,...

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
IPC IPC(8): G06F11/36G06F9/44
Inventor 白晓颖侯可佳李树芳
Owner TSINGHUA UNIV
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