Automatic test method and system based on protocol interface

A technology of automated testing and protocol interface, applied in transmission systems, digital transmission systems, electrical components, etc., can solve problems such as inability to meet temporary changes, limited test integrity, and inflexibility, to meet the needs of rapid iterative upgrades and save manpower The effect of testing cost and improving test efficiency
CN105681126AActive Publication Date: 2016-06-15ALIBABA (CHINA) CO LTD

Patent Information

Authority / Receiving Office
CN Β· China
Patent Type
Applications(China)
Current Assignee / Owner
ALIBABA (CHINA) CO LTD
Publication Date
2016-06-15

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention relates to the field of test data, discloses an automatic test method based on a protocol interface. The automatic test method comprises the following steps: S1, receiving a test request, wherein the test request comprises an interface design document; S2, analyzing the interface design document, and extracting a service interface and a test data configuration rule thereof; S3, generating test data according to the test data configuration rule, and executing the test request; and S4, returning a test result. The invention further discloses an automatic test system based on the protocol interface. The automatic test method based on the protocol interface disclosed by the invention can be used for configuring the parameter of the interface according to manual test demand and generating the test data according to the rule to complete the automatic test work of the interface.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the field of data testing, in particular to an automatic testing method and system based on a protocol interface. Background technique

[0002] The http interface test needs to be tested according to the test flow of routine test, boundary test, abnormal test and fault test. Each unit test of the test flow includes many sub-categories. Therefore, the http interface test work is multi-dimensional, which requires Testers do analysis before testing and prepare test data in advance to ensure more comprehensive coverage.

[0003] In the prior art, interface testing is mainly divided into the following two methods: one is manual testing, where various types of parameter values ​​and parameter combinations are input by manual operation. This method requires a lot of human resources, and the completeness of the test coverage is limited; The second is to use the form of a data warehouse to generate or copy a piece of online data in adv...

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