Automatic test method and apparatus

A technology of automatic testing and similarity, applied in software testing/debugging, special data processing applications, instruments, etc., can solve the problems of low test efficiency, high tester requirements and dependencies, and achieve the effect of improving test efficiency

Active Publication Date: 2015-10-07
GUANGZHOU HUADUO NETWORK TECH
View PDF3 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the process of realizing the present invention, the inventor finds that the prior art has at least the following problems: since the URL request needs to be manually constructed by the test

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
  • Automatic test method and apparatus
  • Automatic test method and apparatus
  • Automatic test method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0063] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0064] See figure 1 As shown in , it is a schematic diagram of the implementation environment involved in the automatic testing method provided in an embodiment of the present invention. The implementation environment may include an automatic test server 110, a Web server 120, and a Web server 130 for this test.

[0065] The automatic test server 110 is a server running a test program of the automatic test Web service, and is used for collecting URL request and response data packets, or sending target URL requests, or receiving test response data packets. The automatic test server 110 is connected to the Web server 120 and the Web server 130 in a wired or wireless manner.

[0066] Web server 120 can be a server running in the actual ...

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 discloses an automatic test method and apparatus, and belongs to the software testing field. The method comprises: collecting a URL request and a response data packet from a running log file of a Web server; screening out a destination URL request and a destination response data packet from the URL request and the response data packet by using a function template; sending the destination URL request to the Web server, and acquiring a feedback test response data packet; and calculating similarity between the destination response data packet and the test response data packet, and outputting a test result according to the similarity. The present invention resolves the problems that a test method in the prior art highly requires and depends on test personnel and that test efficiency is relatively low, and achieves an effect of implementing a full-automatic web service test without constructing a URL request or manually analyzing a response data packet, thereby improving test efficiency.

Description

technical field [0001] The invention relates to the field of software testing, in particular to an automatic testing method and device. Background technique [0002] A web service is a service provided to users via the Internet. A typical service mode is: the user sends a URL request (Uniform Resource Locator, uniform resource locator) to the Web server through the client, and the Web server returns a response packet to the client according to the URL request. The process of generating the response data packet may be completed by a CGI (Common Gateway Interface, Common Gateway Interface) program in the Web server. [0003] In the development stage of Web services, it is necessary to test the Web services. A testing method in the prior art is as follows: a tester constructs a URL request, sends the URL request to a Web service through a client, and the Web service generates a response data packet according to the URL request, and feeds the response data packet back to the c...

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/36G06F17/30
Inventor 母天石
Owner GUANGZHOU HUADUO NETWORK TECH
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