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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com