Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Flow playback quality analysis method and device

A quality analysis and flow technology, which is applied in the direction of instruments, error detection/correction, calculation, etc., can solve problems such as inability to play back quality analysis, and achieve the effect of improving playback quality

Pending Publication Date: 2022-06-03
行吟信息科技(上海)有限公司
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the prior art, when performing traffic playback, the playback quality cannot be analyzed

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
  • Flow playback quality analysis method and device
  • Flow playback quality analysis method and device
  • Flow playback quality analysis method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] figure 1 This is a flowchart of a method for analyzing traffic playback quality provided in Embodiment 1 of the present invention. This embodiment can be applied to the situation where traffic playback quality is analyzed. Exemplarily, figure 2 A schematic diagram of the architecture of a traffic playback platform is provided. The traffic playback platform is used to perform traffic playback according to the recorded traffic data. The console 11 (Repeater Console) issues commands to the repeater 12 (Repeater Agent), and the repeater 12 passes the pre- The configuration information and the cooperation with the production cluster 13 intercept and record the production traffic, obtain the recorded traffic data, and send it to the console 11 . When performing traffic playback, the console 11 sends the recorded traffic data to the repeater 14 (Repeater Agent), the repeater 14 cooperates with the cluster under test 15, and re-initiates one or more requests to perform a reque...

Embodiment 2

[0036] image 3 This is a flowchart of a method for analyzing traffic playback quality provided in Embodiment 2 of the present invention. The technical solution of this embodiment is further refined on the basis of the above-mentioned technical solution, and specifically mainly includes the following steps:

[0037] Step S210: After receiving the playback instruction, call the pre-integrated playback interface to playback the pre-recorded recorded traffic data, and perform coverage statistics to obtain the full coverage after playback is completed.

[0038]Exemplarily, in this embodiment of the present application, the coverage tool jacoco is used to count the full coverage, and when the target service that needs to be played back is started, the jacocoagent is mounted in the form of javaagent; the traffic playback is performed by triggering the playback instruction, and the recorded traffic data is used for the target service. Playback; click to view coverage after playback ...

Embodiment 3

[0074] Figure 9 It is a schematic structural diagram of an apparatus for analyzing traffic playback quality provided in Embodiment 3 of the present invention. The apparatus includes: a coverage ratio statistics module 51 , a coverage ratio determination module 52 and a playback quality determination module 53 .

[0075] Among them, the coverage rate statistics module 51 is used to call the pre-integrated playback interface to playback the pre-recorded recorded traffic data after receiving the playback instruction, and perform coverage rate statistics to obtain the full coverage rate after the playback is completed; the coverage rate The determining module 52 is configured to determine the incremental coverage according to the full coverage and the service function code of the service under test; the playback quality determining module 53 is configured to determine the playback quality according to the incremental coverage.

[0076] The embodiment of the present invention prov...

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 embodiment of the invention discloses a traffic playback quality analysis method and device, and the method comprises the steps: calling a pre-integrated playback interface to carry out the playback of pre-recorded recording traffic data after a playback instruction is received, and carrying out the coverage rate statistics, and obtaining the full coverage rate after the playback is completed; determining an incremental coverage rate according to the full coverage rate and a service function code of the tested service; the playback quality is determined according to the incremental coverage rate, the problem that the playback quality cannot be analyzed is solved, the playback interface is integrated in advance, the playback interface is automatically called when the playback instruction is received, the recorded flow data is played back, coverage rate statistics is carried out, the full coverage rate is obtained after playback is completed, and then the incremental coverage rate is determined. Therefore, the coverage condition of the newly online function code can be checked, the missed detection code can be found in time, and the playback quality can be determined, so that the user can be reminded to improve the missed detection code through the playback quality, and the playback quality can be improved.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of automatic testing, and in particular, to a method and device for analyzing traffic playback quality. Background technique [0002] With the complexity of business scenarios and the large-scale microservices of technical systems, it is difficult for rapid iteration to ensure full regression testing for each iteration. Manually writing test cases is inefficient and difficult to cover all real business scenarios. With many risks, the company urgently needs an automated, efficient and easy-to-use regression testing platform. [0003] The traffic playback regression test platform is based on the open source project jvm-sandbox-repeater. By transforming the Java application bytecode, it intercepts real online traffic (including upstream and downstream service requests and return parameters) for recording, and uses the recorded data to deploy in the test. The target service under test in t...

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): G06F11/36
CPCG06F11/3676G06F11/3692
Inventor 张尚渝
Owner 行吟信息科技(上海)有限公司
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
Eureka Blog
Learn More
PatSnap group products