Supercharge Your Innovation With Domain-Expert AI Agents!

Data interface testing method and device and server

A technology of data interface and test method, applied in the field of database testing, can solve the problems of low reliability and reliability of data interface

Pending Publication Date: 2020-06-30
BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD +1
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the purpose of the present invention is to provide a test method, device and server of a data interface, to alleviate the technical problem of low reliability and credibility of the test process of the data interface in the prior art

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
  • Data interface testing method and device and server
  • Data interface testing method and device and server
  • Data interface testing method and device and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0033] The embodiment of the present invention provides a method for testing a data interface. Specifically, the method can be applied to a server, and the server can be used as a test tool to perform a performance test on the database, such as figure 1 A flow chart of a test method for a data interface shown, the method may include the following steps:

[0034] Step S102, obtaining the test data packet, and determining the path probability corresponding to the test data packet;

[0035] In actual use, there are usually multiple data interfaces to be tested, and the above path probability is the path probability that the current test data packet is sent to one of the data interfaces to be tested. And considering that in actual use, the user's access process to each data interface is random, therefore, it is necessary to determine the path probability of the current test data packet, so that the server can select the corresponding path pair of the data interface to be tested ac...

Embodiment 2

[0052] On the basis of the above embodiments, the embodiment of the present invention also provides a test device for a data interface, such as figure 2 A schematic structural diagram of a test device for a data interface shown, the device includes:

[0053] Obtaining module 20, is used for obtaining test data packet, and determines the path probability corresponding to test data packet;

[0054] The selection module 22 is used to select the data interface to be tested corresponding to the weight range that the path probability satisfies according to the path probability corresponding to the test data packet and the weight range of the data interface to be tested in advance;

[0055] The testing module 24 is configured to send the test data packet to the selected data interface to be tested, so as to test the selected data interface to be tested.

[0056] Specifically, the data interfaces to be tested include at least two, and the weight ranges of the at least two data inter...

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 provides a data interface testing method and device and a server, and relates to the technical field of database testing, and the method comprises the steps: obtaining a testing data package, and determining the path probability corresponding to the testing data package; according to the path probability corresponding to the test data packet and a pre-stored weight range of a to-be-tested data interface, selecting the to-be-tested data interface corresponding to the weight range satisfied by the path probability; and sending the test data packet to the selected to-be-tested datainterface so as to test the to-be-tested data interface. According to the data interface testing method and device and the server, the testing process can be close to the actual user using process, and then the reliability and credibility of data interface testing are effectively improved.

Description

technical field [0001] The invention relates to the technical field of database testing, in particular to a data interface testing method, device and server. Background technique [0002] Interface testing, also known as data interface testing, usually refers to testing the interface between databases or system components. It is mainly used to detect the interaction points between external systems and internal subsystems to check the exchange of data. Delivery and control management process, as well as mutual logical dependencies among systems, etc. [0003] Interface testing belongs to functional testing, which can also be called stress testing. Through stress testing, the bottleneck performance point of a system or database can be determined to obtain the maximum service level that the system or database can provide. [0004] In the prior art, when performing an interface test, the functions of multiple data interfaces are often tested at the same time. Usually, the corre...

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): G06F11/36
CPCG06F11/3684G06F11/3688
Inventor 程锦易璐璐
Owner BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More