Frame-based automatic generating method for Web service test data

A technology for automatically generating and testing data, which is applied in data exchange networks, digital transmission systems, electrical components, etc., can solve problems such as inability to automatically generate test data, and achieve the effects of short test time, good modularity, and high degree of automation

Inactive Publication Date: 2012-10-03
NANJING UNIV OF POSTS & TELECOMM
View PDF2 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0012] The current web services are facing challenges such as dynamic flexibility and composable reusability. Therefore, the formal description and automatic generation of use cases during web service testing will be able to alleviate these pressures. However, previous testing techniques cannot be based on specific data types. Automatically generate test data, or only a small part

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
  • Frame-based automatic generating method for Web service test data
  • Frame-based automatic generating method for Web service test data

Examples

Experimental program
Comparison scheme
Effect test

test Embodiment 1

[0073] Web service calls run through Simple Object Access Protocol (SOAP) communication. The SOAP protocol allows applications to exchange information via HTTP, which is also based on the XML format. This patent mainly tests the function of the Web service from the perspective of the user, so the Web service test case here generally refers to a SOAP message. SOAP messages often contain 、 ,and and other main elements, among which and is required. If you want to invoke a published service, the user must send a SOAP message request to the server, and the SOAP message contains information such as the operation name of the service and the parameter values ​​required for the operation. The SOAP message can be automatically generated by analyzing the WSDL document of the corresponding service, and the two necessary elements in the SOAP message are generated from the WSDL document and method. in The attribute value of the element can be obtained directly from the namespace ...

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 Frame-based automatic generating method for Web service test data. The method mainly solves the challenge of trend flexibility and combination reusability which are faced with a Web service test. The method mainly comprises frame express of a test case, automatic generation of the test case, and operation of Web service test. The method comprises the steps of analyzing a WSDL (Web Services Description Language) document so as to obtain related input type information from a Schemea of the document; automatically then obtaining the test case of certain service operation by using a make Test Case function, finally packaging the test case into an HTTP (Hyper Text Transport Protocol) packet to be sent to a service end; and analyzing an SOAP message in the HTTP packet by the service end and returning to a result of a called service. After being proved by a large quantity of test data, the method has the advantages that 1, according to the WSDL, the SOAP message can be sent accurately, and return information can be obtained; 2, the test data can be automatically generated simultaneously; and compared with the prior art, the method is more superior on aspects of test time and test power.

Description

technical field [0001] The invention provides a web service automatic test framework based on monad and QuickCheck technology, solves the problem of automatic generation of test cases when users perform web service function test, and belongs to the test field of web service. Background technique [0002] Web service (Web Service, WS for short) is an object deployed on the Web. They are based on XML (Extensible Markup Language)-based and open Web specification technology, so they have more advantages than any existing The better openness of object technology is a new platform for building interoperable distributed applications. The Web platform is a set of standards that defines how applications can achieve interoperability on the Web. We can use any language and write the required Web services on any platform. [0003] The Web service platform mainly adopts four technologies: [0004] 1. XML (Extensible Markup Language): The basic format for representing data in the Web se...

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): H04L12/26
Inventor 张迎周顾帅帅符炜张卫丰周国强邹德国王参参陈丽洁
Owner NANJING UNIV OF POSTS & TELECOMM
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