A database interface compliance testing method and device
A technology of interface testing and database, which is applied in the field of testing, can solve the problems of testing tool requirements, small hardware cost and time cost, and achieve the effect of reducing hardware cost and time cost, simplifying interface testing, and convenient interface testing
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0071] refer to figure 1 , figure 1 A schematic flow chart of the database interface compliance testing method of the present application is shown. Specifically, the database interface compliance testing method of the present application may specifically include the following steps:
[0072] Step S101, the test device triggers an interface test task whose task object is the target database;
[0073] Among them, the interface test task is used to test whether the interface of the target database meets the preset interface requirements.
[0074] When there is an interface performance test requirement for the database, the user can send the interface test request of the target database to the test equipment through the user equipment (UE), and trigger the interface test task whose task object is the target database;
[0075] Alternatively, the user may manually trigger the interface test task whose task object is the target database locally on the test device.
[0076] Among t...
Embodiment 2
[0090] In the description of the foregoing first embodiment, the acquisition process of the interface driver package of the target database in step S102 has been mentioned, but in practical applications, the interface driver package can be uploaded or imported locally from the UE to the test device by the user. Compared with remote control, the interface test of the target database can be conveniently carried out on site.
[0091] or, see figure 2 , figure 2 It shows another schematic flow diagram of the database interface compliance testing method of the present application, and the acquisition process of the interface driver package may specifically include the following steps:
[0092] Step S201, the test device reads the database identifier of the target database from the task information of the interface test task;
[0093] The interface test task carries task information, and the task information may specifically carry the database identifier of the target database, ...
Embodiment 3
[0099] In addition, as a Java programming language program, its source code needs to compile all codes and then run as a whole in a JDK compilation environment. Usually, all dependent classes (source programs) need to be completed, and After the compilation is passed, the program can run normally.
[0100] Therefore, in the existing database performance test, if the target database is implemented based on the Java programming language, running the entire target database means that the source code of the entire target database needs to be compiled and passed before it can be implemented in the JDK compilation environment. It is necessary to pay a high computational workload and time cost.
[0101] However, in this application, if the interface driver package of the target database is obtained separately and loaded and run in the JDK compilation environment, less processing of compiling and packaging the application is required, which greatly reduces the calculation workload and...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


