Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Test system and method based on flow control

A flow control and flow control strategy technology, applied in the Internet field, can solve the problems of difficult to control the influence range of online monitoring, undiscovered quality problems, and high risks, so as to achieve a controllable test influence range, accurate test results, comprehensive test results, etc. The effect of the test results

Inactive Publication Date: 2015-11-18
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF2 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the above method has the following disadvantages: First, the accuracy of the test is not high. Although the existing technology can find about 90% of the quality problems, 10% of the quality problems are still not found; secondly, offline testing is difficult Simulate real test scenarios; again, because online monitoring is based on a full-flow environment, the scope of influence of online monitoring is difficult to control and the risk is high

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
  • Test system and method based on flow control
  • Test system and method based on flow control
  • Test system and method based on flow control

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] figure 2 It is a logic block diagram showing the test system based on flow control in Embodiment 1 of the present invention. refer to figure 2 , the test system based on flow control includes a flow control module 240 , a scheduling module 210 , a test execution module 220 and a data processing module 230 .

[0035]The scheduling module 210 is configured to send to the test execution module 220 a first operation instruction for performing a test operation on the actually deployed system under test. In a specific implementation, the scheduling module 210 and the test execution module 220 can communicate through protocols such as rpc and http, and send operation instructions, such as "http: / / ci.tieba.baidu.com / ht / others / buildJob ?jobName=pdiff_tip&task=pcui_test&cookies=pub_env=1&browse_test_server=ONLINE&enviroment_name=tip&isTip=tip&report_data_folder=".

[0036] According to an exemplary embodiment of the present invention, the scheduling module 210 may be configu...

Embodiment 2

[0050] Figure 8 It is a flow chart showing the flow control-based testing method in Embodiment 2 of the present invention. The method steps can be executed on the flow control-based test system described in the first embodiment.

[0051] refer to Figure 8 , in step S810, control the traffic of the system under test according to a preset traffic control strategy.

[0052] Specifically, the preset flow control strategy may be a strategy of offloading user data access requests and directing them to a corresponding system under test (such as a server of an application), so that the system under test runs in a low-traffic environment. Here, the small traffic environment has real online traffic and a real operating environment, which provides the basis for subsequent test operations.

[0053] In step S820, a first operation instruction for performing a test operation on the actually deployed system under test is sent.

[0054] According to an exemplary embodiment of the presen...

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 provides a test system and a test method based on flow control. The test system comprises a scheduling module, a test execution module, a flow control module and a data processing module, wherein the scheduling module is used for sending a first operational command for executing test operation on an actually deployed to-be-tested system to the test execution module; the test execution module is used for sending a test operation request to the to-be-tested system according to the first operational command received from the scheduling module, acquiring first test result data and sending the first test result data to the data processing module; the flow control module is used for controlling flow of the to-be-tested system according to a preset flow control strategy; and the data processing module is used for receiving the first test result data and generating a test report according to the first test result data. The test system and the test method based on flow control provided by the embodiment of the invention can be used for carrying out test operation on the to-be-tested system by controlling the flow of the to-be-tested system, generate the test reports, and increases precision of the tests.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a flow control-based testing system and method. Background technique [0002] With the rapid development of Internet technology, Internet products are required to iterate quickly and respond to user needs quickly. Therefore, online / offline testing of Internet products is required to ensure user experience. Usually, an Internet product can be released online after passing the offline test. Or use online monitoring to test Internet products. [0003] However, the above method has the following disadvantages: First, the accuracy of the test is not high. Although the existing technology can find about 90% of the quality problems, 10% of the quality problems are still not found; secondly, offline testing is difficult Simulate real test scenarios; thirdly, because online monitoring is based on a full-flow environment, the scope of influence of online monitoring is difficult to ...

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/801
Inventor 陈浩刘鹏张翔毛万东臧哲吴琼
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products