Internet application testing method and device

An Internet application and testing device technology, applied in the field of computer networks, can solve problems such as high occupation of system resources and inaccurate test results, and achieve the effects of reference, reduced system resource occupation, and accurate test results.

Inactive Publication Date: 2019-04-02
TONGDUN HLDG CO LTD
View PDF6 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides an Internet application testing method and device to solve the problems of inaccurate test results and high occupation of system resources during application testing

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
  • Internet application testing method and device
  • Internet application testing method and device
  • Internet application testing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] refer to figure 1 , shows a kind of Internet application testing device 100 in the embodiment of the present invention, is characterized in that, described device comprises: TCP analysis module 101, traffic forwarding module 102 and traffic mirroring module 103:

[0026] The embodiment of the present invention can be used for the test work after the development or repair of the application system that can respond to the service request of the user. On the original data transmission line, the TCP analysis module analyzes the transmitted TCP data packets to obtain a complete application layer The packet data of the protocol, and expose the encapsulated data to the bypass traffic mirroring module, and the traffic mirroring module copies the packet data and sends it to the application under test for the application under test to respond. At the same time, the TCP analysis module sends the packet data to the traffic forwarding module, and the traffic forwarding module then s...

Embodiment 2

[0045] refer to figure 2 , shows a structural block diagram of another Internet application testing device 200 according to the device embodiment of the present invention, the device includes: a TCP analysis module 201, a traffic forwarding module 202 and a traffic mirroring module 203:

[0046] The TCP analysis module 201 includes:

[0047] The service request acquisition sub-module 2011 is used to analyze the received TCP data packet and obtain the target service request;

[0048] A forwarding submodule 2012, configured to send the target service request to the traffic forwarding module;

[0049] The interface exposure sub-module 2013 is configured to trigger the image mounting interface, and expose the target service request through the image mounting interface;

[0050] The traffic mirroring module 202 includes:

[0051] The copy submodule 2021 is configured to mirror copy the target service request through the mirror mount interface to obtain a mirror service request;...

Embodiment 3

[0076] refer to image 3 , shows a flow chart of steps of an Internet application testing method in an embodiment of the present invention. Specific steps include:

[0077] Step 301: The TCP parsing module parses the received TCP data packet to obtain the target service request.

[0078] Step 302: The TCP parsing module sends the target service request to the traffic forwarding module, and triggers the mirror mount interface to expose the target service request through the mirror mount interface.

[0079] Step 303: The traffic mirroring module performs a mirror copy of the target service request through the mirror mount interface, obtains the mirror service request, transmits the mirror service request to the application to be tested, and receives the application to be tested response data.

[0080] Step 304: The traffic forwarding module transmits the target service request to the production application, and receives response data from the production application.

[0081]...

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 provides an Internet application testing method and device. The device comprises a TCP parsing module, a traffic forwarding module and a traffic mirroring module, wherein the TCP parsingmodule includes a service request acquisition sub-module, a forwarding sub-module and an interface exposure sub-module; the traffic mirroring module includes a copy sub-module and a test transmissionsub-module. The device provided by the embodiment of the invention can mirror and replicate a service request in a bypass mode, acquire a real-time traffic mirror in the case of little impact on theactual service operation and low occupancy of system resources and obtain an accurate and reliable test result.

Description

technical field [0001] The invention relates to the technical field of computer networks, in particular to an Internet application testing method and device. Background technique [0002] Internet applications are developed and released with new requirements, new functions, and new fixes in a fast and iterative manner. Therefore, in order to ensure the reliable and stable operation of Internet applications, the testing part is particularly important during the development process. [0003] In the prior art, the test cases designed by simulated data and simulated operations are usually used for testing, but whether the application can run stably is affected by factors such as real users, real data, running time, input from external user devices, network environment, concurrency, etc. influences. Through simulated data, simulated operations, and limited coverage, it cannot reflect the real situation, and the test results are inaccurate; there is also a method of recording an...

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/26H04L12/931
CPCH04L43/12H04L43/50H04L49/208
Inventor 戴建豪
Owner TONGDUN HLDG CO LTD
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