WO2018202173A1 - Method and system for database testing - Google Patents

Method and system for database testing Download PDF

Info

Publication number
WO2018202173A1
WO2018202173A1 PCT/CN2018/085725 CN2018085725W WO2018202173A1 WO 2018202173 A1 WO2018202173 A1 WO 2018202173A1 CN 2018085725 W CN2018085725 W CN 2018085725W WO 2018202173 A1 WO2018202173 A1 WO 2018202173A1
Authority
WO
WIPO (PCT)
Prior art keywords
database
package
test script
automated test
task
Prior art date
Application number
PCT/CN2018/085725
Other languages
French (fr)
Chinese (zh)
Inventor
李国文
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2018202173A1 publication Critical patent/WO2018202173A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Definitions

  • the present application relates to the field of database technologies, and in particular, to a database testing method and system.
  • the purpose of the present application is to provide a database testing method and system to solve the problem of how to automatically perform package testing of an Oracle database.
  • the present application provides a database testing method, the method comprising the steps of:
  • the present application also provides a database testing system, the system comprising:
  • An execution module is configured to run the automated test script to obtain test results.
  • the system further comprises:
  • the execution module is further configured to perform the task according to the set parameter to obtain the test result.
  • the present application further provides a computer readable storage medium, where the database readable storage medium stores a database testing system, and the database testing system includes:
  • An execution module is configured to run the automated test script to obtain test results.
  • the database testing method, system and computer readable storage medium proposed by the present application can build an underlying database testing architecture, use the prepareCall method of ISQLServerConnection to call the package of the background database, set the package automation test script, and then run the job through the job of the Jenkins platform. Automate test scripts and get database package test results to automate the testing of database packages and quickly and intuitively see test results.
  • FIG. 1 is a flowchart of a database testing method according to a first embodiment of the present application
  • FIG. 2 is a flowchart of a database testing method according to a second embodiment of the present application.
  • FIG. 3 is a flowchart of a database testing method according to a third embodiment of the present application.
  • FIG. 4 is a schematic block diagram of a database testing system according to a fourth embodiment of the present application.
  • the first embodiment of the present application provides a database testing method, which includes the following steps:
  • S100 Establish a test structure of a stored procedure or a function in a package of an Oracle database.
  • Oracle Database System is a set of software products based on distributed database provided by Oracle Corporation (Oracle). Specifically, the Oracle database application environment is set up, and the test architecture of the stored procedure or function in the package of the Oracle database is established according to the system architecture of the specific application environment. The specific topology is as close as possible to the actual application.
  • an automated test script is set up, and the stored procedure or function in the package of the back-end Oracle database is invoked by using the prepareCall method of ISQLServerConnection in Java.
  • the prepareCall method invokes a database stored procedure by creating a CallableStatement object.
  • the CallableStatement object provides methods for setting its IN and OUT parameters, as well as methods for executing the stored procedure.
  • the automated test script may be directly run after the automatic test script is set to obtain the test result; or the running time of the automated test script and the running test environment address may be set first, and then set according to the set The runtime runs the automated test script in the set test environment address to obtain the test results.
  • the database testing method proposed in this embodiment can build an underlying database testing architecture, use the prepareCall method of ISQLServerConnection to call the package of the background database, set the package automation test script, and then run the automated test script to obtain the database package test result. This enables automated testing of database packages and quick and intuitive viewing of test results.
  • the second embodiment of the present application provides a database testing method.
  • the steps of the database testing method are similar to those of the first embodiment, the main difference being that step S204 is added to the first embodiment.
  • the method specifically includes the following steps:
  • S200 Establish a test structure of a stored procedure or a function in a package of an Oracle database.
  • the Oracle database application environment is set up, and the test architecture of the stored procedure or function in the package of the Oracle database is established according to the system architecture of the specific application environment.
  • the specific topology is as close as possible to the actual application.
  • an automated test script is set up, and the stored procedure or function in the package of the back-end Oracle database is invoked by using the prepareCall method of ISQLServerConnection in Java.
  • the prepareCall method invokes a database stored procedure by creating a CallableStatement object.
  • the CallableStatement object provides methods for setting its IN and OUT parameters, as well as methods for executing the stored procedure.
  • Jenkins is an open source software project, a continuous integration tool developed in Java to monitor continuous repetitive work.
  • the Jenkins platform is used to monitor ongoing software test projects and external call execution.
  • the job is used to execute the automated test script and perform a database package test. Creating the job on the Jenkins platform and executing the job can automatically monitor the ongoing database package test and automatically obtain the database package test results.
  • the parameters may include: (1) setting an execution time of the job and a running time of the automated test script; and (2) setting a test environment address at which the automated test script runs.
  • the database testing method proposed in this embodiment can build an underlying database testing architecture, use the prepareCall method of ISQLServerConnection to call the package of the background database, set the package automation test script, and then run the automated test script through the job of the Jenkins platform to automatically monitor Continuous database package testing, get database package test results, to achieve automated testing of the database package, and can quickly and intuitively see the test results.
  • the third embodiment of the present application provides a database testing method.
  • the steps of the database testing method are similar to those of the second embodiment, the main difference being that step S303 and step S308 are added on the basis of the second embodiment.
  • the method specifically includes the following steps:
  • S300 Establish a test structure of a stored procedure or function in a package of an Oracle database.
  • the Oracle database application environment is set up, and the test architecture of the stored procedure or function in the package of the Oracle database is established according to the system architecture of the specific application environment.
  • the specific topology is as close as possible to the actual application.
  • an automated test script is set up, and the stored procedure or function in the package of the back-end Oracle database is invoked by using the prepareCall method of ISQLServerConnection in Java.
  • the prepareCall method invokes a database stored procedure by creating a CallableStatement object.
  • the CallableStatement object provides methods for setting its IN and OUT parameters, as well as methods for executing the stored procedure.
  • SVN is short for Subversion and is an open source version control system.
  • the SVN version management tool is configured to perform version management on the automated test script to modify and update the automated test script at any time.
  • the Jenkins platform is used to monitor ongoing software test projects and external call execution.
  • the job is used to execute the automated test script and perform a database package test. Creating the job on the Jenkins platform and executing the job can automatically monitor the ongoing database package test and automatically obtain the database package test results.
  • the parameters may include: (1) downloading an SVN version management tool address of the automated test script; (2) setting an execution time of the job and a running time of the automated test script; and (3) setting an automated test script to run Test environment address.
  • the job is executed according to the set execution time
  • the automated test script is downloaded from the SVN version management tool address
  • the automated test script is run in the set test environment address according to the set running time. Thereby the test result is obtained.
  • an automated database package test result can be directly obtained, a result report is formed according to the test result, and the result report is sent to the tester by mail.
  • the database testing method proposed in this embodiment can build an underlying database testing architecture, use the prepareCall method of ISQLServerConnection to call the package of the background database, set the package automation test script, and then run the automated test script through the job of the Jenkins platform to obtain the database.
  • Package test results thus automated testing of the database package, and can quickly and intuitively see the test results.
  • the automated test script is submitted to the SVN version management tool, and the automated test script can be version-managed to modify and update the automated test script at any time.
  • a fourth embodiment of the present application provides a database testing system 40.
  • the database testing system 40 includes an establishing module 400, a setting module 402, and an executing module 406.
  • the establishing module 400 is configured to establish a test structure of a stored procedure or a function in a package of an Oracle database.
  • the establishing module 400 constructs an Oracle database application environment, and establishes a test architecture of a stored procedure or a function in a package of the corresponding Oracle database for the system architecture of the specific application environment.
  • the specific topology is as close as possible to the actual application.
  • the setting module 402 is configured to set an automated test script, and invoke a stored procedure or function in a package of the backstage Oracle database to perform database testing.
  • an automated test script is set up, and the stored procedure or function in the package of the back-end Oracle database is invoked by using the prepareCall method of ISQLServerConnection in Java.
  • the prepareCall method invokes a database stored procedure by creating a CallableStatement object.
  • the CallableStatement object provides methods for setting its IN and OUT parameters, as well as methods for executing the stored procedure.
  • the execution module 406 is configured to run the automated test script to obtain test results.
  • the execution module 406 can directly run the automated test script after setting the automated test script to obtain the test result.
  • the execution module 406 may also first set the running time of the automated test script and the running test environment address, and then run the automated test script in the set test environment address according to the set running time, thereby obtaining the test result.
  • database testing system 40 may further include:
  • a creation module 404 is configured to create a job on the Jenkins platform to run the automated test script and set relevant parameters of the job.
  • the Jenkins platform is used to monitor ongoing software test projects and external call execution.
  • the job is used to execute the automated test script and perform a database package test. Creating the job on the Jenkins platform and executing the job can automatically monitor the ongoing database package test and automatically obtain the database package test results.
  • the parameters may include: (1) setting an execution time of the job and a running time of the automated test script; and (2) setting a test environment address at which the automated test script runs.
  • the execution module 406 is further configured to execute the job according to the set parameters to obtain a test result.
  • database testing system 40 may further include:
  • the submitting module 403 is configured to submit the automated test script to the SVN version management tool.
  • the SVN version management tool is configured to perform version management on the automated test script to modify and update the automated test script at any time.
  • the creating module 404 sets the related parameters of the job, it is also required to set an SVN version management tool address for downloading the automated test script.
  • the execution module 406 executes the job according to the set execution time, the automatic test script needs to be downloaded from the SVN version management tool address.
  • the sending module 408 is configured to send the obtained test result to the tester.
  • an automated database package test result can be directly obtained, a result report is formed according to the test result, and the result report is sent to the tester by mail.
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and can also be implemented by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present application which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present application.

Abstract

Disclosed are a method and system for database testing. The method comprises: creating a test architecture for a storage process or a function in a package of a database; setting an automated test script, calling the storage process or the function in the package of the database to perform a database package test; and running the automated test script to produce a test result. Thus implemented is automated testing of the package of the database.

Description

数据库测试方法及系统Database testing method and system
本申请要求于2017年5月5日提交中国专利局,申请号为2017103123295、发明名称为“数据库测试方法及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. JP-A No. No. No. No. No. No. No. No. No. No. Publication No.
技术领域Technical field
本申请涉及数据库技术领域,尤其涉及数据库测试方法及系统。The present application relates to the field of database technologies, and in particular, to a database testing method and system.
背景技术Background technique
传统寿险系统的业务逻辑大部分都在后台Oracle数据库的包(package)中,即用存储过程来处理系统复杂的业务逻辑。前台页面(web)仅作数据展示或者下载报表。在后台Oracle数据库的package中的存储过程,有些在前台页面无法调用或者调用后无界面显示,无法直观验证结果。而且人工在Oracle数据库中调用存储过程或者函数,会耗费大量人力,并严重影响测试进度。Most of the business logic of the traditional life insurance system is in the back-end Oracle database package, which uses stored procedures to handle the complex business logic of the system. The front page (web) is only for data display or downloading reports. In the background Oracle database package stored procedures, some can not be called in the foreground page or no interface display after the call, can not visually verify the results. Moreover, manually calling a stored procedure or function in an Oracle database can cost a lot of manpower and seriously affect the progress of the test.
因此,需要一种自动化的Oracle数据库的package测试方法,并且可以快速直观地看到测试结果。Therefore, an automated Oracle database package test method is needed, and the test results can be seen quickly and intuitively.
发明内容Summary of the invention
有鉴于此,本申请的目的在于提供一种数据库测试方法及系统,以解决如何自动化地进行Oracle数据库的package测试的问题。In view of this, the purpose of the present application is to provide a database testing method and system to solve the problem of how to automatically perform package testing of an Oracle database.
为实现上述目的,本申请提供一种数据库测试方法,该方法包括步骤:To achieve the above objective, the present application provides a database testing method, the method comprising the steps of:
建立数据库的package中存储过程或者函数的测试架构;Establish a test architecture for stored procedures or functions in the package of the database;
设置自动化测试脚本,调用数据库的package中存储过程或者函数进行数据库package测试;及Set up an automated test script, call the stored procedure or function in the package of the database for database package testing; and
运行所述自动化测试脚本,得到测试结果。Run the automated test script to get the test results.
为实现上述目的,本申请还提出一种数据库测试系统,该系统包括:To achieve the above object, the present application also provides a database testing system, the system comprising:
建立模块,用于建立数据库的package中存储过程或者函数的测试架构;Establishing a module for establishing a test architecture for a stored procedure or function in a package of a database;
设置模块,用于设置自动化测试脚本,调用数据库的package中存储过程或者函数进行数据库package测试;及Setting a module for setting up an automated test script, calling a stored procedure or function in a package of the database for database package testing;
执行模块,用于运行所述自动化测试脚本,得到测试结果。An execution module is configured to run the automated test script to obtain test results.
优选地,该系统还包括:Preferably, the system further comprises:
创建模块,用于在Jenkins平台上创建一个任务,并设置所述任务的相关参数,其中所述任务用于执行所述自动化测试脚本,进行所述数据库package测试;Creating a module for creating a task on the Jenkins platform and setting relevant parameters of the task, wherein the task is used to execute the automated test script to perform the database package test;
所述执行模块还用于根据所设置的参数执行所述任务,得到所述测试结果。The execution module is further configured to perform the task according to the set parameter to obtain the test result.
此外,为实现上述目的,本申请还提出一种计算机可读存储介质,所述计算机可读存储介质内存储有数据库测试系统,该数据库测试系统包括:In addition, in order to achieve the above object, the present application further provides a computer readable storage medium, where the database readable storage medium stores a database testing system, and the database testing system includes:
建立模块,用于建立数据库的package中存储过程或者函数的测试架构;Establishing a module for establishing a test architecture for a stored procedure or function in a package of a database;
设置模块,用于设置自动化测试脚本,调用数据库的package中存储过程或者函数进行数据库package测试;及Setting a module for setting up an automated test script, calling a stored procedure or function in a package of the database for database package testing;
执行模块,用于运行所述自动化测试脚本,得到测试结果。An execution module is configured to run the automated test script to obtain test results.
本申请提出的数据库测试方法、系统及计算机可读存储介质,可以搭建底层数据库测试架构,利用ISQLServerConnection的prepareCall方法来调用后台数据库的package,设置package自动化测试脚本,然后通过Jenkins平台的job运行所述自动化测试脚本,得到数据库package测试结果,从而实现数据库package的自动化测试,并且可以快速直观地看到测试结果。The database testing method, system and computer readable storage medium proposed by the present application can build an underlying database testing architecture, use the prepareCall method of ISQLServerConnection to call the package of the background database, set the package automation test script, and then run the job through the job of the Jenkins platform. Automate test scripts and get database package test results to automate the testing of database packages and quickly and intuitively see test results.
附图说明DRAWINGS
图1为本申请第一实施例提出的一种数据库测试方法的流程图;1 is a flowchart of a database testing method according to a first embodiment of the present application;
图2为本申请第二实施例提出的一种数据库测试方法的流程图;2 is a flowchart of a database testing method according to a second embodiment of the present application;
图3为本申请第三实施例提出的一种数据库测试方法的流程图;3 is a flowchart of a database testing method according to a third embodiment of the present application;
图4为本申请第四实施例提出的一种数据库测试系统的模块示意图;4 is a schematic block diagram of a database testing system according to a fourth embodiment of the present application;
本申请目的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The object of the present application, the features and advantages of the present application will be further described with reference to the accompanying drawings.
具体实施方式detailed description
为了使本申请所要解决的技术问题、技术方案及有益效果更加清楚、明白,以下结合附图和实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the technical problems, technical solutions and beneficial effects to be solved by the present application clearer and clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the application and are not intended to be limiting.
第一实施例First embodiment
如图1所示,本申请第一实施例提出一种数据库测试方法,该方法包括以下步骤:As shown in FIG. 1, the first embodiment of the present application provides a database testing method, which includes the following steps:
S100,建立Oracle数据库的包(package)中存储过程或者函数的测试架构。S100: Establish a test structure of a stored procedure or a function in a package of an Oracle database.
Oracle数据库系统是美国Oracle公司(甲骨文)提供的以分布式数据库为核心的一组软件产品。具体地,搭建Oracle数据库应用环境,针对具体应用环境的系统架构,建立相应的Oracle数据库的package中存储过程或者函数的测试架构。具体拓扑尽可能与实际应用接近。Oracle Database System is a set of software products based on distributed database provided by Oracle Corporation (Oracle). Specifically, the Oracle database application environment is set up, and the test architecture of the stored procedure or function in the package of the Oracle database is established according to the system architecture of the specific application environment. The specific topology is as close as possible to the actual application.
S102,设置自动化测试脚本,调用后台Oracle数据库的package中存储过程或者函数进行数据库测试。S102, setting an automated test script, calling a stored procedure or function in the package of the backstage Oracle database for database testing.
具体地,设置自动化测试脚本,利用Java中ISQLServerConnection的prepareCall方法来调用后台Oracle数据库的package中存储过程或者函数。所述prepareCall方法通过创建一个CallableStatement对象来调用数据库存储过程。CallableStatement对象提供了设置其IN参数和OUT参数的方法,以及用来执行调用存储过程的方法。Specifically, an automated test script is set up, and the stored procedure or function in the package of the back-end Oracle database is invoked by using the prepareCall method of ISQLServerConnection in Java. The prepareCall method invokes a database stored procedure by creating a CallableStatement object. The CallableStatement object provides methods for setting its IN and OUT parameters, as well as methods for executing the stored procedure.
S104,运行所述自动化测试脚本,得到测试结果。S104. Run the automated test script to obtain test results.
具体地,可以在设置所述自动化测试脚本后直接运行所述自动化测试脚本,得到所述测试结果;也可以先设置所述自动化测试脚本的运行时间和运行的测试环境地址,然后按照所设置的运行时间在所设置测试环境地址中运行所述自动化测试脚本,从而得到所述测试结果。Specifically, the automated test script may be directly run after the automatic test script is set to obtain the test result; or the running time of the automated test script and the running test environment address may be set first, and then set according to the set The runtime runs the automated test script in the set test environment address to obtain the test results.
本实施例所提出的数据库测试方法,可以搭建底层数据库测试架构,利用ISQLServerConnection的prepareCall方法来调用后台数据库的package,设置package自动化测试脚本,然后通过运行所述自动化测试脚本,得到数据库package测试结果,从而实现数据库package的自动化测试,并且可以快速直观地看到测试结果。The database testing method proposed in this embodiment can build an underlying database testing architecture, use the prepareCall method of ISQLServerConnection to call the package of the background database, set the package automation test script, and then run the automated test script to obtain the database package test result. This enables automated testing of database packages and quick and intuitive viewing of test results.
第二实施例Second embodiment
如图2所示,本申请第二实施例提出一种数据库测试方法。在第二实施例中,所述数据库测试方法的步骤与第一实施例的步骤相类似,主要区别在于在第一实施例的基础上增加了步骤S204。该方法具体包括以下步骤:As shown in FIG. 2, the second embodiment of the present application provides a database testing method. In the second embodiment, the steps of the database testing method are similar to those of the first embodiment, the main difference being that step S204 is added to the first embodiment. The method specifically includes the following steps:
S200,建立Oracle数据库的包(package)中存储过程或者函数的测试架构。S200: Establish a test structure of a stored procedure or a function in a package of an Oracle database.
具体地,搭建Oracle数据库应用环境,针对具体应用环境的系统架构,建立相应的Oracle数据库的package中存储过程或者函数的测试架构。具体拓扑尽可能与实际应用接近。Specifically, the Oracle database application environment is set up, and the test architecture of the stored procedure or function in the package of the Oracle database is established according to the system architecture of the specific application environment. The specific topology is as close as possible to the actual application.
S202,设置自动化测试脚本,调用后台Oracle数据库的package中存储过程或者函数进行数据库测试。S202, setting an automated test script, calling a stored procedure or function in the package of the backstage Oracle database for database testing.
具体地,设置自动化测试脚本,利用Java中ISQLServerConnection的prepareCall方法来调用后台Oracle数据库的package中存储过程或者函数。所述prepareCall方法通过创建一个CallableStatement对象来调用数据库存储过程。CallableStatement对象提供了设置其IN参数和OUT参数的方法,以及用来执行调用存储过程的方法。Specifically, an automated test script is set up, and the stored procedure or function in the package of the back-end Oracle database is invoked by using the prepareCall method of ISQLServerConnection in Java. The prepareCall method invokes a database stored procedure by creating a CallableStatement object. The CallableStatement object provides methods for setting its IN and OUT parameters, as well as methods for executing the stored procedure.
S204,在Jenkins平台上创建一个任务(job),以运行所述自动化测试脚本,并设置所述job的相关参数。S204. Create a job on the Jenkins platform to run the automated test script and set related parameters of the job.
Jenkins是一个开源软件项目,是基于Java开发的一种持续集成工具,用于监控持续重复的工作。具体地,所述Jenkins平台用于监控持续的软件测试项目和外部调用执行的工作。所述job用于执行所述自动化测试脚本,进行数据库package测试。在所述Jenkins平台上创建所述job并执行所述job,可以自动监控持续的数据库package测试,自动得到数据库package测试结果。Jenkins is an open source software project, a continuous integration tool developed in Java to monitor continuous repetitive work. Specifically, the Jenkins platform is used to monitor ongoing software test projects and external call execution. The job is used to execute the automated test script and perform a database package test. Creating the job on the Jenkins platform and executing the job can automatically monitor the ongoing database package test and automatically obtain the database package test results.
所述参数可以包括:(1)设置所述job的执行时间和所述自动化测试脚本的运行时间;(2)设置自动化测试脚本运行的测试环境地址。The parameters may include: (1) setting an execution time of the job and a running time of the automated test script; and (2) setting a test environment address at which the automated test script runs.
S206,根据所设置的参数执行所述job,得到测试结果。S206. Execute the job according to the set parameter, and obtain a test result.
具体地,按照所设置的执行时间执行所述job,获取所述自动化测试脚本,按照所设置的运行时间在所设置测试环境地址中运行所述自动化测试脚本,从而得到所述测试结果。Specifically, executing the job according to the set execution time, acquiring the automated test script, and running the automated test script in the set test environment address according to the set running time, thereby obtaining the test result.
本实施例所提出的数据库测试方法,可以搭建底层数据库测试架构,利用ISQLServerConnection的prepareCall方法来调用后台数据库的package,设置package自动化测试脚本,然后通过Jenkins平台的job运行所述自动化测试脚本,自动监控持续的数据库package测试,得到数据库package测试结果,从而实现数据库package的自动化测试,并且可以快速直观地看到测试结果。The database testing method proposed in this embodiment can build an underlying database testing architecture, use the prepareCall method of ISQLServerConnection to call the package of the background database, set the package automation test script, and then run the automated test script through the job of the Jenkins platform to automatically monitor Continuous database package testing, get database package test results, to achieve automated testing of the database package, and can quickly and intuitively see the test results.
第三实施例Third embodiment
如图3所示,本申请第三实施例提出一种数据库测试方法。在第三实施例中,所述数据库测试方法的步骤与第二实施例的步骤相类似,主要区别在于在第二实施例的基础上增加了步骤S303和步骤S308。该方法具体包括以下步骤:As shown in FIG. 3, the third embodiment of the present application provides a database testing method. In the third embodiment, the steps of the database testing method are similar to those of the second embodiment, the main difference being that step S303 and step S308 are added on the basis of the second embodiment. The method specifically includes the following steps:
S300,建立Oracle数据库的包(package)中存储过程或者函数的测试架构。S300: Establish a test structure of a stored procedure or function in a package of an Oracle database.
具体地,搭建Oracle数据库应用环境,针对具体应用环境的系统架构,建立相应的Oracle数据库的package中存储过程或者函数的测试架构。具体拓扑尽可能与实际应用接近。Specifically, the Oracle database application environment is set up, and the test architecture of the stored procedure or function in the package of the Oracle database is established according to the system architecture of the specific application environment. The specific topology is as close as possible to the actual application.
S302,设置自动化测试脚本,调用后台Oracle数据库的package中存储过程或者函数进行数据库测试。S302, setting an automated test script, calling a stored procedure or function in the package of the backstage Oracle database for database testing.
具体地,设置自动化测试脚本,利用Java中ISQLServerConnection的prepareCall方法来调用后台Oracle数据库的package中存储过程或者函数。所述prepareCall方法通过创建一个CallableStatement对象来调用数据库存储过程。CallableStatement对象提供了设置其IN参数和OUT参数的方法,以及用来执行调用存储过程的方法。Specifically, an automated test script is set up, and the stored procedure or function in the package of the back-end Oracle database is invoked by using the prepareCall method of ISQLServerConnection in Java. The prepareCall method invokes a database stored procedure by creating a CallableStatement object. The CallableStatement object provides methods for setting its IN and OUT parameters, as well as methods for executing the stored procedure.
S303,将所述自动化测试脚本提交至SVN版本管理工具。S303. Submit the automated test script to the SVN version management tool.
SVN是Subversion的简称,是一个开放源代码的版本控制系统。具体地,所述SVN版本管理工具用于对所述自动化测试脚本进行版本管理,以便随时对所述自动化测试脚本进行修改更新和恢复。SVN is short for Subversion and is an open source version control system. Specifically, the SVN version management tool is configured to perform version management on the automated test script to modify and update the automated test script at any time.
S304,在Jenkins平台上创建一个任务(job),以运行所述自动化测试脚本,并设置所述job的相关参数。S304. Create a job on the Jenkins platform to run the automated test script and set related parameters of the job.
具体地,所述Jenkins平台用于监控持续的软件测试项目和外部调用执行的工作。所述job用于执行所述自动化测试脚本,进行数据库package测试。在所述Jenkins平台上创建所述job并执行所述job,可以自动监控持续的数据库package测试,自动得到数据库package测试结果。Specifically, the Jenkins platform is used to monitor ongoing software test projects and external call execution. The job is used to execute the automated test script and perform a database package test. Creating the job on the Jenkins platform and executing the job can automatically monitor the ongoing database package test and automatically obtain the database package test results.
所述参数可以包括:(1)下载所述自动化测试脚本的SVN版本管理工具地址;(2)设置所述job的执行时间和所述自动化测试脚本的运行时间;(3)设置自动化测试脚本运行的测试环境地址。The parameters may include: (1) downloading an SVN version management tool address of the automated test script; (2) setting an execution time of the job and a running time of the automated test script; and (3) setting an automated test script to run Test environment address.
S306,根据所设置的参数执行所述job,得到测试结果。S306. Execute the job according to the set parameter, and obtain a test result.
具体地,按照所设置的执行时间执行所述job,从所述SVN版本管理工具地址中下载所述自动化测试脚本,按照所设置的运行时间在所设置测试环境地址中运行所述自动化测试脚本,从而得到所述测试结果。Specifically, the job is executed according to the set execution time, the automated test script is downloaded from the SVN version management tool address, and the automated test script is run in the set test environment address according to the set running time. Thereby the test result is obtained.
S308,将得到测试结果发送至测试人员。S308, the test result is sent to the tester.
具体地,当所述job执行完成后,可以直接得到自动化的数据库package测试结果,根据所述测试结果形成结果报告,将结果报告通过邮件发送至测试人员。Specifically, after the execution of the job is completed, an automated database package test result can be directly obtained, a result report is formed according to the test result, and the result report is sent to the tester by mail.
本实施例所提出的数据库测试方法,可以搭建底层数据库测试架构,利用ISQLServerConnection的prepareCall方法来调用后台数据库的package,设置 package自动化测试脚本,然后通过Jenkins平台的job运行所述自动化测试脚本,得到数据库package测试结果,从而实现数据库package的自动化测试,并且可以快速直观地看到测试结果。另外,将所述自动化测试脚本提交至SVN版本管理工具,可以对所述自动化测试脚本进行版本管理,以便随时对所述自动化测试脚本进行修改更新和恢复。The database testing method proposed in this embodiment can build an underlying database testing architecture, use the prepareCall method of ISQLServerConnection to call the package of the background database, set the package automation test script, and then run the automated test script through the job of the Jenkins platform to obtain the database. Package test results, thus automated testing of the database package, and can quickly and intuitively see the test results. In addition, the automated test script is submitted to the SVN version management tool, and the automated test script can be version-managed to modify and update the automated test script at any time.
第四实施例Fourth embodiment
如图4所示,本申请第四实施例提出一种数据库测试系统40。As shown in FIG. 4, a fourth embodiment of the present application provides a database testing system 40.
在本实施例中,数据库测试系统40包括建立模块400、设置模块402及执行模块406。In the present embodiment, the database testing system 40 includes an establishing module 400, a setting module 402, and an executing module 406.
所述建立模块400,用于建立Oracle数据库的包(package)中存储过程或者函数的测试架构。The establishing module 400 is configured to establish a test structure of a stored procedure or a function in a package of an Oracle database.
具体地,建立模块400搭建Oracle数据库应用环境,针对具体应用环境的系统架构,建立相应的Oracle数据库的package中存储过程或者函数的测试架构。具体拓扑尽可能与实际应用接近。Specifically, the establishing module 400 constructs an Oracle database application environment, and establishes a test architecture of a stored procedure or a function in a package of the corresponding Oracle database for the system architecture of the specific application environment. The specific topology is as close as possible to the actual application.
所述设置模块402,用于设置自动化测试脚本,调用后台Oracle数据库的package中存储过程或者函数进行数据库测试。The setting module 402 is configured to set an automated test script, and invoke a stored procedure or function in a package of the backstage Oracle database to perform database testing.
具体地,设置自动化测试脚本,利用Java中ISQLServerConnection的prepareCall方法来调用后台Oracle数据库的package中存储过程或者函数。所述prepareCall方法通过创建一个CallableStatement对象来调用数据库存储过程。CallableStatement对象提供了设置其IN参数和OUT参数的方法,以及用来执行调用存储过程的方法。Specifically, an automated test script is set up, and the stored procedure or function in the package of the back-end Oracle database is invoked by using the prepareCall method of ISQLServerConnection in Java. The prepareCall method invokes a database stored procedure by creating a CallableStatement object. The CallableStatement object provides methods for setting its IN and OUT parameters, as well as methods for executing the stored procedure.
所述执行模块406,用于运行所述自动化测试脚本,得到测试结果。The execution module 406 is configured to run the automated test script to obtain test results.
具体地,执行模块406可以在设置所述自动化测试脚本后直接运行所述自动化测试脚本,得到所述测试结果。执行模块406也可以先设置所述自动化测试脚本的运行时间和运行的测试环境地址,然后按照所设置的运行时间在所设置测试环境地址中运行所述自动化测试脚本,从而得到所述测试结果。Specifically, the execution module 406 can directly run the automated test script after setting the automated test script to obtain the test result. The execution module 406 may also first set the running time of the automated test script and the running test environment address, and then run the automated test script in the set test environment address according to the set running time, thereby obtaining the test result.
进一步地,所述数据库测试系统40还可以包括:Further, the database testing system 40 may further include:
创建模块404,用于在Jenkins平台上创建一个任务(job),以运行所述自动化测试脚本,并设置所述job的相关参数。A creation module 404 is configured to create a job on the Jenkins platform to run the automated test script and set relevant parameters of the job.
具体地,所述Jenkins平台用于监控持续的软件测试项目和外部调用执行的工作。所述job用于执行所述自动化测试脚本,进行数据库package测试。在所述Jenkins平台上创建所述job并执行所述job,可以自动监控持续的数据库package测试,自动得到数据库package测试结果。Specifically, the Jenkins platform is used to monitor ongoing software test projects and external call execution. The job is used to execute the automated test script and perform a database package test. Creating the job on the Jenkins platform and executing the job can automatically monitor the ongoing database package test and automatically obtain the database package test results.
所述参数可以包括:(1)设置所述job的执行时间和所述自动化测试脚本的运行时间;(2)设置自动化测试脚本运行的测试环境地址。The parameters may include: (1) setting an execution time of the job and a running time of the automated test script; and (2) setting a test environment address at which the automated test script runs.
在此种情况下,所述执行模块406还用于根据所设置的参数执行所述job,得到测试结果。In this case, the execution module 406 is further configured to execute the job according to the set parameters to obtain a test result.
具体地,按照所设置的执行时间执行所述job,获取所述自动化测试脚本,按照所设置的运行时间在所设置测试环境地址中运行所述自动化测试脚本,从而得到所述测试结果。Specifically, executing the job according to the set execution time, acquiring the automated test script, and running the automated test script in the set test environment address according to the set running time, thereby obtaining the test result.
更进一步地,所述数据库测试系统40还可以包括:Further, the database testing system 40 may further include:
提交模块403,用于将所述自动化测试脚本提交至SVN版本管理工具。The submitting module 403 is configured to submit the automated test script to the SVN version management tool.
具体地,所述SVN版本管理工具用于对所述自动化测试脚本进行版本管理,以便随时对所述自动化测试脚本进行修改更新和恢复。此种情况下,所述创建模块404设置所述job的相关参数时还需要设置下载所述自动化测试脚本的SVN版本管理工具地址。所述执行模块406按照所设置的执行时间执行所述job时,还需要从所述SVN版本管理工具地址中下载所述自动化测试脚本。Specifically, the SVN version management tool is configured to perform version management on the automated test script to modify and update the automated test script at any time. In this case, when the creating module 404 sets the related parameters of the job, it is also required to set an SVN version management tool address for downloading the automated test script. When the execution module 406 executes the job according to the set execution time, the automatic test script needs to be downloaded from the SVN version management tool address.
发送模块408,用于将得到测试结果发送至测试人员。The sending module 408 is configured to send the obtained test result to the tester.
具体地,当所述job执行完成后,可以直接得到自动化的数据库package测试结果,根据所述测试结果形成结果报告,将结果报告通过邮件发送至测试人员。Specifically, after the execution of the job is completed, an automated database package test result can be directly obtained, a result report is formed according to the test result, and the result report is sent to the tester by mail.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present application are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It is to be understood that the term "comprises", "comprising", or any other variants thereof, is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes those elements. It also includes other elements that are not explicitly listed, or elements that are inherent to such a process, method, article, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件来实现,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and can also be implemented by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present application, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present application.
以上参照附图说明了本申请的优选实施例,并非因此局限本申请的权利范围。上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。另外,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The preferred embodiments of the present application have been described above with reference to the drawings, and are not intended to limit the scope of the application. The serial numbers of the embodiments of the present application are merely for the description, and do not represent the advantages and disadvantages of the embodiments. Additionally, although logical sequences are shown in the flowcharts, in some cases the steps shown or described may be performed in a different order than the ones described herein.
本领域技术人员不脱离本申请的范围和实质,可以有多种变型方案实现本申请,比如作为一个实施例的特征可用于另一实施例而得到又一实施例。凡在运用本申请的技术构思之内所作的任何修改、等同替换和改进,均应在本申请的权利范围之内。A person skilled in the art can implement the present application in various variants without departing from the scope and spirit of the present application. For example, the features as one embodiment can be used in another embodiment to obtain another embodiment. Any modifications, equivalent substitutions and improvements made within the technical concept of the application should be within the scope of the application.

Claims (20)

  1. 一种数据库测试方法,其特征在于,该方法包括步骤:A database testing method, characterized in that the method comprises the steps of:
    建立数据库的package中存储过程或者函数的测试架构;Establish a test architecture for stored procedures or functions in the package of the database;
    设置自动化测试脚本,调用数据库的package中存储过程或者函数进行数据库package测试;及Set up an automated test script, call the stored procedure or function in the package of the database for database package testing; and
    运行所述自动化测试脚本,得到测试结果。Run the automated test script to get the test results.
  2. 根据权利要求1所述的数据库测试方法,其特征在于,该方法还包括步骤:The database testing method according to claim 1, further comprising the steps of:
    在Jenkins平台上创建一个任务,并设置所述任务的相关参数,其中所述任务用于执行所述自动化测试脚本,进行所述数据库package测试;及Creating a task on the Jenkins platform and setting relevant parameters of the task, wherein the task is used to execute the automated test script to perform the database package test;
    根据所设置的参数执行所述任务,得到所述测试结果。The task is performed according to the set parameters, and the test result is obtained.
  3. 根据权利要求2所述的数据库测试方法,其特征在于,该方法还包括步骤:The database testing method according to claim 2, wherein the method further comprises the steps of:
    将所述自动化测试脚本提交至SVN版本管理工具。Submit the automated test script to the SVN version management tool.
  4. 根据权利要求3所述的数据库测试方法,其特征在于,所述参数包括:下载所述自动化测试脚本的SVN版本管理工具地址;所述任务的执行时间和所述自动化测试脚本的运行时间;所述自动化测试脚本运行的测试环境地址。The database testing method according to claim 3, wherein the parameter comprises: an SVN version management tool address for downloading the automated test script; an execution time of the task and a running time of the automated test script; The test environment address where the automated test script runs.
  5. 根据权利要求4所述的数据库测试方法,其特征在于,所述根据所设置的参数执行所述任务,得到所述测试结果的步骤具体包括:The database testing method according to claim 4, wherein the step of performing the task according to the set parameter, and the step of obtaining the test result specifically includes:
    按照所设置的执行时间执行所述任务;Performing the task according to the set execution time;
    从所述SVN版本管理工具地址中下载所述自动化测试脚本;及Downloading the automated test script from the SVN version management tool address; and
    按照所设置的运行时间在所设置测试环境地址中运行所述自动化测试脚本,从而得到所述测试结果。The automated test script is run in the set test environment address according to the set running time to obtain the test result.
  6. 根据权利要求1所述的数据库测试方法,其特征在于,利用Java中ISQLServerConnection的prepareCall方法来调用数据库的package中存储过程或者函数。The database testing method according to claim 1, wherein the stored procedure or function in the package of the database is invoked by using the prepareCall method of ISQLServerConnection in Java.
  7. 根据权利要求2-5任一项所述的数据库测试方法,其特征在于,利用Java中ISQLServerConnection的prepareCall方法来调用数据库的package中存储过程或者函数。The database testing method according to any one of claims 2 to 5, characterized in that the stored procedure or function in the package of the database is called by using the prepareCall method of ISQLServerConnection in Java.
  8. 一种数据库测试系统,其特征在于,该系统包括:A database testing system, characterized in that the system comprises:
    建立模块,用于建立数据库的package中存储过程或者函数的测试架构;Establishing a module for establishing a test architecture for a stored procedure or function in a package of a database;
    设置模块,用于设置自动化测试脚本,调用数据库的package中存储过程或者函数进行数据库package测试;及Setting a module for setting up an automated test script, calling a stored procedure or function in a package of the database for database package testing;
    执行模块,用于运行所述自动化测试脚本,得到测试结果。An execution module is configured to run the automated test script to obtain test results.
  9. 根据权利要求8所述的数据库测试系统,其特征在于,该系统还包括:The database testing system according to claim 8, wherein the system further comprises:
    创建模块,用于在Jenkins平台上创建一个任务,并设置所述任务的相关参数,其中所述任务用于执行所述自动化测试脚本,进行所述数据库package测试;Creating a module for creating a task on the Jenkins platform and setting relevant parameters of the task, wherein the task is used to execute the automated test script to perform the database package test;
    所述执行模块还用于根据所设置的参数执行所述任务,得到所述测试结果。The execution module is further configured to perform the task according to the set parameter to obtain the test result.
  10. 根据权利要求9所述的数据库测试系统,其特征在于,该系统还包括:The database testing system according to claim 9, wherein the system further comprises:
    提交模块,用于将所述自动化测试脚本提交至SVN版本管理工具。A submission module for submitting the automated test script to the SVN version management tool.
  11. 根据权利要求10所述的数据库测试系统,其特征在于,所述参数包括:下载所述自动化测试脚本的SVN版本管理工具地址;所述任务的执行时间和所述自动化测试脚本的运行时间;所述自动化测试脚本运行的测试环境地址。The database testing system according to claim 10, wherein the parameter comprises: an SVN version management tool address for downloading the automated test script; an execution time of the task and a running time of the automated test script; The test environment address where the automated test script runs.
  12. 根据权利要求11所述的数据库测试系统,其特征在于,所述执行模块按照所设置的执行时间执行所述任务;从所述SVN版本管理工具地址中下载所述自动化测试脚本;及按照所设置的运行时间在所设置测试环境地址中运行所述自动化测试脚本,从而得到所述测试结果。The database testing system according to claim 11, wherein the execution module executes the task according to the set execution time; downloads the automated test script from the SVN version management tool address; and according to the setting The running time runs the automated test script in the set test environment address to obtain the test result.
  13. 根据权利要求8所述的数据库测试系统,其特征在于,所述设置模块利用Java中ISQLServerConnection的prepareCall方法来调用数据库的package中存储过程或者函数。The database testing system according to claim 8, wherein the setting module uses a prepareCall method of ISQLServerConnection in Java to call a stored procedure or function in a package of the database.
  14. 根据权利要求9-12任一项所述的数据库测试系统,其特征在于,所述设置模块利用Java中ISQLServerConnection的prepareCall方法来调用数据库的package中存储过程或者函数。The database testing system according to any one of claims 9 to 12, wherein the setting module uses a prepareCall method of ISQLServerConnection in Java to call a stored procedure or function in a package of the database.
  15. 一种计算机可读存储介质,所述计算机可读存储介质内存储有数据库测试系统,其特征在于,该数据库测试系统包括:A computer readable storage medium, wherein the computer readable storage medium stores a database testing system, wherein the database testing system comprises:
    建立模块,用于建立数据库的package中存储过程或者函数的测试架构;Establishing a module for establishing a test architecture for a stored procedure or function in a package of a database;
    设置模块,用于设置自动化测试脚本,调用数据库的package中存储过程或者函数进行数据库package测试;及Setting a module for setting up an automated test script, calling a stored procedure or function in a package of the database for database package testing;
    执行模块,用于运行所述自动化测试脚本,得到测试结果。An execution module is configured to run the automated test script to obtain test results.
  16. 根据权利要求15所述的计算机可读存储介质,其特征在于,该数据库测试系统统还包括:The computer readable storage medium according to claim 15, wherein the database test system further comprises:
    创建模块,用于在Jenkins平台上创建一个任务,并设置所述任务的相关参数,其中所述任务用于执行所述自动化测试脚本,进行所述数据库package测试;Creating a module for creating a task on the Jenkins platform and setting relevant parameters of the task, wherein the task is used to execute the automated test script to perform the database package test;
    所述执行模块还用于根据所设置的参数执行所述任务,得到所述测试结果。The execution module is further configured to perform the task according to the set parameter to obtain the test result.
  17. 根据权利要求16所述的计算机可读存储介质,其特征在于,该数据库测试系统还包括:The computer readable storage medium according to claim 16, wherein the database testing system further comprises:
    提交模块,用于将所述自动化测试脚本提交至SVN版本管理工具。A submission module for submitting the automated test script to the SVN version management tool.
  18. 根据权利要求17所述的计算机可读存储介质,其特征在于,所述参数包括:下载所述自动化测试脚本的SVN版本管理工具地址;所述任务的执行时间和所述自动化测试脚本的运行时间;所述自动化测试脚本运行的测试环境地址。The computer readable storage medium according to claim 17, wherein the parameter comprises: an SVN version management tool address for downloading the automated test script; an execution time of the task and a run time of the automated test script The test environment address at which the automated test script runs.
  19. 根据权利要求16所述的计算机可读存储介质,其特征在于,所述执行模块按照所设置的执行时间执行所述任务;从所述SVN版本管理工具地址中下载所述自动化测试脚本;及按照所设置的运行时间在所设置测试环境地址中运行所述自动化测试脚本,从而得到所述测试结果。The computer readable storage medium according to claim 16, wherein said execution module executes said task according to said set execution time; downloads said automated test script from said SVN version management tool address; The set running time runs the automated test script in the set test environment address to obtain the test result.
  20. 根据权利要求15-18任一项所述的计算机可读存储介质,其特征在于,所述设置模块利用Java中ISQLServerConnection的prepareCall方法来调用数据 库的package中存储过程或者函数。The computer readable storage medium according to any one of claims 15 to 18, wherein the setting module uses a prepareCall method of ISQLServerConnection in Java to call a stored procedure or function in a package of the database.
PCT/CN2018/085725 2017-05-05 2018-05-04 Method and system for database testing WO2018202173A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710312329.5A CN107885654A (en) 2017-05-05 2017-05-05 Data library test method and system
CN201710312329.5 2017-05-05

Publications (1)

Publication Number Publication Date
WO2018202173A1 true WO2018202173A1 (en) 2018-11-08

Family

ID=61780489

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/085725 WO2018202173A1 (en) 2017-05-05 2018-05-04 Method and system for database testing

Country Status (2)

Country Link
CN (1) CN107885654A (en)
WO (1) WO2018202173A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110147328A (en) * 2019-05-24 2019-08-20 深圳市网心科技有限公司 A kind of database performance measurement method, system, electronic equipment and storage medium
CN111240989A (en) * 2020-01-17 2020-06-05 众能联合数字技术有限公司 Interface automation test framework and method

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107885654A (en) * 2017-05-05 2018-04-06 平安科技(深圳)有限公司 Data library test method and system
CN112099806A (en) * 2020-11-05 2020-12-18 四川新网银行股份有限公司 CICD-based sql automatic auditing online and executing method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105446825A (en) * 2014-06-12 2016-03-30 阿里巴巴集团控股有限公司 Database test method and device
US9542300B1 (en) * 2013-03-15 2017-01-10 Twitter, Inc. System and method for tracking callback functions for error identification
CN106383784A (en) * 2016-09-20 2017-02-08 上海爱数信息技术股份有限公司 Software automated test method and system
CN107885654A (en) * 2017-05-05 2018-04-06 平安科技(深圳)有限公司 Data library test method and system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101093462B (en) * 2006-06-22 2011-02-09 上海全成通信技术有限公司 Automatization method for testing schooling pressure on database application
US9092500B2 (en) * 2009-09-03 2015-07-28 Commvault Systems, Inc. Utilizing snapshots for access to databases and other applications
CN102486748B (en) * 2010-12-02 2015-07-15 金蝶软件(中国)有限公司 Method and device for performance test
CN102254036A (en) * 2011-08-09 2011-11-23 广东电网公司电力科学研究院 Time sequence database testing method and system
CN102254035A (en) * 2011-08-09 2011-11-23 广东电网公司电力科学研究院 Relational database testing method and system
CN103810196B (en) * 2012-11-09 2017-09-22 阿里巴巴集团控股有限公司 The method that database performance measurement is carried out based on business model
CN105224458B (en) * 2015-10-09 2018-02-09 上海瀚银信息技术有限公司 A kind of data library test method and system
CN105302729A (en) * 2015-12-09 2016-02-03 浪潮电子信息产业股份有限公司 Storage system testing method based on database application

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9542300B1 (en) * 2013-03-15 2017-01-10 Twitter, Inc. System and method for tracking callback functions for error identification
CN105446825A (en) * 2014-06-12 2016-03-30 阿里巴巴集团控股有限公司 Database test method and device
CN106383784A (en) * 2016-09-20 2017-02-08 上海爱数信息技术股份有限公司 Software automated test method and system
CN107885654A (en) * 2017-05-05 2018-04-06 平安科技(深圳)有限公司 Data library test method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110147328A (en) * 2019-05-24 2019-08-20 深圳市网心科技有限公司 A kind of database performance measurement method, system, electronic equipment and storage medium
CN111240989A (en) * 2020-01-17 2020-06-05 众能联合数字技术有限公司 Interface automation test framework and method

Also Published As

Publication number Publication date
CN107885654A (en) 2018-04-06

Similar Documents

Publication Publication Date Title
WO2018202173A1 (en) Method and system for database testing
EP3115902B1 (en) Framework for automated testing of mobile apps
WO2016177124A1 (en) Method and device for implementing continuous integration test
EP3082039A1 (en) Business process management notification service processing method and business process management engine
CN109472442B (en) Automatic processing system and method for work order
CN109324975B (en) Continuous integration method based on mobile cloud measurement platform
CN110781089B (en) Method and device for automatically testing UI of equipment, electronic equipment and medium
US8434053B2 (en) Package review process workflow
US11057431B2 (en) Methods and apparatus to provide resource security
CN111026411A (en) Software remote deployment management method and management machine
CN113505520A (en) Method, device and system for supporting heterogeneous federated learning
WO2019085386A1 (en) Software version test method and apparatus, terminal device, and storage medium
CN111651365B (en) Automatic interface testing method and device
CN113706022A (en) Business process execution method and device, storage medium and electronic equipment
CN113256095A (en) Draggable configured agile flow service construction method, system, device and medium
WO2017167015A1 (en) Method and device for server device security management and computer storage medium
US20190205110A1 (en) Compilation optimization via dynamic server cloning
WO2017177783A1 (en) Test system and method invoking third-party test tool
CN108400906B (en) Automatic testing method and device, storage medium and computer equipment
CN107193728A (en) Mobile terminal automation testing method and device
CN112416791B (en) Defect information processing system and method for test object
CN115222363A (en) Visualization process arrangement method, readable storage medium and computer equipment
CN115526580B (en) Node state determining method and device, electronic equipment and storage medium
CN109388415A (en) A kind of application automation updating device, system and method
CN111580853A (en) Universal generation method for multi-channel software installation package

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18793929

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 18/02/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18793929

Country of ref document: EP

Kind code of ref document: A1