Flow recording method and device, computer equipment and storage medium

A technology of computers and computer programs, applied in the field of software testing, which can solve problems such as inability to cover request and response traffic

Pending Publication Date: 2021-04-23
GUANGZHOU PINWEI SOFTWARE
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, for aggregated services, in addition to the interaction with the front-end, its entire link also includes complex logic for invoking external services. However, during the actual call or test of the aggregated service, the traditional traffic recording method This part of the request and response traffic on the call link of the aggregation service backend cannot be covered

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 recording method and device, computer equipment and storage medium
  • Flow recording method and device, computer equipment and storage medium
  • Flow recording method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, not to limit the present application.

[0039] The traffic recording method provided by this application can be applied to such as figure 1 shown in the application environment. Wherein, the local computer 102, the application server 104 and the external server 106 can communicate through the network. The local computer 102 receives the second invocation request initiated by the application server 104 according to the first invocation request, performs traffic recording on the second invocation request, and forwards the second invocation request to the corresponding external server 106 in the test environment, and receives a re...

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 flow recording method and device, computer equipment and a storage medium. The method comprises the steps: receiving a second calling request initiated by an application server according to a first calling request, wherein the first calling request is a request for calling a target aggregation service running on the application server, and the second calling request is a request for calling an external service in a link of the target aggregation service; carrying out the flow recording on the second calling request, and forwarding the second calling request to a corresponding external server in the test environment; receiving second response information which is returned by the external server and aims at the second calling request, and carrying out flow recording on the second response information. By adopting the method, the request and response flow of calling the external service in the link by the aggregation service rear end can be recorded locally.

Description

technical field [0001] The present application relates to the technical field of software testing, in particular to a flow recording method, device, computer equipment and storage medium. Background technique [0002] With the development of software testing technology, traffic recording and playback technology has emerged. Traffic recording and playback technology refers to recording business traffic in the production environment and using the recorded business traffic in the production environment or test environment. A testing technique for playback. Real traffic can be captured through traffic recording, and real traffic can be reused for subsequent testing through playback. [0003] In the traditional traffic recording process, generally only the request traffic sent by the front end of the application service and the response traffic returned by the application service to the front end can be recorded. However, for aggregated services, in addition to the interaction ...

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): H04L29/08
CPCH04L67/562H04L67/60H04L67/63Y02D30/50
Inventor 毛龙
Owner GUANGZHOU PINWEI SOFTWARE
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