CN110851351A - Deployment environment testing method, apparatus, computer equipment and storage medium - Google Patents
Deployment environment testing method, apparatus, computer equipment and storage medium Download PDFInfo
- Publication number
- CN110851351A CN110851351A CN201910968955.9A CN201910968955A CN110851351A CN 110851351 A CN110851351 A CN 110851351A CN 201910968955 A CN201910968955 A CN 201910968955A CN 110851351 A CN110851351 A CN 110851351A
- Authority
- CN
- China
- Prior art keywords
- data
- deployment environment
- expected
- key
- result file
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/3698—Environments for analysis, debugging or testing of software
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/3668—Testing of software
- G06F11/3672—Test management
- G06F11/3692—Test management for test results analysis
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
本发明实施例公开一种部署环境测试方法,所述方法包括:待监测到所述测试启动事件触发时,通过所述界面中所输入的路径信息获取其所指向的预期结果文件,所述预期结果文件为数据库预期数据和/或部署环境预期配置;拉取当前部署环境已安装的数据库数据和/或已设置的部署环境配置,将其与所述预期结果文件进行对比测试;若两者数据相同,则测试通过;若两者数据不相同,记录其两者数据之间具有差异的异常字段,并将所述异常字段返回至所述输入界面进行显示。以上方案实现了部署环境下的系统环境配置和已安装数据的测试,并且在部署软件开始验收前检测部署系统的环境是否正确,从而能在验收工序前提前排除一些潜在的环境配置风险,测试效率得以提高。
An embodiment of the present invention discloses a deployment environment testing method. The method includes: when the triggering of the test start event is monitored, obtaining an expected result file pointed to by the path information input in the interface, and the expected result file is obtained. The result file is the expected data of the database and/or the expected configuration of the deployment environment; pull the installed database data and/or the configured deployment environment configuration of the current deployment environment, and compare it with the expected result file; If they are the same, the test is passed; if the two data are different, record the abnormal field with the difference between the two data, and return the abnormal field to the input interface for display. The above solution realizes the test of system environment configuration and installed data in the deployment environment, and checks whether the environment of the deployment system is correct before the acceptance of the deployment software, so that some potential environment configuration risks can be eliminated in advance before the acceptance process, and the test efficiency be improved.
Description
技术领域technical field
本发明涉及系统测试领域,尤其是涉及一种部署环境测试方法、装置、计算机设备及存储介质。The present invention relates to the field of system testing, and in particular, to a deployment environment testing method, device, computer equipment and storage medium.
背景技术Background technique
在软件开发项目中,每款软件在进行版本移交及部署后,由于开发者的系统环境与客户方的部署环境存在差异,一些功能性的阻塞问题或者衰退问题屡见不鲜,这时技术人员需要对客户方的部署环境进行测试,现有的测试方法为单步调试测试,单步调试测试为一步一步地跟踪程序执行的流程,监控变量值的变化,找到bug的原因,然而,单步调试测试中不包括对部署环境的系统环境配置和已安装的数据库进行测试,因而现有的单步调试的测试结果中无法反映系统环境配置及已安装数据库文件的正确性,在系统环境配置不当或安装数据库文件存在乱码的情况下,部署的软件无法正常运行,如何实现部署环境下的系统环境配置及已安装数据文件的正确性的测试,是当下急需解决的问题。In a software development project, after each software version is handed over and deployed, due to the difference between the developer's system environment and the customer's deployment environment, some functional blocking problems or recession problems are not uncommon. The existing test method is single-step debugging test, which is to trace the process of program execution step by step, monitor the changes of variable values, and find the cause of the bug. However, in the single-step debugging test It does not include testing the system environment configuration of the deployment environment and the installed database. Therefore, the existing single-step debugging test results cannot reflect the correctness of the system environment configuration and installed database files. If the system environment is improperly configured or the database is installed In the case of garbled files, the deployed software cannot run normally. How to implement the system environment configuration in the deployment environment and test the correctness of the installed data files is an urgent problem to be solved.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本发明实施例的目的是提供一种部署环境测试方法、装置、计算机设备及存储介质,实现了对部署环境下的系统环境配置及已安装数据文件的测试,并且在部署软件开始验收前检测部署系统的环境是否正确,从而能在验收工序前提前排除一些潜在的环境配置风险以及数据库中数据乱码所导致的各种异常,测试效率得以提高。In view of this, the purpose of the embodiments of the present invention is to provide a deployment environment testing method, device, computer equipment and storage medium, which realizes the testing of the system environment configuration and the installed data files in the deployment environment, and starts when the deployment software starts. Check whether the environment of the deployed system is correct before acceptance, so that some potential environment configuration risks and various abnormalities caused by garbled data in the database can be eliminated in advance before the acceptance process, and the test efficiency can be improved.
为实现上述目的,本发明实施例提供了部署环境测试方法,包括以下步骤:To achieve the above purpose, an embodiment of the present invention provides a deployment environment testing method, including the following steps:
创建一输入界面,监测所述界面中所触发的测试启动事件,待监测到所述测试启动事件触发时,通过所述界面中所输入的路径信息获取其所指向的预期结果文件,所述预期结果文件为数据库预期数据和/或部署环境预期配置;Create an input interface, monitor the test start event triggered in the interface, and when the trigger of the test start event is monitored, obtain the expected result file pointed to by the path information input in the interface. The result file is the expected data of the database and/or the expected configuration of the deployment environment;
拉取当前部署环境已安装的数据库数据和/或已设置的部署环境配置,将其与所述预期结果文件进行对比测试;Pull the installed database data and/or the configured deployment environment configuration of the current deployment environment, and compare it with the expected result file;
若两者数据相同,则测试通过;若两者数据不相同,记录其两者数据之间具有差异的异常字段,并将所述异常字段返回至所述输入界面进行显示。If the two data are the same, the test is passed; if the two data are different, the abnormal field with the difference between the two data is recorded, and the abnormal field is returned to the input interface for display.
优选的,所述拉取当前部署环境已安装的数据库数据和/或已设置的部署环境配置数据,将其与所述预期结果文件进行对比测试的步骤包括:Preferably, the step of pulling the installed database data and/or the configured deployment environment configuration data of the current deployment environment, and comparing the data with the expected result file, includes:
解析所述预期结果文件中的数据库预期数据,将所述数据库预期数据的每个表单页的字段名称和预期值记录为一个键值对,得到键值对集合;Parse the expected database data in the expected result file, record the field name and expected value of each form page of the expected database data as a key-value pair, and obtain a key-value pair set;
遍历所述集合中的各键值对,将所述键值对中的的每个键作为查询字段,逐一查询所述部署环境已安装的数据库数据中各键所对应数值的正确性。。Traverse each key-value pair in the set, use each key in the key-value pair as a query field, and query the correctness of the value corresponding to each key in the installed database data of the deployment environment one by one. .
优选的,所述拉取当前部署环境已安装的数据库数据和/或已设置的部署环境配置数据,将其与所述预期结果文件进行对比测试的步骤还包括:Preferably, the step of pulling the installed database data and/or the set deployment environment configuration data of the current deployment environment, and comparing the data with the expected result file, further includes:
解析所述预期结果文件中的部署环境预期配置,将所述部署环境预期配置中每个参数名及其对应的参数数值,作为一个参数键值对,得到参数键值对集合;Parse the expected configuration of the deployment environment in the expected result file, and use each parameter name and its corresponding parameter value in the expected configuration of the deployment environment as a parameter key-value pair to obtain a set of parameter key-value pairs;
遍历所述参数键值对集合,将集合中的每个键值对的键作为查询字段,逐一查询所述已设置的部署环境配置参数中各键所对应数值的正确性。Traverse the set of parameter key-value pairs, use the key of each key-value pair in the set as a query field, and query the correctness of the value corresponding to each key in the set deployment environment configuration parameters one by one.
优选的,所述解析所述预期结果文件中的数据库预期数据,将所述数据库预期数据的每个表单页的字段名称和预期值记录为一个键值对,得到键值对集合的步骤之前,还包括:Preferably, before the step of parsing the database expected data in the expected result file, recording the field name and expected value of each form page of the database expected data as a key-value pair, and obtaining a set of key-value pairs, Also includes:
对当前部署环境已安装的数据库进行连接尝试,若连接成功则进行数据拉取,若失败则显示错误提示框。Attempt to connect to the database installed in the current deployment environment. If the connection is successful, the data will be pulled. If the connection fails, an error message box will be displayed.
优选的,所述将若两者数据相同,则测试通过;若两者数据不相同,记录其两者数据之间具有差异的异常字段,并将所述异常字段返回至所述输入界面进行显示的步骤之后,还包括:Preferably, if the two data are the same, the test will pass; if the two data are different, record the abnormal field with the difference between the two data, and return the abnormal field to the input interface for display After the steps, also include:
复制所述预期结果文件中与所述异常字段相对应的数据内容,对所述当前部署环境已安装的数据库数据和/或已设置的部署环境配置数据中的所述异常字段进行覆盖处理。Copy the data content corresponding to the abnormal field in the expected result file, and perform overwriting processing on the abnormal field in the installed database data and/or the set deployment environment configuration data of the current deployment environment.
优选的,所述复制所述预期结果文件中与所述异常字段相对应的数据内容,对所述当前部署环境已安装的数据库数据和/或已设置的部署环境配置数据中的所述异常字段进行覆盖处理的步骤为:Preferably, by copying the data content corresponding to the abnormal field in the expected result file, the abnormal field in the installed database data and/or the set deployment environment configuration data of the current deployment environment The steps for overwriting processing are:
复制所述预期结果文件中与所述异常字段相对应的数据内容,在系统内存中分配一新区间用以环境模拟;Copy the data content corresponding to the abnormal field in the expected result file, and allocate a new interval in the system memory for environment simulation;
在所述模拟环境中加载包含所述数据内容的实例模块,若所述实例模块正常运行,则对所述待校验文件中的所述异常字段进行覆盖处理。Load an instance module including the data content in the simulation environment, and if the instance module runs normally, perform overwriting processing on the abnormal field in the to-be-verified file.
优选的,所述在对所述异常字段的记录过程中,拉取其对应的索引值进行一并存储,所述索引值用以完成对所述异常字段在其源文本中快速定位。Preferably, in the process of recording the abnormal field, the corresponding index value is pulled and stored together, and the index value is used to quickly locate the abnormal field in its source text.
为实现上述目的,本发明实施例还提供了部署环境测试的装置,包括:In order to achieve the above purpose, the embodiment of the present invention also provides a device for testing the deployment environment, including:
界面模块,用于创建一输入界面,监测所述界面中所触发的测试启动事件,待监测到所述测试启动事件触发时,通过所述界面中所输入的路径信息获取其所指向的预期结果文件,所述预期结果文件为数据库预期数据和/或部署环境预期配置;The interface module is used to create an input interface, monitor the test start event triggered in the interface, and when the trigger of the test start event is monitored, obtain the expected result pointed to by the path information input in the interface file, the expected result file is the expected data of the database and/or the expected configuration of the deployment environment;
测试模块,用于拉取当前部署环境已安装的数据库数据和/或已设置的部署环境配置,将其与所述预期结果文件进行对比测试;若两者数据相同,则测试通过;若两者数据不相同,记录其两者数据之间具有差异的异常字段,并将所述异常字段返回至所述输入界面进行显示。The test module is used to pull the installed database data and/or the set deployment environment configuration of the current deployment environment, and compare it with the expected result file; if the data of the two are the same, the test passes; If the data are not the same, record the abnormal fields with differences between the two data, and return the abnormal fields to the input interface for display.
为实现上述目的,本发明实施例还提供了一种计算机设备,所述计算机设备包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至7中任一项所述的部署环境测试的步骤。To achieve the above object, an embodiment of the present invention also provides a computer device, the computer device includes a memory, a processor, and a computer program stored on the memory and running on the processor, characterized in that: The computer program, when executed by a processor, implements the steps of testing a deployment environment as claimed in any one of claims 1 to 7.
为实现上述目的,本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质内存储有计算机程序,所述计算机程序可被至少一个处理器所执行,以使所述至少一个处理器执行如权利要求1至7任一项所述的部署环境测试的步骤。To achieve the above object, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and the computer program can be executed by at least one processor, so that the at least one A processor performs the steps of testing the deployment environment as claimed in any one of claims 1 to 7.
相较于现有技术,本发明实施例所提出的部署环境测试方法、装置、计算机设备及计算机可读存储介质,实现了对部署环境下的系统环境配置及已安装数据文件的测试,并且在部署软件开始验收前检测部署系统的环境是否正确,从而能在验收工序前提前排除一些潜在的环境配置风险以及数据库中数据乱码所导致的各种异常,测试效率得以提高。Compared with the prior art, the deployment environment testing method, device, computer equipment, and computer-readable storage medium proposed in the embodiments of the present invention realize the testing of the system environment configuration and the installed data files in the deployment environment, and are Check whether the environment of the deployment system is correct before the acceptance of the deployment software, so that some potential environment configuration risks and various abnormalities caused by garbled data in the database can be eliminated in advance before the acceptance process, and the test efficiency can be improved.
附图说明Description of drawings
图1为本发明部署环境测试方法的步骤流程图;Fig. 1 is the step flow chart of the deployment environment testing method of the present invention;
图2为本发明部署环境测试方法实施例一中步骤S200的流程示意图;2 is a schematic flowchart of step S200 in Embodiment 1 of the deployment environment testing method of the present invention;
图3为本发明部署环境测试方法实施例一中S200步骤另一实施方式的流程示意图;3 is a schematic flowchart of another embodiment of step S200 in Embodiment 1 of the deployment environment testing method of the present invention;
图4为本发明部署环境测试方法实施例一中S300步骤之后的流程示意图;FIG. 4 is a schematic flowchart after step S300 in Embodiment 1 of the deployment environment testing method of the present invention;
图5为本发明部署环境测试装置实施例二的程序模块示意图;FIG. 5 is a schematic diagram of a program module of
图6为本发明计算机设备实施例三的硬件结构示意图。FIG. 6 is a schematic diagram of a hardware structure of Embodiment 3 of a computer device according to the present invention.
具体实施方式Detailed ways
为了更好地理解本发明的技术方案,下面结合附图对本发明实施例进行详细描述。In order to better understand the technical solutions of the present invention, the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
应当明确,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。It should be understood that the described embodiments are only some, but not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
在本发明实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本发明。在本发明实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。The terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. As used in the embodiments of the present invention and the appended claims, the singular forms "a," "the," and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise.
应当理解,本文中使用的术语“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the term "and/or" used in this document is only an association relationship to describe the associated objects, indicating that there may be three kinds of relationships, for example, A and/or B, which may indicate that A exists alone, and A and B exist at the same time. B, there are three cases of B alone. In addition, the character "/" in this document generally indicates that the related objects are an "or" relationship.
应当理解,尽管在本发明实施例中可能采用术语第一、第二等来描述指定关键字,但指定关键字不应限于这些术语。这些术语仅用来将指定关键字彼此区分开。例如,在不脱离本发明实施例范围的情况下,第一指定关键字也可以被称为第二指定关键字,类似地,第二指定关键字也可以被称为第一指定关键字。It should be understood that although the terms first, second, etc. may be used to describe the designated keywords in the embodiments of the present invention, the designated keywords should not be limited to these terms. These terms are only used to distinguish specific keywords from one another. For example, without departing from the scope of the embodiments of the present invention, the first specified keyword may also be referred to as the second specified keyword, and similarly, the second specified keyword may also be referred to as the first specified keyword.
取决于语境,如在此所使用的词语“如果”可以被解释称为“在……时”或“当……时”或“相应于确定”或“响应于检测”。类似地,取决于语境,短语“如果确定”或“如果检测(陈述的条件或时间)”可以被解释成“当确定时”或“响应于确定”或“当检测(陈述的条件或事件)时”或“响应于检测(陈述的条件或事件)”。Depending on the context, the word "if" as used herein may be interpreted as "at" or "when" or "corresponding to determining" or "responsive to detecting". Similarly, the phrases "if determined" or "if detected (stated condition or time)" may be interpreted as "when determined" or "in response to determination" or "when detected (stated condition or event)," depending on the context )" or "in response to detection (a stated condition or event)".
实施例一Example 1
参阅图1,其为本发明实施例所提供的部署环境测试的步骤流程图。可以理解,本发明实施例中的流程图不用对执行步骤的顺序进行限定。具体如下:Referring to FIG. 1 , it is a flowchart of steps for testing a deployment environment provided by an embodiment of the present invention. It can be understood that, the flowchart in the embodiment of the present invention does not limit the order of executing steps. details as follows:
步骤S100创建一输入界面,监测所述界面中所触发的测试启动事件,待监测到所述测试启动事件触发时,通过所述界面中所输入的路径信息获取其所指向的预期结果文件,所述预期结果文件为数据库预期数据和/或部署环境预期配置。Step S100 creates an input interface, monitors the test start event triggered in the interface, and when the trigger of the test start event is monitored, obtain the expected result file pointed to by the path information input in the interface, so The expected result file described above is the expected data of the database and/or the expected configuration of the deployment environment.
创建一输入界面用以让技术人员执行相关操作是本发明为实现技术方案的首要步骤。Creating an input interface to allow technicians to perform related operations is the first step of the present invention to realize the technical solution.
具体的,处理单元创建一线程用以运行预先编辑好的窗体程序,程序运行后,系统桌面则会弹出一窗体框,其中所述窗体框中包括至少两个文本输入框及一触发按钮,所述文本输入框用于技术人员输入准备文档路径以及其余验证资料路径信息,触发按钮用于监听技术人员执行部署环境测试的触发操作。Specifically, the processing unit creates a thread to run the pre-edited form program. After the program runs, a form frame will pop up on the system desktop, wherein the form frame includes at least two text input boxes and a trigger button, the text input box is used for the technician to input the preparation document path and other verification data path information, and the trigger button is used to monitor the trigger operation of the technician to perform the deployment environment test.
其中,准备文件又可称为预期结果文件,用以作为后续对比测试的基准文件,由技术人员预先设置,可以是技术人员拷贝至部署的硬件设备中,或通过外接设备例如U盘等,根据文本输入框所输入的预期文件路径,拉取路径所指向的文件数据,若在硬件设备的本地盘中,其路径示例性的可以是“C:\\windows\\setup.ins”,若所述预期结果文件在外接设备中,以sandisk品牌的U盘为例,其路径可以是G:sandisk:\\setup.ins,Among them, the preparation file can also be called the expected result file, which is used as the benchmark file for the subsequent comparison test. It is preset by the technician. The expected file path entered in the text input box, the file data pointed to by the pull path, if it is in the local disk of the hardware device, the path can be "C: \\windows\\setup.ins " for example, if all The expected result file described above is in the external device, taking the U disk of sandisk brand as an example, its path can be G:sandisk: \\setup.ins ,
预期结果文件包括两类,一类为数据库预期数据,由于不同系统环境下,部分数据库数据从开发人员的开发环境中部署至客户方的硬件设备中会出现乱码或格式异变等情况,从而导致数据丢失或改变,进而使得部署的软件无法正常运行,因此,需要技术人员提前准备正确的数据库预期数据来对当前部署环境中的数据库数据进行对比测试,进而得知当前部署环境中的数据库数据是否发生数据丢失或改变等异常问题。例如,技术人员在电脑PC端用JAVA模拟安卓开发环境的条件下进行程序编译,而客户的需求是要求软件能在手机端正常运行,尽管两者的操作系统都为安卓系统,但是由于电脑与手机硬件设备不同,以及两者安卓系统版本也可能不一致,其自然存在着差异,软件从技术人员的电脑端从而移交到手机端上运行时,其中一并转移的数据库数据产生变形以及环境配置存在差异,部署软件自然会出现一些功能性的阻塞问题或者衰退问题。Expected result files include two types, one is database expected data, because under different system environments, some database data will be garbled or formatted when deployed from the developer's development environment to the client's hardware device, resulting in Data is lost or changed, which makes the deployed software unable to run normally. Therefore, technicians are required to prepare the correct expected database data in advance to conduct a comparative test on the database data in the current deployment environment, so as to know whether the database data in the current deployment environment is correct. Unusual problems such as data loss or change occur. For example, technicians compile programs under the condition that JAVA simulates the Android development environment on the computer PC side, and the customer's demand is that the software can run normally on the mobile phone side. Although the operating systems of both are Android systems, due to the The hardware devices of the mobile phones are different, and the versions of the two Android systems may also be inconsistent. There are natural differences. When the software is transferred from the technician's computer to the mobile phone, the database data transferred together is deformed and the environment configuration exists. Differences, deploying software will naturally have some functional blocking problems or regression problems.
另一类为部署环境预期配置,一般软件都有它自身所对硬件设备及软件环境等的最低要求,例如,只支持64位windows系统的软件无法正常在32位windows系统中正常运行,因此,同样需要技术人员预先编写好部署环境预期配置文件,用于对已设置的部署环境配置数据进行对比测试,进而判断当前已设置的部署环境配置数据是否满足部署软件的运行。The other type is the expected configuration of the deployment environment. General software has its own minimum requirements for hardware devices and software environments. For example, software that only supports 64-bit Windows systems cannot run normally in 32-bit Windows systems. Therefore, It is also necessary for technicians to pre-write the expected configuration file of the deployment environment, which is used to compare and test the set deployment environment configuration data, and then judge whether the currently set deployment environment configuration data satisfies the operation of the deployment software.
示例性的,部署环境预期配置数据可如下表1:Exemplarily, the expected configuration data of the deployment environment can be as follows in Table 1:
表1Table 1
当监听到界面中触发按钮所触发的校验启动事件时,处理单元获取输入框输入路径所指向的预期结果文件相关信息,进而调取所述路径所指向的预期结果文件,并加载至缓存中,供后续检验步骤随时调取。When monitoring the verification start event triggered by the trigger button in the interface, the processing unit obtains the relevant information of the expected result file pointed to by the input path of the input box, and then calls the expected result file pointed to by the path, and loads it into the cache , which can be called at any time for subsequent inspection steps.
步骤S200拉取当前部署环境已安装的数据库数据和/或已设置的部署环境配置,将其与所述预期结果文件进行对比测试;若两者数据相同,则测试通过;若两者数据不相同,记录其两者数据之间具有差异的异常字段,并将所述异常字段返回至所述输入界面进行显示。Step S200 pulls the installed database data and/or the set deployment environment configuration of the current deployment environment, and compares it with the expected result file; if the two data are the same, the test passes; if the two data are not the same , record the abnormal field with difference between the two data, and return the abnormal field to the input interface for display.
在获取到所述预期文件后,对当前部署环境中的已安装数据库数据进行拉取和/或对当前已设置的部署环境配置进行拉取,将其与所述预期结果文件进行对比测试。After obtaining the expected file, pull the installed database data in the current deployment environment and/or pull the currently set deployment environment configuration, and perform a comparative test with the expected result file.
具体的,在前述步骤S100中的窗体还设置两个勾选框,分别对应数据库测试和部署环境配置测试的触发,若技术人员只勾选对应数据库测试的勾选框,则在该环节只拉取当前部署环境已安装数据库数据,并不对部署环境配置数据进行拉取,且不对部署环境配置数据进行测试,勾选框的勾选对应触发相应的测试内容。Specifically, the window in the aforementioned step S100 is also set with two check boxes, which correspond to the triggering of the database test and the deployment environment configuration test respectively. If the technician only checks the check box corresponding to the database test, then only the Pulls the installed database data of the current deployment environment, does not pull the configuration data of the deployment environment, and does not test the configuration data of the deployment environment. The check box is checked to trigger the corresponding test content.
简单来说,部署环境就是软件运行的平台、即软件环境、硬件、网络、数据四中元素的合集,其中软件环境指被测软件运行时的操作系统、数据库及其它应用软件构成的环境,软件环境相对比较复杂,需要考虑的因素也很多,有操作系统的语言、版本、各共存软件的版本和位数等等。Simply put, the deployment environment is the platform on which the software runs, that is, a collection of four elements: software environment, hardware, network, and data. The software environment refers to the operating system, database, and other application software when the software under test is running. The environment is relatively complex, and there are many factors that need to be considered, such as the language and version of the operating system, the version and number of coexisting software, and so on.
以数据库测试为例,技术人员预先设置有部署环境已安装的数据库路径,通常,已安装的数据库包括支撑部署环境系统本身的数据库数据以及部署软件所需的自带的数据库。通常这两个数据库的路径都是固定的,所述支撑部署环境系统本身的数据库数据通常设置于本地磁盘中,例如磁盘C,而部署软件所需的自带的数据库通常放置与安装文件所生成的安装文件夹下,路径也是固定设置的,例如:C:\\平安财务内部客户端\\mysql。Taking database testing as an example, the technician presets the installed database path of the deployment environment. Usually, the installed database includes the database data supporting the deployment environment system itself and the self-contained database required for deploying the software. Usually, the paths of the two databases are fixed, and the database data supporting the deployment environment system itself is usually set in the local disk, such as disk C, and the self-contained database required for the deployment software is usually placed and generated by the installation file Under the installation folder, the path is also fixed, for example: C:\\Ping An Financial Internal Client \\mysql .
处理单元通过技术人员预置好的路径,对这两种数据库进行访问,拉取其中的数据,并将拉取到的数据与预期结果文件进行具体数据的对比测试,得到测试结果。The processing unit accesses the two databases through the path preset by the technician, pulls the data in them, and compares the pulled data with the expected result file for specific data to obtain the test results.
对比测试完成后通过预置的选择结构语句进而输出测试结果,其一为测试通过,其二为测试不通过,其评判标准为拉取到的部署环境的数据库数据和/或部署环境配置与所述预期结果文件两者的数据是否相同,若相同,则为测试通过,若不同,则执行对两者数据之间具有差异的异常字段的记录,并将异常字段返回值输入界面进行显示。After the comparison test is completed, the preset selection structure statement is used to output the test results. One is the test passed, and the other is the test failed. The evaluation criteria are the database data of the pulled deployment environment and/or the configuration of the deployment environment. Whether the data of the two expected result files are the same, if they are the same, the test is passed; if they are different, the record of the abnormal field with the difference between the two data is performed, and the return value of the abnormal field is input into the interface for display.
其中,异常字段是由对比测试中所得到的,若单独以数据库对比测试而言,则异常字段为当前部署环境已安装的数据库数据与所述预期结果文件数据中的不相同的字段,举个例子,已安装的数据库数据包含表A,其首行数据为“贷款人;张三;贷款金额三百万”,而预期结果文件中的数据库预期数据包含预期表A,预期表A首行数据为“贷款人;张三;贷款金额二百万”,则作为被测方--部署环境已安装数据库数据中的字段“贷款金额三百万”即为异常字段。Among them, the abnormal field is obtained by the comparison test. If the database comparison test is used alone, the abnormal field is the field that is different from the database data installed in the current deployment environment and the expected result file data. For example For example, the installed database data contains table A, whose first row of data is "lender; Zhang San; loan amount three million", while the database expected data in the expected result file contains expected table A, the first row of expected table A data If it is "Lender; Zhang San;
上述阐述仅为对异常字段的理解,其旨在表征被测数据和预期数据之间的差异数据,其异常字段还可以是部分函数实例,代码,数组,类等等。The above description is only an understanding of the exception field, which is intended to represent the difference data between the measured data and the expected data, and the exception field may also be some function instances, codes, arrays, classes, and so on.
相较于现有技术,本发明实所提供的部署环境测试方法,实现了对部署环境下的系统环境配置及已安装数据文件的测试,并且在部署软件开始验收前检测部署系统的环境是否正确,从而能在验收工序前提前排除一些潜在的环境配置风险以及数据库中数据乱码所导致的各种异常,测试效率得以提高。Compared with the prior art, the method for testing the deployment environment provided by the present invention realizes the test of the system environment configuration and the installed data files in the deployment environment, and detects whether the environment of the deployment system is correct before the deployment software starts acceptance. , so that some potential environment configuration risks and various anomalies caused by garbled data in the database can be eliminated in advance before the acceptance process, and the test efficiency can be improved.
示例性的,参考图2,步骤S200可以进一步包括:Exemplarily, referring to FIG. 2 , step S200 may further include:
S210解析所述预期结果文件中的数据库预期数据,将所述数据库预期数据的每个表单页的字段名称和预期值记录为一个键值对,得到键值对集合。S210 parses the database expected data in the expected result file, records the field name and expected value of each form page of the database expected data as a key-value pair, and obtains a key-value pair set.
具体地,所述数据库预期数据是由excel的格式进行编写的,处理单元解析所述数据库预期数据,将文件内每个表单页中的字段名和预期的字段值,作为一个键值对集合进行记录,其中,字段名为键,预期的字段值为数值。Specifically, the expected data of the database is written in the format of excel, and the processing unit parses the expected data of the database, and records the field name and expected field value in each form page in the file as a key value to the collection , where the field name is key and the expected field value is numeric.
示例性的,数据库预期数据包含两个表单,两个表单的名称为“A”,“B”,分别对应数据库A和数据库B,其各个表单内记录着对应数据库中的存储数据。处理单元按照表单页的顺序进行解析,先解析表单“A”,将表单“A”中各个字段名称以及相应的字段值,采用map对象函数存储为一个个的键值对集合,如下:Exemplarily, the expected data of the database includes two forms, and the names of the two forms are "A" and "B", which correspond to database A and database B respectively, and each form records the stored data in the corresponding database. The processing unit parses in the order of the form pages, first parses the form "A", and stores the field names and corresponding field values in the form "A" as a set of key-value pairs using the map object function, as follows:
map.put(“贷款金额”,“三百万”)map.put("Loan Amount", "Three Million")
其中,“贷款金额”为键,,“三百万”为值,意思为贷款金额为三百万。Among them, "loan amount" is the key, and "three million" is the value, meaning that the loan amount is three million.
map.put(“贷款人”,“张三”)map.put("Lender", "Zhangsan")
其中,“贷款人”为键,“张三”为值,意思就是贷款人是张三。Among them, "lender" is the key, and "Zhang San" is the value, which means that the lender is Zhang San.
S220遍历所述集合中的各键值对,将所述键值对中的的每个键作为查询字段,逐一查询所述部署环境已安装的数据库数据中各键所对应数值的正确性。S220 traverses each key-value pair in the set, uses each key in the key-value pair as a query field, and queries the correctness of the value corresponding to each key in the installed database data of the deployment environment one by one.
处理单元获取前述步骤所记录的各键值对集合,抽取所述集合中的键,将其作为查询字段,在所述部署环境已安装的数据库数据文件中,查找该键所对应的数值,与预期结果文件中的数值进行对比进而分析其正确性。The processing unit obtains each set of key-value pairs recorded in the preceding steps, extracts the key in the set, uses it as a query field, searches for the value corresponding to the key in the installed database data file of the deployment environment, and matches the The values in the expected result file are compared to analyze their correctness.
示例性的,预期结果文件中一键值对为(“贷款人”,“张三”),利用键“贷款人”未做查询字段,在所述部署环境已安装的数据库数据中各表单字段名称中进行遍历,获得其中“贷款人”字段名称所对应的字段值为“李四”,此时“张三”不等于“李四”,则所述部署环境已安装的数据库数据该键值对并非正确,该键值对所对应的数据已变形。Exemplarily, a key-value pair in the expected result file is ("lender", "Zhangsan"), and the key "lender" is not used for query fields, and each form field in the installed database data of the deployment environment. Traverse through the name, and obtain the field value corresponding to the "lender" field name "Li Si". At this time, "Zhang San" is not equal to "Li Si", then the key value of the database data installed in the deployment environment The pair is incorrect, the data corresponding to the key-value pair is distorted.
另外,在记录非正确字段值及相应名称的同时,还可获取该字段的位置,添加索引记录用以让技术人员可对其在原数据库中进行快速定位。In addition, while recording the incorrect field value and corresponding name, the location of the field can also be obtained, and an index record is added to allow technicians to quickly locate it in the original database.
可选的,参考图3,步骤S200还包括:Optionally, referring to FIG. 3 , step S200 further includes:
S240解析所述预期结果文件中的部署环境预期配置,将所述部署环境预期配置中每个参数名及其对应的参数数值,作为一个参数键值对,得到参数键值对集合;S240 parses the expected configuration of the deployment environment in the expected result file, takes each parameter name and its corresponding parameter value in the expected configuration of the deployment environment as a parameter key-value pair, and obtains a set of parameter key-value pairs;
S250遍历所述参数键值对集合,将集合中的每个键值对的键作为查询字段,逐一查询所述已设置的部署环境配置参数中各键所对应数值的正确性。S250 traverses the set of parameter key-value pairs, uses the key of each key-value pair in the set as a query field, and queries the correctness of the values corresponding to each key in the set deployment environment configuration parameters one by one.
具体的,在前述内容已有阐述所提供的窗体设置有勾选框,以只勾选部署环境配置测试来讲,处理单元进入部署环境配置的对比测试步骤。对于配置文件的对比测试,获取输入界面输入的指定路径所指向的部署环境预期配置,解析其具体的参数名和参数值,并定义为一个MAP对象,然后拉取已设置的部署环境配置,其中如何拉取已设置的环境配置为现有技术,本发明对如何拉取配置参数不做赘述,拉取后的数据可能是零散的,此时将零散数据进行整理,可生成如下表:Specifically, it has been explained in the foregoing content that the provided form is provided with a check box, and in terms of only checking the deployment environment configuration test, the processing unit enters the comparison test step of the deployment environment configuration. For the comparison test of the configuration file, obtain the expected configuration of the deployment environment pointed to by the specified path entered in the input interface, parse its specific parameter name and parameter value, define it as a MAP object, and then pull the set deployment environment configuration. Pulling the set environment configuration is the prior art. The present invention will not go into details on how to pull the configuration parameters. The pulled data may be scattered. At this time, the scattered data is sorted out, and the following table can be generated:
表2Table 2
将表2与表1(部署环境预期配置)进行对比,可以发现,已设置的部署环境配置有关“CPU”的参数值为2.4GHZ,与预期文件不符,因此“CPU;2.4GHZ”为异常字段。Comparing Table 2 with Table 1 (expected configuration of deployment environment), it can be found that the parameter value of "CPU" in the configured deployment environment configuration is 2.4GHZ, which is inconsistent with the expected file, so "CPU; 2.4GHZ" is an abnormal field .
可选的,步骤S210之前,还包括:Optionally, before step S210, it further includes:
步骤210A对数据库地址进行连接尝试,若连接成功则进行所述部署环境已安装的数据库数据进行拉取,若失败则显示错误提示框。Step 210A performs a connection attempt on the database address. If the connection is successful, the database data installed in the deployment environment is pulled. If the connection fails, an error prompt box is displayed.
针对当前部署环境已安装的数据库数据的拉取和后续对比测试,首先需对已安装的数据库地址进行连接尝试,如果失败则停止程序并显示错误提示框,若成功则触发下一步,进行数据库预期结果文件的解析。For the pull and subsequent comparison test of the installed database data in the current deployment environment, firstly, a connection attempt should be made to the installed database address. If it fails, the program will be stopped and an error prompt will be displayed. If successful, the next step will be triggered and the database will be expected. Parsing of the resulting file.
可选的,参考图4,步骤S300之后,还包括:Optionally, referring to FIG. 4 , after step S300, it further includes:
步骤400复制所述预期结果文件中与所述异常字段相对应的数据内容,对所述已安装数据库文件中的所述异常字段进行覆盖处理。Step 400 replicates the data content corresponding to the abnormal field in the expected result file, and performs overwriting processing on the abnormal field in the installed database file.
可选的,步骤400包括:Optionally, step 400 includes:
步骤410复制所述预期结果文件中与所述异常字段相对应的数据内容,在系统内存中分配一新区间用以环境模拟。Step 410 copies the data content corresponding to the exception field in the expected result file, and allocates a new interval in the system memory for environment simulation.
步骤420在所述模拟环境中加载包含所述数据内容的实例模块,若所述实例模块正常运行,则对所述已安装数据库文件中的所述异常字段进行覆盖处理。Step 420 loads an instance module including the data content in the simulation environment, and if the instance module runs normally, overwrite processing is performed on the abnormal field in the installed database file.
具体地,处理单元在进行字段数值校验后,将其中各异常字段进行记录缓存,待校验完毕后,将可所有异常字段写入一记事本中进行显示。另外,还可将异常字段的索引页码一通写入记事本便于技术人员进行定位。Specifically, after the field value verification is performed, the processing unit records and caches each abnormal field, and after the verification is completed, writes all the abnormal fields into a notepad for display. In addition, the index page number of the abnormal field can also be written into the notepad to facilitate the positioning of the technician.
另外,异常字段也通过S100步骤中的窗体中某个文本框进行显示,本发明对此不做限定。In addition, the abnormal field is also displayed through a certain text box in the window in step S100, which is not limited in the present invention.
示例性的,该异常字段的输出结果可以如下:Exemplarily, the output result of the exception field can be as follows:
实施例二
参阅图5,示出了本发明部署环境测试模块示意图。在本实施例中,部署环境测试装置20可以包括或被分割成一个或多个程序模块,一个或者多个程序模块被存储于存储介质中,并由一个或多个处理器所执行,以完成本发明,并可实现上述基于部署环境测试方法。本发明实施例所称的程序模块是指能够完成特定功能的一系列计算机程序指令段,比程序本身更适合于描述部署环境测试装置20在存储介质中的执行过程。以下描述将具体介绍本实施例各程序模块的功能:Referring to FIG. 5, a schematic diagram of the deployment environment test module of the present invention is shown. In this embodiment, the deployment
界面模块200,用于创建一输入界面,监测所述界面中所触发的测试启动事件,待监测到所述测试启动事件触发时,通过所述界面中所输入的路径信息获取其所指向的预期结果文件,所述预期结果文件为数据库预期数据和/或部署环境预期配置;The interface module 200 is used to create an input interface, monitor the test start event triggered in the interface, and when the trigger of the test start event is monitored, obtain the expected direction pointed to by the path information input in the interface A result file, the expected result file is the expected data of the database and/or the expected configuration of the deployment environment;
测试模块300,用于拉取当前部署环境已安装的数据库数据和/或已设置的部署环境配置,将其与所述预期结果文件进行对比测试;若两者数据相同,则测试通过;若两者数据不相同,记录其两者数据之间具有差异的异常字段,并将所述异常字段返回至所述输入界面进行显示。The test module 300 is used to pull the installed database data and/or the set deployment environment configuration of the current deployment environment, and compare it with the expected result file; if the two data are the same, the test passes; If the data of the user is different, record the abnormal field with the difference between the two data, and return the abnormal field to the input interface for display.
实施例三Embodiment 3
参阅图6,是本发明实施例三之计算机设备的硬件架构示意图。本实施例中,所述计算机设备2是一种能够按照事先设定或者存储的指令,自动进行数值计算和/或信息处理的设备。该计算机设备2可以是机架式服务器、刀片式服务器、塔式服务器或机柜式服务器(包括独立的服务器,或者多个服务器所组成的服务器集群)等。如图所示,所述计算机设备2至少包括,但不限于,可通过系统总线相互通信连接存储器21、处理器22、网络接口23、以及部署环境测试装置20。其中:Referring to FIG. 6 , it is a schematic diagram of a hardware architecture of a computer device according to Embodiment 3 of the present invention. In this embodiment, the
本实施例中,存储器21至少包括一种类型的计算机可读存储介质,所述可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。在一些实施例中,存储器21可以是计算机设备2的内部存储单元,例如该计算机设备2的硬盘或内存。在另一些实施例中,存储器21也可以是计算机设备2的外部存储设备,例如该计算机设备20上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。当然,存储器21还可以既包括计算机设备2的内部存储单元也包括其外部存储设备。本实施例中,存储器21通常用于存储安装于计算机设备2的操作系统和各类应用软件,例如实施例二的部署环境测试装置20的程序代码等。此外,存储器21还可以用于暂时地存储已经输出或者将要输出的各类数据。In this embodiment, the
处理器22在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。该处理器22通常用于控制计算机设备2的总体操作。本实施例中,处理器22用于运行存储器21中存储的程序代码或者处理数据,例如运行部署环境测试装置20,以实现实施例一的部署环境测试方法。In some embodiments, the
所述网络接口23可包括无线网络接口或有线网络接口,该网络接口23通常用于在所述计算机设备2与其他电子装置之间建立通信连接。例如,所述网络接口23用于通过网络将所述计算机设备2与外部终端相连,在所述计算机设备2与外部终端之间的建立数据传输通道和通信连接等。所述网络可以是企业内部网(Intranet)、互联网(Internet)、全球移动通讯系统(Global System of Mobile communication,GSM)、宽带码分多址(WidebandCode Division Multiple Access,WCDMA)、4G网络、5G网络、蓝牙(Bluetooth)、Wi-Fi等无线或有线网络。The
在本实施例中,存储于存储器21中的部署环境测试装置20还可以被分割为一个或者多个程序模块,所述一个或者多个程序模块被存储于存储器21中,并由一个或多个处理器(本实施例为处理器22)所执行,以完成本发明。In this embodiment, the deployment
例如,图5示出了所述实现部署环境测试装置20实施例二的程序模块示意图,该实施例中,所述部署环境测试装置20可以被划分为界面模块200,测试模块300,其中,本发明所称的程序模块是指能够完成特定功能的一系列计算机程序指令段,比程序更适合于描述所述部署环境测试装置20在所述计算机设备2中的执行过程。所述程序模块的具体功能在实施例二中已有详细描述,在此不再赘述。For example, FIG. 5 shows a schematic diagram of program modules for implementing the second embodiment of the deployment
实施例四Embodiment 4
本实施例还提供一种计算机可读存储介质,如闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘、服务器、App应用商城等等,其上存储有计算机程序,程序被处理器执行时实现相应功能。本实施例的计算机可读存储介质用于存储部署环境测试装置20,被处理器执行时实现实施例一的部署环境测试方法。This embodiment also provides a computer-readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), only Read-only memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Programmable Read-Only Memory (PROM), magnetic memory, magnetic disk, optical disk, server, App application mall, etc., on which computer programs are stored, When the program is executed by the processor, the corresponding function is realized. The computer-readable storage medium of this embodiment is used to store the deployment
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages or disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only preferred embodiments of the present invention, and are not intended to limit the scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the description and drawings of the present invention, or directly or indirectly applied in other related technical fields , are similarly included in the scope of patent protection of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910968955.9A CN110851351A (en) | 2019-10-12 | 2019-10-12 | Deployment environment testing method, apparatus, computer equipment and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910968955.9A CN110851351A (en) | 2019-10-12 | 2019-10-12 | Deployment environment testing method, apparatus, computer equipment and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN110851351A true CN110851351A (en) | 2020-02-28 |
Family
ID=69597981
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910968955.9A Pending CN110851351A (en) | 2019-10-12 | 2019-10-12 | Deployment environment testing method, apparatus, computer equipment and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN110851351A (en) |
Cited By (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112579376A (en) * | 2020-12-16 | 2021-03-30 | 中国建设银行股份有限公司 | Double-run-stage data verification method, system, equipment and storage medium |
| CN113052463A (en) * | 2021-03-25 | 2021-06-29 | 平安银行股份有限公司 | Workflow verification method and device, computer equipment and storage medium |
| CN113590181A (en) * | 2021-08-10 | 2021-11-02 | 平安普惠企业管理有限公司 | Configuration file checking method, device, equipment and storage medium |
| CN113900677A (en) * | 2021-10-18 | 2022-01-07 | 盐城金堤科技有限公司 | Deployment method, apparatus, device and computer storage medium of program operating environment |
| WO2022110646A1 (en) * | 2020-11-24 | 2022-06-02 | 平安普惠企业管理有限公司 | Configuration method and related device |
| CN115309629A (en) * | 2022-06-24 | 2022-11-08 | 北京健康之家科技有限公司 | Method and device, device and medium for processing online environment configuration of program |
| CN115509838A (en) * | 2022-09-28 | 2022-12-23 | 苏州浪潮智能科技有限公司 | Method, device, equipment and medium for returning results of rapid statistical stress test |
| CN115809205A (en) * | 2023-02-10 | 2023-03-17 | 安徽合信国质检验检测有限公司 | Software detection sample deployment system based on cloud computing technology |
| CN116450400A (en) * | 2023-06-19 | 2023-07-18 | 北京翼辉信息技术有限公司 | Application program abnormality analysis method and device, electronic equipment and storage medium |
| WO2023229784A1 (en) * | 2022-05-26 | 2023-11-30 | Microsoft Technology Licensing, Llc | Allow list of container images based on deployment configuration at a container orchestration service |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109491887A (en) * | 2018-09-28 | 2019-03-19 | 深圳壹账通智能科技有限公司 | Test environment dispositions method, device, computer equipment and storage medium |
| CN109815111A (en) * | 2018-12-13 | 2019-05-28 | 深圳壹账通智能科技有限公司 | Gray scale test method, device, computer equipment and storage medium |
| CN109828904A (en) * | 2018-12-14 | 2019-05-31 | 深圳壹账通智能科技有限公司 | System Authentication method, device, electronic equipment and storage medium |
-
2019
- 2019-10-12 CN CN201910968955.9A patent/CN110851351A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109491887A (en) * | 2018-09-28 | 2019-03-19 | 深圳壹账通智能科技有限公司 | Test environment dispositions method, device, computer equipment and storage medium |
| CN109815111A (en) * | 2018-12-13 | 2019-05-28 | 深圳壹账通智能科技有限公司 | Gray scale test method, device, computer equipment and storage medium |
| CN109828904A (en) * | 2018-12-14 | 2019-05-31 | 深圳壹账通智能科技有限公司 | System Authentication method, device, electronic equipment and storage medium |
Cited By (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2022110646A1 (en) * | 2020-11-24 | 2022-06-02 | 平安普惠企业管理有限公司 | Configuration method and related device |
| CN112579376A (en) * | 2020-12-16 | 2021-03-30 | 中国建设银行股份有限公司 | Double-run-stage data verification method, system, equipment and storage medium |
| CN113052463B (en) * | 2021-03-25 | 2023-09-26 | 平安银行股份有限公司 | Workflow verification method, workflow verification device, computer equipment and storage medium |
| CN113052463A (en) * | 2021-03-25 | 2021-06-29 | 平安银行股份有限公司 | Workflow verification method and device, computer equipment and storage medium |
| CN113590181A (en) * | 2021-08-10 | 2021-11-02 | 平安普惠企业管理有限公司 | Configuration file checking method, device, equipment and storage medium |
| CN113900677A (en) * | 2021-10-18 | 2022-01-07 | 盐城金堤科技有限公司 | Deployment method, apparatus, device and computer storage medium of program operating environment |
| US12353547B2 (en) | 2022-05-26 | 2025-07-08 | Microsoft Technology Licensing, Llc | Allow list of container images based on deployment configuration at a container orchestration service |
| WO2023229784A1 (en) * | 2022-05-26 | 2023-11-30 | Microsoft Technology Licensing, Llc | Allow list of container images based on deployment configuration at a container orchestration service |
| CN115309629A (en) * | 2022-06-24 | 2022-11-08 | 北京健康之家科技有限公司 | Method and device, device and medium for processing online environment configuration of program |
| CN115509838A (en) * | 2022-09-28 | 2022-12-23 | 苏州浪潮智能科技有限公司 | Method, device, equipment and medium for returning results of rapid statistical stress test |
| CN115809205B (en) * | 2023-02-10 | 2023-04-18 | 安徽合信国质检验检测有限公司 | Software detection sample deployment system based on cloud computing technology |
| CN115809205A (en) * | 2023-02-10 | 2023-03-17 | 安徽合信国质检验检测有限公司 | Software detection sample deployment system based on cloud computing technology |
| CN116450400A (en) * | 2023-06-19 | 2023-07-18 | 北京翼辉信息技术有限公司 | Application program abnormality analysis method and device, electronic equipment and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110851351A (en) | Deployment environment testing method, apparatus, computer equipment and storage medium | |
| CN109474488B (en) | Interface testing method and device and computer equipment | |
| CN109284269B (en) | Abnormal log analysis method and device, storage medium and server | |
| US8132156B2 (en) | Methods and systems for testing tool with comparative testing | |
| CN103577328B (en) | The method for analyzing performance of a kind of application and device | |
| US7406685B2 (en) | System and method for whole-system program analysis | |
| US8386851B2 (en) | Functional coverage using combinatorial test design | |
| US20170132119A1 (en) | Method and device for retrieving test case based on code coverage | |
| US9886369B2 (en) | Dynamic data fabrication for database applications | |
| US12079298B2 (en) | Methods and systems for browser extension used to generate relative XPath, absolute XPath and/or CSS selectors | |
| US20120331449A1 (en) | Device, method and computer program product for evaluating a debugger script | |
| US9959199B2 (en) | Diagnosis of test failures in software programs | |
| CN110245089A (en) | Stress testing method, device, equipment and computer-readable storage medium | |
| WO2019000963A1 (en) | Pre-inspection method for service system, server, and computer readable storage medium | |
| US11494288B2 (en) | Test relevancy prediction for code changes | |
| US9898386B2 (en) | Detecting byte ordering type errors in software code | |
| CN108319711A (en) | Transaction consistency test method, device, storage medium and the equipment of database | |
| CN113656318A (en) | Software version testing method, device and computer equipment | |
| CN112241370B (en) | API interface class checking method, system and device | |
| CN113238940A (en) | Interface test result comparison method, device, equipment and storage medium | |
| CN114185791B (en) | A data mapping file testing method, device, equipment and storage medium | |
| CN112685312A (en) | Test case recommendation method and device for uncovered codes | |
| US20210157924A1 (en) | Coverage of web appliction analysis | |
| US20190138433A1 (en) | Evaluation of library test suites using mutation testing | |
| CN113238953A (en) | UI automation test method and device, electronic equipment and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| WD01 | Invention patent application deemed withdrawn after publication | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20200228 |