Web composite service test method of extension-based hierarchical colored Petri net

A technology for combining services and testing methods, which is applied in the field of Web composite service testing solutions, and can solve the problems of not using, not detecting the interaction errors of composite services, and not being able to see the implementation details of Web services.

Inactive Publication Date: 2010-10-13
SOUTHEAST UNIV
View PDF0 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] 1) Web services have good encapsulation, users can only see the function list of Web services, but cannot see the implementation details of Web services
[0006] 2) Not for traditional applications, the web services we build and test have no direct user interface, and a lot of intermediate state is invisible, which makes the traditional model of heavy human manual intervention unworkable
When testing it, it is far from enough to test each member Web service, and the existing methods for testing Web services only focus on the test of a single Web service behavior
Only test the independent behavior of a single Web service, and cannot detect interaction errors between composite services

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 composite service test method of extension-based hierarchical colored Petri net
  • Web composite service test method of extension-based hierarchical colored Petri net
  • Web composite service test method of extension-based hierarchical colored Petri net

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] Below in conjunction with accompanying drawing, the technical scheme of invention is described in detail:

[0044] The method of the invention is to convert the OWL-S file into an extended hierarchical colored Petri net (EHCPN). Then analyze the data flow of EHCPN, generate test sequences, and then generate test data, and finally combine test sequences and test data to generate test cases, such as figure 1 shown.

[0045] Some symbols used in the present invention are defined below:

[0046] 1) All elements of type Type are marked as T;

[0047] 2) The type of variable v, marked as Type(v);

[0048] 3) The type of the expression expr, marked as Type(expr);

[0049] 4) The variable collection of the expression expr, marked as Var(expr);

[0050] 5) Multiple sets: The multiple sets on a non-empty finite set S are expressed as m=∑ s∈S m(s)s, m(s)∈S is a non-negative integer, called the coefficient of s, if and only if m(s)≠0, the element s∈S belongs to the multiset m...

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 invention discloses a Web composite service test method of an extension-based hierarchical colored Petri net. The method comprises the following steps of: (1) converting an OWL-S (Ontology Web Language-Service) document into an extended hierarchical colored Petri net to model abundant semantic information therein; and (2) utilizing a prematrix and a postmatrix of the extended hierarchical colored Petri net to analyze data flow information therein: firstly, acquiring definition use pairs of all variables, then, finding all output and input definition use chains of all the variables by using a complete definition-use path cover rule as a test rule, then, extending the output and input definition use chains into an executable test sequence, and finally, combining the test sequence and the test data to generate a test use case. The invention proposes a whole set of automatic test method which comprises the generation and the execution of the test use case by analyzing the interactive information of the variables among services from the start of a composite service stipulation OWL-S so that the interactive activities among the services in the composite service can be effectively tested.

Description

technical field [0001] The present invention is a test scheme of Web composite service. It is mainly used for automated testing of interaction information between composite services. Background technique [0002] Web service has become the main realization mechanism of commercial service on Internet and Intranet. The main domains of Web service implementation are enterprise-oriented service, customer-oriented service, device-oriented service and system-oriented service. Although the application fields of each Web service vary greatly, they all have some common properties: good encapsulation, loose coupling, standardization of usage agreements, and high integrability. Web services have become the main implementation mechanism of business services. [0003] The rapid development and wide application of Web services make it possible to use Web composite services to meet application requirements. Web composite service is to compose several Web services into large-grained pro...

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(China)
IPC IPC(8): H04L12/26
Inventor 王猛李必信周颖蔡菊
Owner SOUTHEAST UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products