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

Database test method and device and server

A test method and database technology, applied in the database field, can solve problems such as difficult automated testing and poor comprehensiveness of cloud database testing, and achieve the effect of realizing automated testing and improving comprehensiveness

Pending Publication Date: 2021-01-29
BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The database under the cloud computing environment (referred to as cloud database) includes a web layer, a trove layer and a database layer; in related technologies, most of the automated testing of cloud databases only tests the application programming interface (Application Programming Interface, referred to as API) at the web level , or test the trove layer through self-developed and maintained trove-level automated test scripts. Both of these automated test methods are difficult to automate the testing of various functions in the database layer, and the testing of cloud databases is relatively poor.

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
  • Database test method and device and server
  • Database test method and device and server
  • Database test method and device and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The technical solutions of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0028] For ease of understanding, a hardware scenario for testing the database is first described. Such as figure 1 As shown, it includes a local server, a cloud server (also called a cloud host) and a database server to be tested which are sequentially connected through the network. Among them, the test software is installed on the local server, and the test software is used to receive the test requirement files provided by the user; the cloud server is used to perform specific tasks such as data testing and processing...

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 database test method and device and a server, and the method comprises the steps of obtaining the test demand configuration information of a to-be-tested database, and generating a test case according to the test demand configuration information, wherein the test case is used for testing a specified function which at least needs to be executed by a database layer in a to-be-tested database; creating a test task according to the test case; and based on the test task, testing a specified function of the to-be-tested database to obtain a test result. According to the method, a test case generated according to test requirement configuration information needs to be executed by a database layer in a to-be-tested database; therefore, the specified function executed by thedatabase layer in the to-be-tested database can be tested based on the test case, so that the automatic test of each function in the database layer is realized, and the comprehensiveness of the database test is improved.

Description

technical field [0001] The invention relates to the technical field of databases, in particular to a database testing method, device and server. Background technique [0002] The database under the cloud computing environment (referred to as cloud database) includes web layer, trove layer and database layer; in related technologies, most of the automated testing of cloud database only tests the application programming interface (Application Programming Interface, referred to as API) of web level , or test the trove layer through self-developed and maintained trove-level automated test scripts. Both of these automated test methods are difficult to automate the testing of various functions in the database layer, and the testing of cloud databases is relatively poor. Contents of the invention [0003] The purpose of the present invention is to provide a database testing method, device and server to realize automatic testing of various functions in the database layer and impro...

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/3688G06F11/3692
Inventor 孙文东
Owner BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD