Method and device for generating clone environment
A technology of cloning environment and benchmark traffic environment, which is applied in the field of cloning environment, which can solve the problems of affecting efficiency, extra time, large amount of dump data, etc., and achieve the effect of reducing queuing time and avoiding dump
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0032] figure 1 The flow chart of the method for generating the cloning environment provided by Embodiment 1 of the present invention, such as figure 1 As shown, the method includes:
[0033] S101. Intercept the source data sent from the upstream module in the reference traffic environment to the module under test, and after sending the source data to the module under test in the reference traffic environment, when the preset delay time is reached, forward the source data to the clone environment The module under test in .
[0034] While the data is being transmitted normally in the benchmark traffic environment, the source data sent from the upstream module in the benchmark traffic environment to the module under test is forwarded to the module under test in the clone environment. This process can be realized by, but not limited to, the following methods:
[0035] Intercept the source data sent from the upstream module in the baseline traffic environment to the module under...
Embodiment 2
[0058] image 3 The device diagram for generating a cloning environment provided by Embodiment 2 of the present invention, as shown in the figure, the device may include: an upstream Transfer unit 10 , a downstream Transfer unit 20 , and a Mockserver unit 30 .
[0059] The upstream Transfer unit 10 is used to intercept the source data sent from the upstream module in the reference traffic environment to the module under test, and after the source data is sent to the module under test in the reference traffic environment, when the preset delay time is reached, the source data will be transferred Data is forwarded to the module under test in the clone environment.
[0060] The upstream Transfer unit 10 is set between the module under test and its upstream module in the reference flow environment. The upstream Transfer unit 10 forwards the source data to the tested module in the clone environment while ensuring that the source data sent by the upstream module in the reference tr...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 