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

Method for realizing Web service automatic test

A technology of automated testing and web services, applied in digital transmission systems, electrical components, transmission systems, etc., can solve problems such as high test costs, difficult system debugging, web service interaction relationships, and difficult determination of the time sequence of dependency calls. Achieve the effect of reducing the number of tests and reducing the cost of testing

Inactive Publication Date: 2006-06-21
BEIHANG UNIV
View PDF0 Cites 38 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This process is difficult to automate, and it is even more difficult when the service is deployed to multiple containers
[0006] 2. When many web services need to be deployed, it will not only cost a lot of manpower, but also require a lot of hardware facilities, and the cost of testing is very high
[0007] 3. When there is a mutual call relationship between multiple web services, such a system is difficult to debug. After the error is found through testing, the root cause of the error will be difficult to track
[0008] 4. SOAP messages exchanged between Web services cannot be effectively recorded, which makes it difficult to determine the interaction relationship, dependency relationship, and call time sequence between Web 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
  • Method for realizing Web service automatic test
  • Method for realizing Web service automatic test
  • Method for realizing Web service automatic test

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The invention proposes a method capable of automatically deploying and testing services, and effectively tracking the services.

[0035] Such as figure 1 Shown, be the flow chart that realizes Web service automatic testing method for the present invention, specifically perform the following steps:

[0036] Step 101, execute the test case written by the user;

[0037] Step 102, establishing a system resource monitoring module to monitor the reading and writing of system resources;

[0038] Step 103, establishing and starting a proxy server, and setting all network connections in the system to be transferred through the proxy server;

[0039] Step 104, the JAVA virtual machine establishes a virtual Web service container according to the service deployment code in the test case, and deploys the service in the virtual Web service container;

[0040] Step 105, execute the test verification code in the test case, start a client that calls the Web service, the client establ...

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 relates to a method to realize automatic testing for Web service, which comprises: executing testing case, building monitor module to monitor read / write system resource; building and starting proxy server to set all network connection in system as transfer by proxy server; building virtual Web server by JVM according to service allocation code in testing case to allocate service in the server; executing testing validation code to start a client to call Web service to build network connection and call service, receiving and sending the call request by proxy server to virtual Web server for treatment, and returning the result to the client; executing testing validation code to test the return code; outputting test result. This invention needs just one testing case, and cuts manual allocation.

Description

technical field [0001] The invention relates to a method for realizing automatic testing of Web services, in particular to a method for automatic testing of Web services through a virtual Web service container. Background technique [0002] Web Service (Web Service) is one of the new technologies emerging in the IT field in the past ten years. It is the basic component of building Internet distributed systems and is becoming an effective platform for Enterprise Application Integration (EAI). The World Wide Web Consortium (W3C) defines it as: "A Web service is a software application through a Uniform Resource Identifier (URI), and its interface and binding form can be defined through Extensible Markup Language ( eXtensible Markup Language (XML for short) defines, describes and retrieves, and can complete direct interaction with other applications through XML messages and Internet protocols." Not only more and more enterprises conduct business transactions through Web service...

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 BEIHANG 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