Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Active Publication Date: 2021-07-23
武汉迎风聚智科技有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the existing database performance testing tools, no matter what aspect of the performance of the database is tested, the entire database needs to be run, and the workload involved in file copying, installation, startup, and operation of the entire database obviously places a heavy burden on the testing tools. No small hardware cost and time cost

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
  • A database interface compliance testing method and device
  • A database interface compliance testing method and device
  • A database interface compliance testing method and device

Examples

Experimental program
Comparison scheme
Effect test

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...

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 present application provides a database interface compliance testing method and device, which are used for simplifying database interface testing and reducing hardware cost and time cost required for testing. The method includes: a test device triggers an interface test task whose task object is a target database, and the interface test task is used to test whether an interface of the target database conforms to a preset interface requirement; the test device obtains an interface driver package of the target database, and the interface driver package includes the target database The test equipment loads the interface driver package and runs the interface program in the running environment of the target database specified by the interface test task; the test equipment detects whether the interface program meets the interface requirements; the test equipment detects whether the interface program meets the interface requirements based on the test results. , output the interface test result of the target database.

Description

technical field [0001] The present application relates to the field of testing, in particular to a database interface compliance testing method and device. Background technique [0002] The database performance testing tool is used for performance testing of the database, and quantifies the performance of the database through a series of index parameters. [0003] In the database performance test, by running the database, restoring the normal working state of the database, and collecting the response results of the database to the database performance test, the performance test result of the database is formed. [0004] However, in the existing database performance testing tools, no matter what aspect of the performance of the database is tested, the entire database needs to be run, and the workload involved in file copying, installation, startup, and operation of the entire database obviously places a heavy burden on the testing tools. No small hardware cost and time cost....

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 Patents(China)
IPC IPC(8): G06F11/36
CPCG06F11/3668
Inventor 梁俊杰
Owner 武汉迎风聚智科技有限公司