CN106294151A - Daily record method of testing and device - Google Patents
Daily record method of testing and device Download PDFInfo
- Publication number
- CN106294151A CN106294151A CN201610649062.4A CN201610649062A CN106294151A CN 106294151 A CN106294151 A CN 106294151A CN 201610649062 A CN201610649062 A CN 201610649062A CN 106294151 A CN106294151 A CN 106294151A
- Authority
- CN
- China
- Prior art keywords
- log
- target log
- content
- use case
- target
- 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.)
- Granted
Links
- 238000010998 test method Methods 0.000 title claims abstract description 22
- 238000012360 testing method Methods 0.000 claims abstract description 64
- 238000000034 method Methods 0.000 claims description 19
- 238000012217 deletion Methods 0.000 claims description 4
- 230000037430 deletion Effects 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 238000012544 monitoring process Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000010354 integration Effects 0.000 description 2
- 239000000523 sample Substances 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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/3688—Test management for test execution, e.g. scheduling of test suites
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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
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
本发明涉及一种日志测试方法及装置。所述一种日志测试方法,包括:在日志服务器中查找到用于存储目标日志文件的文件夹;在所述文件夹没有包括其他日志文件的情况下,根据待测试的目标日志用例,生成所述目标日志文件;将所述目标日志文件所记录的内容与所述目标日志用例的预设内容进行比较,并根据比较结果确定所述目标日志用例能否正常运行。本发明实施例的日志测试方法,能够提高日志用例的测试效率。
The invention relates to a log test method and device. The log testing method includes: finding a folder for storing target log files in the log server; and generating the target log file according to the target log use case to be tested when the folder does not include other log files. the target log file; compare the content recorded in the target log file with the preset content of the target log use case, and determine whether the target log use case can run normally according to the comparison result. The log test method in the embodiment of the present invention can improve the test efficiency of log use cases.
Description
技术领域technical field
本发明涉及计算机领域,尤其涉及一种日志测试方法及装置。The invention relates to the field of computers, in particular to a log test method and device.
背景技术Background technique
网络设备、系统及服务程序等,在运作时都会产生一个log事件记录。每一行日志都记载着日期、时间、使用者以及动作等相关操作的描述。因此,每个日志用例可能对应着不同的执行逻辑。Network equipment, systems and service programs, etc., will generate a log event record during operation. Each line of log records the description of related operations such as date, time, user, and action. Therefore, each log use case may correspond to different execution logic.
目前,对于日志用例的测试,通常采用人工测试的方法。由工作人员触发日志用例生成日志,并在日志生成之后,由工作人员去服务器上检查所生成的日志记录的内容是否正确。但人工测试日志用例比较耗时,不能保证测试的覆盖率,回归测试时间也比较长。At present, for the test of the log use case, the method of manual test is usually adopted. The log use case is triggered by the worker to generate the log, and after the log is generated, the worker goes to the server to check whether the content of the generated log record is correct. However, manual test log use cases are time-consuming, cannot guarantee the coverage of the test, and the regression test time is relatively long.
发明内容Contents of the invention
技术问题technical problem
有鉴于此,本发明要解决的技术问题是,如何提高日志用例的测试效率。In view of this, the technical problem to be solved by the present invention is how to improve the test efficiency of log use cases.
解决方案solution
为了解决上述技术问题,根据本发明的一实施例,提供了一种日志测试方法,包括:In order to solve the above technical problems, according to an embodiment of the present invention, a log test method is provided, including:
在日志服务器中查找到用于存储目标日志文件的文件夹;Find the folder used to store the target log file in the log server;
在所述文件夹没有包括其他日志文件的情况下,根据待测试的目标日志用例,生成所述目标日志文件;When the folder does not include other log files, generate the target log file according to the target log use case to be tested;
将所述目标日志文件所记录的内容与所述目标日志用例的预设内容进行比较,并根据比较结果确定所述目标日志用例能否正常运行。Comparing the content recorded in the target log file with the preset content of the target log use case, and determining whether the target log use case can run normally according to the comparison result.
对于上述方法,在一种可能的实现方式中,还包括:For the above method, in a possible implementation manner, it also includes:
在所述文件夹包括其他日志文件的情况下,删除所述文件夹所包括的全部的日志文件。When the folder includes other log files, all log files included in the folder are deleted.
对于上述方法,在一种可能的实现方式中,根据待测试的目标日志用例,生成所述目标日志文件,包括:For the above method, in a possible implementation, the target log file is generated according to the target log use case to be tested, including:
触发所述目标日志用例对应的请求链接,生成所述目标日志文件。Trigger the request link corresponding to the target log use case to generate the target log file.
对于上述方法,在一种可能的实现方式中,将所述目标日志文件所记录的内容与所述目标日志用例的预设内容进行比较,并根据比较结果确定所述目标日志用例能否正常运行,包括:For the above method, in a possible implementation, compare the content recorded in the target log file with the preset content of the target log use case, and determine whether the target log use case can run normally according to the comparison result ,include:
打开所述目标日志文件,并提取所述目标日志文件所记录的内容;Open the target log file, and extract the content recorded in the target log file;
将所述内容与所述预设内容进行比较,在所述内容与所述预设内容相同的情况下,所述目标日志用例能够正常运行;或,将所述内容与所述预设内容进行比较,在所述内容与所述预设内容不相同的情况下,所述目标日志用例不能够正常运行。Comparing the content with the preset content, if the content is the same as the preset content, the target log use case can run normally; or, comparing the content with the preset content In comparison, if the content is different from the preset content, the target log use case cannot run normally.
对于上述方法,在一种可能的实现方式中,还包括:For the above method, in a possible implementation manner, it also includes:
在发现待测试的系统的代码进行更新的情况下,从所述系统包括的各日志用例中获取至少一个待测试的目标日志用例。In the case that the code of the system to be tested is found to be updated, at least one target log use case to be tested is obtained from the log use cases included in the system.
为了解决上述技术问题,根据本发明的另一实施例,提供了一种日志测试装置,包括:In order to solve the above technical problems, according to another embodiment of the present invention, a log test device is provided, including:
查找模块,用于在日志服务器中查找到用于存储目标日志文件的文件夹;A search module, configured to find a folder for storing target log files in the log server;
生成模块,与所述查找模块连接,用于在所述文件夹没有包括其他日志文件的情况下,根据待测试的目标日志用例,生成所述目标日志文件;A generation module, connected to the search module, used to generate the target log file according to the target log use case to be tested when the folder does not include other log files;
比较模块,与所述生成模块连接,用于将所述目标日志文件所记录的内容与所述目标日志用例的预设内容进行比较,并根据比较结果确定所述目标日志用例能否正常运行。A comparison module, connected to the generation module, is used to compare the content recorded in the target log file with the preset content of the target log use case, and determine whether the target log use case can run normally according to the comparison result.
对于上述装置,在一种可能的实现方式中,还包括:For the above device, in a possible implementation manner, it also includes:
删除模块,用于在所述文件夹包括其他日志文件的情况下,删除所述文件夹所包括的全部的日志文件。A deletion module, configured to delete all log files included in the folder when the folder includes other log files.
对于上述装置,在一种可能的实现方式中,具体用于For the above device, in a possible implementation, it is specifically used for
触发所述目标日志用例对应的请求链接,生成所述目标日志文件。Trigger the request link corresponding to the target log use case to generate the target log file.
对于上述装置,在一种可能的实现方式中,具体用于For the above device, in a possible implementation, it is specifically used for
打开所述目标日志文件,并提取所述目标日志文件所记录的内容;Open the target log file, and extract the content recorded in the target log file;
将所述内容与所述预设内容进行比较,在所述内容与所述预设内容相同的情况下,所述目标日志用例能够正常运行;或,将所述内容与所述预设内容进行比较,在所述内容与所述预设内容不相同的情况下,所述目标日志用例不能够正常运行。Comparing the content with the preset content, if the content is the same as the preset content, the target log use case can run normally; or, comparing the content with the preset content In comparison, if the content is different from the preset content, the target log use case cannot run normally.
对于上述装置,在一种可能的实现方式中,还包括:For the above device, in a possible implementation manner, it also includes:
调取模块,用于在发现待测试的系统的代码进行更新的情况下,从所述系统包括的各日志用例中获取至少一个待测试的目标日志用例。The calling module is used to obtain at least one target log use case to be tested from the log use cases included in the system when the code of the system to be tested is found to be updated.
有益效果Beneficial effect
本发明实施例的日志测试方法,根据待测试的目标日志用例,生成目标日志文件,并将目标日志文件所记录的内容与目标日志用例的预设内容进行比较,以确定目标日志用例能否正常运行,能够提高日志用例的测试效率。The log test method of the embodiment of the present invention generates a target log file according to the target log use case to be tested, and compares the content recorded in the target log file with the preset content of the target log use case to determine whether the target log use case is normal Running can improve the test efficiency of log use cases.
进一步地,本发明实施例的日志测试方法,可以应用于对各种类型的日志用例进行测试,能够模拟大量的日志场景,增加了测试的覆盖率,保证了日志用例的质量。Furthermore, the log test method of the embodiment of the present invention can be applied to test various types of log use cases, can simulate a large number of log scenarios, increase test coverage, and ensure the quality of log use cases.
进一步地,在系统的代码进行更新的情况下,可以对系统包括的各日志用例进行测试,能够极大提高测试效率,缩短回归测试时间,消除代码更新对日志用例的影响。Furthermore, when the code of the system is updated, each log use case included in the system can be tested, which can greatly improve the test efficiency, shorten the regression test time, and eliminate the impact of code update on the log use case.
根据下面参考附图对示例性实施例的详细说明,本发明的其它特征及方面将变得清楚。Other features and aspects of the present invention will become apparent from the following detailed description of exemplary embodiments with reference to the accompanying drawings.
附图说明Description of drawings
包括在说明书中并且构成说明书的一部分的附图与说明书一起示出了本发明的示例性实施例、特征和方面,并且用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the invention and together with the description, serve to explain the principles of the invention.
图1示出根据本发明一实施例的日志测试方法的流程图;Fig. 1 shows the flowchart of the log test method according to an embodiment of the present invention;
图2示出根据本发明一实施例的日志测试方法的另一流程图;Fig. 2 shows another flowchart of the log test method according to an embodiment of the present invention;
图3示出根据本发明一实施例的日志测试方法的另一流程图;Fig. 3 shows another flowchart of the log testing method according to an embodiment of the present invention;
图4示出根据本发明一实施例的日志测试方法的另一流程图;Fig. 4 shows another flow chart of the log test method according to an embodiment of the present invention;
图5示出根据本发明一实施例的日志测试方法的另一流程图;Fig. 5 shows another flow chart of the log test method according to an embodiment of the present invention;
图6示出根据本发明一实施例的日志测试方法的另一流程图;Fig. 6 shows another flow chart of the log test method according to an embodiment of the present invention;
图7示出根据本发明另一实施例的日志测试装置的结构框图;Fig. 7 shows a structural block diagram of a log test device according to another embodiment of the present invention;
图8示出根据本发明另一实施例的日志测试装置的另一结构框图;FIG. 8 shows another structural block diagram of a log test device according to another embodiment of the present invention;
图9示出根据本发明另一实施例的日志测试装置的另一结构框图;Fig. 9 shows another structural block diagram of a log test device according to another embodiment of the present invention;
图10示出根据本发明另一实施例的日志测试设备的结构框图。Fig. 10 shows a structural block diagram of a log test device according to another embodiment of the present invention.
具体实施方式detailed description
以下将参考附图详细说明本发明的各种示例性实施例、特征和方面。附图中相同的附图标记表示功能相同或相似的元件。尽管在附图中示出了实施例的各种方面,但是除非特别指出,不必按比例绘制附图。Various exemplary embodiments, features, and aspects of the invention will be described in detail below with reference to the accompanying drawings. The same reference numbers in the figures indicate functionally identical or similar elements. While various aspects of the embodiments are shown in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
在这里专用的词“示例性”意为“用作例子、实施例或说明性”。这里作为“示例性”所说明的任何实施例不必解释为优于或好于其它实施例。The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration." Any embodiment described herein as "exemplary" is not necessarily to be construed as superior or better than other embodiments.
另外,为了更好的说明本发明,在下文的具体实施方式中给出了众多的具体细节。本领域技术人员应当理解,没有某些具体细节,本发明同样可以实施。在一些实例中,对于本领域技术人员熟知的方法、手段、元件和电路未作详细描述,以便于凸显本发明的主旨。In addition, in order to better illustrate the present invention, numerous specific details are given in the specific embodiments below. It will be understood by those skilled in the art that the present invention may be practiced without certain of the specific details. In some instances, methods, means, components and circuits well known to those skilled in the art have not been described in detail in order to highlight the gist of the present invention.
实施例1Example 1
图1示出根据本发明一实施例的日志测试方法的流程图。如图1所示,所述日志测试方法,主要包括:Fig. 1 shows a flowchart of a log test method according to an embodiment of the present invention. As shown in Figure 1, the log test method mainly includes:
步骤101、在日志服务器中查找到用于存储目标日志文件的文件夹;Step 101, find the folder for storing the target log file in the log server;
步骤102、在所述文件夹没有包括其他日志文件的情况下,根据待测试的目标日志用例,生成所述目标日志文件;Step 102, in the case that the folder does not include other log files, generate the target log file according to the target log use case to be tested;
步骤103、将所述目标日志文件所记录的内容与所述目标日志用例的预设内容进行比较,并根据比较结果确定所述目标日志用例能否正常运行。Step 103: Compare the content recorded in the target log file with the preset content of the target log use case, and determine whether the target log use case can run normally according to the comparison result.
具体地,网络设备、系统及服务程序等,在运作时会产生日志文件,例如系统日志、安全日志等,本实施例不限定日志文件的具体类型。每个日志文件可以记载着日期、时间、使用者及动作等相关操作的描述,这些内容对系统的运营维持具有重要作用。具体地,例如,系统日志可以记录系统中硬件、软件和系统问题的信息,同时还可以监视系统中发生的事件。安全日志可以记录每次开关机、运行程序、系统报错时的信息。Specifically, network devices, systems, and service programs, etc., will generate log files during operation, such as system logs, security logs, etc., and this embodiment does not limit the specific types of log files. Each log file can record the description of related operations such as date, time, user and action, and these contents play an important role in the operation and maintenance of the system. Specifically, for example, system logs can record information about hardware, software, and system problems in the system, and can also monitor events that occur in the system. The security log can record information every time the machine is turned on and off, the program is run, and the system reports an error.
以Windows操作系统为例,其设计有各种类型的日志,例如,可以包括应用程序日志,安全日志、系统日志、Scheduler服务日志、FTP(File Transfer Protocol,文件传输协议)日志、WWW(World Wide Web,万维网)日志、DNS(Domain Name System,域名系统)服务器日志等。使用者在系统上进行一些操作时,这些日志文件通常会记录下操作的相关内容。例如,使用者对系统进行了IPC(Inter-Process Communication,进程间通信)探测,系统就会在安全日志里迅速地记下探测者探测时所用的IP地址、时间、用户名等内容。Taking the Windows operating system as an example, it is designed with various types of logs, for example, it can include application logs, security logs, system logs, Scheduler service logs, FTP (File Transfer Protocol, file transfer protocol) logs, WWW (World Wide Web, World Wide Web) logs, DNS (Domain Name System, Domain Name System) server logs, etc. When the user performs some operations on the system, these log files usually record the relevant content of the operation. For example, if a user performs an IPC (Inter-Process Communication) probe on the system, the system will quickly record the IP address, time, user name, etc. used by the prober in the security log.
本发明实施例的日志服务器可以包括能够存储日志文件的各种类型的服务器,在此不做限定。进一步地,本发明实施例不限定服务器的数目,可以是单台服务器,也可以是集群服务器。其中,日志文件的类型可以通过用户的行为或系统的操作进行划分。例如,在视频播过程中,刚开始播放视频广告的时候会记录开始监播日志,用户点击广告会有广告点击日志,广告播放完会有监播结束日志。The log server in this embodiment of the present invention may include various types of servers capable of storing log files, which is not limited here. Further, the embodiment of the present invention does not limit the number of servers, which may be a single server or a cluster server. Wherein, the types of log files can be classified according to user behavior or system operation. For example, in the process of video broadcasting, when the video ad is first played, the start monitoring log will be recorded, the user clicks on the ad, there will be an ad click log, and the end monitoring log will be recorded after the ad is played.
日志用例可以包括各种类型的能够生成日志的测试用例,在此不做限定。在测试用例中,把不同的参数组成链接,访问链接可以生成日志,不同的链接生成的日志所述包括的内容不同。不同日志用例产生的日志文件存储在日志服务器内的不同的文件夹中。在一个文件夹中可以获取预设时间段例如1小时内的日志文件,在此不做限定。本实施例的日志测试方法可以将选定的日志用例或系统所包括的全部日志用例进行测试,以确定各日志用例能否正常运行,能够提高日志用例的测试效率。The log use cases may include various types of test cases capable of generating logs, which are not limited here. In the test case, different parameters are combined into links, and logs can be generated by accessing the links. The content of the logs generated by different links is different. Log files generated by different log cases are stored in different folders in the log server. Log files within a preset time period, for example, within 1 hour, can be obtained in a folder, which is not limited here. The log testing method of this embodiment can test the selected log use cases or all the log use cases included in the system to determine whether each log use case can run normally, which can improve the test efficiency of the log use cases.
在一种可能的实现方式中,如图2所示,所述日志测试方法,还包括:In a possible implementation, as shown in Figure 2, the log test method also includes:
步骤102a、在所述文件夹包括其他日志文件的情况下,删除所述文件夹所包括的全部的日志文件。Step 102a, when the folder includes other log files, delete all the log files included in the folder.
本发明实施例的日志测试方法,需要根据待测试的目标日志用例,生成目标日志文件,并将目标日志文件所记录的内容与目标日志用例的预设内容进行比较。在这个过程中,为了避免由于无法区分文件夹中已存在的其他日志文件和目标日志文件而导致测试失败的情况,需要在文件夹没有包括其他日志文件的情况下,生成目标日志文件。The log testing method of the embodiment of the present invention needs to generate a target log file according to the target log use case to be tested, and compare the content recorded in the target log file with the preset content of the target log use case. In this process, in order to avoid the failure of the test due to the inability to distinguish other log files that already exist in the folder from the target log file, it is necessary to generate the target log file when the folder does not contain other log files.
在具体实现过程中,本发明实施例的日志测试方法可以包括判断步骤。例如,先判断文件夹是否包括其他日志文件,在没有包括其他日志文件的情况下,直接生成目标日志文件;在包括其他日志文件的情况下,删除文件夹所包括的全部的日志文件之后,再生成目标日志文件。本发明实施例的日志测试方法也可以不包括判断步骤。例如,在每次生成目标日志文件之前,先执行删除步骤,删除文件夹所包括的全部的日志文件。In a specific implementation process, the log test method in the embodiment of the present invention may include a judging step. For example, first determine whether the folder includes other log files, and if no other log files are included, directly generate the target log file; if other log files are included, delete all the log files included in the folder, and then regenerate into the target log file. The log test method in the embodiment of the present invention may also not include a judging step. For example, before each target log file is generated, a deletion step is performed to delete all log files included in the folder.
需要说明的是,本领域技术人员应当理解,在删除文件夹所包括的全部的日志文件之前,可以通过例如拷贝日志文件、将日志文件所记录的内容导出到数据库等方式实现对日志文件的存储,从而保证日志文件记录的内容不会丢失,并在需要时方便查询。It should be noted that those skilled in the art should understand that before deleting all the log files included in the folder, the storage of the log files can be realized by, for example, copying the log files, exporting the content recorded in the log files to the database, etc. , so as to ensure that the content recorded in the log file will not be lost, and it is convenient to query when needed.
在一种可能的实现方式中,如图3所示,在所述文件夹没有包括其他日志文件的情况下,根据待测试的目标日志用例,生成所述目标日志文件(步骤102),包括:In a possible implementation, as shown in Figure 3, in the case that the folder does not include other log files, according to the target log use case to be tested, generate the target log file (step 102), including:
步骤301、在所述文件夹没有包括其他日志文件的情况下,触发所述目标日志用例对应的请求链接,生成所述目标日志文件。Step 301 , if the folder does not contain other log files, trigger the request link corresponding to the target log use case to generate the target log file.
网络设备、系统及服务程序等,在运作时会产生日志文件。在日志用例中,把不同的参数组成链接,访问链接可以生成日志,不同的链接生成的日志所述包括的内容不同。进一步地,访问待测试的目标日志用例对应的链接,可以生成目标日志文件。例如,目标日志用例可以是FTP日志用例,通过触发系统FTP探测,生成的FTP日志文件(目标日志文件)。其中,FTP日志文件所记录的内容可以包括例如IP地址、时间、探测所用的用户名等。Network equipment, systems and service programs, etc. will generate log files during operation. In the log use case, different parameters are combined into links, and logs can be generated by accessing the links. The content of the logs generated by different links is different. Further, by accessing the link corresponding to the target log case to be tested, the target log file can be generated. For example, the target log use case may be an FTP log use case, and an FTP log file (target log file) is generated by triggering a system FTP probe. Wherein, the content recorded in the FTP log file may include, for example, the IP address, time, user name used for detection, and the like.
对生成的目标日志文件可以进行一些操作,例如远程查看、下载、删除等,在此不做限定。以查看Web管理日志为例,点击“Web管理日志”链接,进入日志查看页面,在日志文件列表框中选中要查看的日志文件,然后点击右侧的“查看日志”按钮,可以浏览到Web管理日志记录中的详细内容。Some operations can be performed on the generated target log files, such as remote viewing, downloading, deleting, etc., which are not limited here. Take viewing the web management log as an example, click the "Web management log" link to enter the log viewing page, select the log file to be viewed in the log file list box, and then click the "View log" button on the right to browse to the web management log. Verbose content in log records.
在一种可能的实现方式中,如图4所示,将所述目标日志文件所记录的内容与所述目标日志用例的预设内容进行比较,并根据比较结果确定所述目标日志用例能否正常运行(步骤103),包括:In a possible implementation, as shown in FIG. 4 , compare the content recorded in the target log file with the preset content of the target log use case, and determine whether the target log use case can Normal operation (step 103), including:
步骤401、打开所述目标日志文件,并提取所述目标日志文件所记录的内容;Step 401, open the target log file, and extract the content recorded in the target log file;
步骤402、将所述内容与所述预设内容进行比较,在所述内容与所述预设内容相同的情况下,所述目标日志用例能够正常运;或,Step 402, comparing the content with the preset content, and if the content is the same as the preset content, the target log use case can run normally; or,
步骤403、将所述内容与所述预设内容进行比较,在所述内容与所述预设内容不相同的情况下,所述目标日志用例不能够正常运行。Step 403 , comparing the content with the preset content, and if the content is different from the preset content, the target log use case cannot run normally.
本发明实施例的步骤401至步骤403中,将目标日志文件记录的内容和预设内容进行比较的过程,可以直接在日志服务器中进行,也可以将目标日志文件下载后在本地硬盘中进行,在此不做限定。具体地,下载目标日志文件的过程为:选中目标日志文件,然后点击“下载日志”按钮,在弹出的“文件下载”对话框中点击“保存”按钮并指定存放路径。In step 401 to step 403 of the embodiment of the present invention, the process of comparing the content recorded in the target log file with the preset content can be performed directly in the log server, or can be performed in the local hard disk after the target log file is downloaded. It is not limited here. Specifically, the process of downloading the target log file is: select the target log file, then click the "Download Log" button, click the "Save" button in the pop-up "File Download" dialog box and specify the storage path.
需要说明的是,目标日志用例可以是预先设计好的,因此生成的目标日志文件所记录的内容通常应当遵循目标日志用例逻辑。进一步地,将目标日志文件记录的内容和预设内容进行比较,在记录的内容与预设内容相同的情况下,说明生成的目标日志文件所记录的内容遵循目标日志用例逻辑,目标日志用例可以正常运行。在记录的内容与预设内容不相同的情况下,说明生成的目标日志文件所记录的内容没有遵循目标日志用例逻辑,目标日志用例不能够正常运行。It should be noted that the target log use case may be pre-designed, so the content recorded in the generated target log file should generally follow the logic of the target log use case. Further, compare the content recorded in the target log file with the preset content, and if the recorded content is the same as the preset content, it means that the content recorded in the generated target log file follows the logic of the target log use case, and the target log use case can normal operation. If the recorded content is different from the preset content, it means that the content recorded in the generated target log file does not follow the logic of the target log use case, and the target log use case cannot run normally.
作为一个示例,目标日志用例为FTP日志用例。在一次测试中,通过IP地址为192.168.0.257,用户名为C904的系统触发FTP日志用例,从而生成FTP日志文件(目标日志文件)。打开FTP日志文件,具体地,其所记录的内容包括例如Time(时间):14:56,IP地址:192.168.0.254,Name(用户名):C901。通过比较,发现FTP日志文件所记录的内容与预设内容不相同,说明该FTP日志用例不能够正常运行。As an example, the target logging use case is the FTP logging use case. In a test, the FTP log case is triggered by the system with the IP address 192.168.0.257 and the user name is C904, thereby generating an FTP log file (target log file). Open the FTP log file, specifically, the recorded content includes, for example, Time (time): 14:56, IP address: 192.168.0.254, Name (user name): C901. Through comparison, it is found that the content recorded in the FTP log file is different from the preset content, indicating that the FTP log use case cannot run normally.
在一种可能的实现方式中,如图5所示,在发现待测试的系统的代码进行更新的情况下,从所述系统包括的各日志用例中获取至少一个待测试的目标日志用例。In a possible implementation manner, as shown in FIG. 5 , when the code of the system to be tested is found to be updated, at least one target log use case to be tested is obtained from the log use cases included in the system.
具体地,可以将本发明实施例的日志测试方法包装成测试模块。进一步地,可以通过例如Robot Framework框架编写测试平台,调用测试模块对待测试的目标日志用例进行测试。其中,Robot Framework是一款Python编写的功能自动化测试框架,其具备良好的可扩展性,支持关键字驱动,可以同时测试多种类型的客户端或者接口,可以进行分布式测试执行。Specifically, the log test method in the embodiment of the present invention can be packaged into a test module. Further, the test platform can be written by eg Robot Framework, and the test module can be called to test the target log case to be tested. Among them, Robot Framework is a functional automation testing framework written in Python. It has good scalability, supports keyword drive, can test multiple types of clients or interfaces at the same time, and can perform distributed test execution.
此外,还可以通过Jenkins监控持续集成的情况。在发现待测试的系统的代码进行更新的情况下,选择至少一个待测试的目标日志用例,并进行自动化测试。在系统的修改比较频繁的情况下,可以节省大量的测试时间。其中,Jenkins是基于Java开发的一种持续集成工具,用于监控持续重复的工作,功能可以包括持续的软件版本发布/测试项目,以及监控外部调用执行的工作。In addition, continuous integration can also be monitored through Jenkins. When the code of the system to be tested is found to be updated, at least one target log use case to be tested is selected and automated testing is performed. In the case of frequent system modification, it can save a lot of testing time. Among them, Jenkins is a continuous integration tool developed based on Java, which is used to monitor continuous and repeated work. Its functions can include continuous software version release/test projects, and monitoring work performed by external calls.
作为本发明的一个示例,如图6所示,日志测试方法的具体流程如下:As an example of the present invention, as shown in Figure 6, the specific flow of the log test method is as follows:
S601、远程登录日志服务器。例如,通过手机、电脑等终端设备远程登录日志服务器。在登录成功的情况下,可以进行日志服务器允许的操作,例如,删除其他日志文件、读取目标日志文件,下载目标日志文件等。其中,日志服务器能够存放目标日志用例生成的目标日志文件。S601. Log in to the log server remotely. For example, remotely log in to the log server through terminal devices such as mobile phones and computers. When the login is successful, you can perform operations allowed by the log server, such as deleting other log files, reading the target log file, and downloading the target log file. Wherein, the log server can store the target log files generated by the target log use case.
S602、判断日志服务器是否登录成功。具体地,在登录日志服务器成功的情况下,继续执行步骤S603;在登录日志服务器失败的情况下,测试失败,结束测试。S602. Determine whether the login to the log server is successful. Specifically, if the login to the log server is successful, continue to perform step S603; if the login to the log server fails, the test fails, and the test ends.
其中,日志文件通常存储在Linux服务器,可以通过SSH(Secure Shell,安全外壳协议)远程登录Linux服务器,登录成功则会返回登录成功的状态码,登录失败也会返回登录失败状态码和失败原因。Wherein, the log file is usually stored in the Linux server, and the Linux server can be remotely logged in through SSH (Secure Shell, Secure Shell Protocol). If the login is successful, the login success status code will be returned, and if the login fails, the login failure status code and failure reason will also be returned.
S603、删除文件夹下所有的其他日志文件。其中,本发明实施例的其他日志文件是目标日志用例在测试之前生成的日志文件,删除这些文件使得在执行步骤S604之后,文件夹中仅包括生成的目标日志文件,有利于目标日志文件的提取。S603. Delete all other log files under the folder. Among them, other log files in the embodiment of the present invention are log files generated by the target log use case before the test, and these files are deleted so that after step S604 is performed, only the generated target log files are included in the folder, which is beneficial to the extraction of the target log files .
S604、访问能够生成目标日志文件的请求链接。在执行步骤S604之后,系统在目标日志用例对应的日志文件内记录相关的内容,生成目标日志文件。S604. Access the request link capable of generating the target log file. After step S604 is executed, the system records relevant content in the log file corresponding to the target log use case, and generates the target log file.
S605、检查是否生成目标日志文件。具体地,在生成目标日志文件的情况下,继续执行步骤S606;在没有生成目标日志文件的情况下,测试失败,结束测试。S605. Check whether a target log file is generated. Specifically, if the target log file is generated, continue to execute step S606; if the target log file is not generated, the test fails and the test ends.
S606、提取目标日志文件内容到字典中。具体地,把每一列的日志内容存储到对应的参数字典中。本发明实施例的字典可以是一种存储方式,例如,以键值(Key-Value)的方式存储。其中,Key可以是目标日志用例的名称,Value可以包括目标日志文件所记录的内容。通过Key可以检索到对应的Value。S606. Extract the content of the target log file into a dictionary. Specifically, store the log content of each column into the corresponding parameter dictionary. The dictionary in this embodiment of the present invention may be stored in a storage manner, for example, stored in a key-value (Key-Value) manner. Wherein, the Key may be the name of the target log case, and the Value may include the content recorded in the target log file. The corresponding Value can be retrieved through the Key.
S607、判断目标日志文件的内容与预设内容是否相符。具体地,将内容与预设内容进行比较,在内容与预设内容相同的情况下,目标日志用例能够正常运行,测试成功,结束测试。在内容与预设内容不相同的情况下,目标日志用例不能够正常运行,测试失败,结束测试。S607. Determine whether the content of the target log file matches the preset content. Specifically, compare the content with the preset content, and if the content is the same as the preset content, the target log use case can run normally, the test is successful, and the test ends. If the content is different from the preset content, the target log use case cannot run normally, the test fails, and the test ends.
本发明实施例的日志测试方法,根据待测试的目标日志用例,生成目标日志文件,并将目标日志文件所记录的内容与目标日志用例的预设内容进行比较,以确定目标日志用例能否正常运行,能够提高日志用例的测试效率。The log test method of the embodiment of the present invention generates a target log file according to the target log use case to be tested, and compares the content recorded in the target log file with the preset content of the target log use case to determine whether the target log use case is normal Running can improve the test efficiency of log use cases.
进一步地,本发明实施例的日志测试方法,可以应用于对各种类型的日志用例进行测试,能够模拟大量的日志场景,增加了测试的覆盖率,保证了日志用例的质量。Furthermore, the log test method of the embodiment of the present invention can be applied to test various types of log use cases, can simulate a large number of log scenarios, increase test coverage, and ensure the quality of log use cases.
进一步地,在系统的代码进行更新的情况下,可以对系统包括的各日志用例进行测试,能够极大提高测试效率,缩短回归测试时间,消除代码更新对日志用例的影响。Furthermore, when the code of the system is updated, each log use case included in the system can be tested, which can greatly improve the test efficiency, shorten the regression test time, and eliminate the impact of code update on the log use case.
实施例2Example 2
图7示出根据本发明另一实施例的日志测试装置的结构框图。如图7所示,所述日志测试装置,主要包括:查找模块11,用于在日志服务器中查找到用于存储目标日志文件的文件夹。生成模块13,与所述查找模块11连接,用于在所述文件夹没有包括其他日志文件的情况下,根据待测试的目标日志用例,生成所述目标日志文件。比较模块15,与所述生成模块13连接,用于将所述目标日志文件所记录的内容与所述目标日志用例的预设内容进行比较,并根据比较结果确定所述目标日志用例能否正常运行。具体原理和示例可以参见实施例1以及图1的相关描述。Fig. 7 shows a structural block diagram of a log test device according to another embodiment of the present invention. As shown in FIG. 7 , the log test device mainly includes: a search module 11, configured to find a folder for storing target log files in the log server. The generation module 13 is connected with the search module 11 and is configured to generate the target log file according to the target log use case to be tested when the folder does not include other log files. Comparison module 15, connected with the generation module 13, is used to compare the content recorded in the target log file with the preset content of the target log use case, and determine whether the target log use case is normal according to the comparison result run. For specific principles and examples, refer to Embodiment 1 and related descriptions in FIG. 1 .
在一种可能的实现方式中,如图8所示,还包括:删除模块17,用于在所述文件夹包括其他日志文件的情况下,删除所述文件夹所包括的全部的日志文件。具体原理和示例可以参见实施例1以及图2的相关描述。In a possible implementation manner, as shown in FIG. 8 , further includes: a deletion module 17 configured to delete all log files included in the folder when the folder includes other log files. For specific principles and examples, reference may be made to Embodiment 1 and related descriptions in FIG. 2 .
在一种可能的实现方式中,所述生成模块13,具体用于触发所述目标日志用例对应的请求链接,生成所述目标日志文件。具体原理和示例可以参见实施例1以及图3的相关描述。In a possible implementation manner, the generating module 13 is specifically configured to trigger a request link corresponding to the target log use case to generate the target log file. For specific principles and examples, reference may be made to Embodiment 1 and related descriptions in FIG. 3 .
在一种可能的实现方式中,所述比较模块15,具体用于打开所述目标日志文件,并提取所述目标日志文件所记录的内容;将所述内容与所述预设内容进行比较,在所述内容与所述预设内容相同的情况下,所述目标日志用例能够正常运行;或,将所述内容与所述预设内容进行比较,在所述内容与所述预设内容不相同的情况下,所述目标日志用例不能够正常运行。具体原理和示例可以参见实施例1以及图4的相关描述。In a possible implementation manner, the comparison module 15 is specifically configured to open the target log file, and extract the content recorded in the target log file; compare the content with the preset content, If the content is the same as the preset content, the target log use case can run normally; or, compare the content with the preset content, and if the content is different from the preset content In the same situation, the target log use case cannot run normally. For specific principles and examples, reference may be made to Embodiment 1 and related descriptions in FIG. 4 .
在一种可能的实现方式中,如图9所示,还包括:调取模块10,用于在发现待测试的系统的代码进行更新的情况下,从所述系统包括的各日志用例中获取至少一个待测试的目标日志用例。具体原理和示例可以参见实施例1以及图5的相关描述。In a possible implementation, as shown in FIG. 9 , it also includes: a calling module 10, configured to obtain from each log case included in the system when it is found that the code of the system to be tested is updated. At least one target log case to be tested. For specific principles and examples, reference may be made to Embodiment 1 and related descriptions in FIG. 5 .
本发明实施例的日志测试装置,根据待测试的目标日志用例,生成目标日志文件,并将目标日志文件所记录的内容与目标日志用例的预设内容进行比较,以确定目标日志用例能否正常运行,能够提高日志用例的测试效率。The log test device of the embodiment of the present invention generates a target log file according to the target log use case to be tested, and compares the content recorded in the target log file with the preset content of the target log use case to determine whether the target log use case is normal Running can improve the test efficiency of log use cases.
进一步地,本发明实施例的日志测试装置,可以应用于对各种类型的日志用例进行测试,能够模拟大量的日志场景,增加了测试的覆盖率,保证了日志用例的质量。Furthermore, the log test device in the embodiment of the present invention can be applied to test various types of log use cases, can simulate a large number of log scenarios, increase test coverage, and ensure the quality of log use cases.
进一步地,在系统的代码进行更新的情况下,可以对系统包括的各日志用例进行测试,能够极大提高测试效率,缩短回归测试时间,消除代码更新对日志用例的影响。Furthermore, when the code of the system is updated, each log use case included in the system can be tested, which can greatly improve the test efficiency, shorten the regression test time, and eliminate the impact of code update on the log use case.
实施例3Example 3
图10示出根据本发明另一实施例的日志测试设备的结构框图。所述日志测试设备1100可以是具备计算能力的主机服务器、个人计算机PC、或者可携带的便携式计算机或终端等。本发明具体实施例并不对计算节点的具体实现做限定。Fig. 10 shows a structural block diagram of a log test device according to another embodiment of the present invention. The log test device 1100 may be a host server with computing capabilities, a personal computer PC, or a portable portable computer or terminal. The specific embodiments of the present invention do not limit the specific implementation of the computing nodes.
所述日志测试设备1100包括处理器(processor)1110、通信接口(CommunicationsInterface)1120、存储器(memory)1130和总线1140。其中,处理器1110、通信接口1120、以及存储器1130通过总线1140完成相互间的通信。The log testing device 1100 includes a processor (processor) 1110 , a communication interface (Communications Interface) 1120 , a memory (memory) 1130 and a bus 1140 . Wherein, the processor 1110 , the communication interface 1120 , and the memory 1130 communicate with each other through the bus 1140 .
通信接口1120用于与网络设备通信,其中网络设备包括例如虚拟机管理中心、共享存储等。The communication interface 1120 is used for communicating with network devices, where the network devices include, for example, a virtual machine management center, shared storage, and the like.
处理器1110用于执行程序。处理器1110可能是一个中央处理器CPU,或者是专用集成电路ASIC(Application Specific Integrated Circuit),或者是被配置成实施本发明实施例的一个或多个集成电路。The processor 1110 is used to execute programs. The processor 1110 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention.
存储器1130用于存放文件。存储器1130可能包括高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。存储器1130也可以是存储器阵列。存储器1130还可能被分块,并且所述块可按一定的规则组合成虚拟卷。The storage 1130 is used for storing files. The memory 1130 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory. Memory 1130 may also be a memory array. The storage 1130 may also be divided into blocks, and the blocks may be combined into virtual volumes according to certain rules.
在一种可能的实施方式中,上述程序可为包括计算机操作指令的程序代码。该程序具体可用于:实现实施例1中的各步骤。In a possible implementation manner, the above program may be a program code including computer operation instructions. This program can be specifically used to: realize each step in embodiment 1.
本领域普通技术人员可以意识到,本文所描述的实施例中的各示例性单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件形式来实现,取决于技术方案的特定应用和设计约束条件。专业技术人员可以针对特定的应用选择不同的方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that each exemplary unit and algorithm steps in the embodiments described herein can be realized by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in the form of hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may choose different methods to implement the described functions for specific applications, but this implementation should not be regarded as exceeding the scope of the present invention.
如果以计算机软件的形式来实现所述功能并作为独立的产品销售或使用时,则在一定程度上可认为本发明的技术方案的全部或部分(例如对现有技术做出贡献的部分)是以计算机软件产品的形式体现的。该计算机软件产品通常存储在计算机可读取的非易失性存储介质中,包括若干指令用以使得计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各实施例方法的全部或部分步骤。而前述的存储介质包括U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are implemented in the form of computer software and sold or used as an independent product, it can be considered that all or part of the technical solution of the present invention (such as the part that contributes to the prior art) is In the form of computer software products. The computer software product is usually stored in a computer-readable non-volatile storage medium, and includes several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all the methods of the various embodiments of the present invention. or partial steps. The aforementioned storage medium includes various media capable of storing program codes such as U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610649062.4A CN106294151B (en) | 2016-08-09 | 2016-08-09 | Log testing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610649062.4A CN106294151B (en) | 2016-08-09 | 2016-08-09 | Log testing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106294151A true CN106294151A (en) | 2017-01-04 |
CN106294151B CN106294151B (en) | 2019-02-12 |
Family
ID=57667187
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610649062.4A Expired - Fee Related CN106294151B (en) | 2016-08-09 | 2016-08-09 | Log testing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106294151B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106803975A (en) * | 2017-03-31 | 2017-06-06 | 微梦创科网络科技(中国)有限公司 | Advertising testing method and apparatus, test platform |
CN108519948A (en) * | 2018-04-04 | 2018-09-11 | 上海携程商务有限公司 | The automatic interface testing method and system of daily record driving |
CN108734013A (en) * | 2018-05-23 | 2018-11-02 | 郑州云海信息技术有限公司 | A method of processing WEB Request Log files |
CN108897677A (en) * | 2018-06-12 | 2018-11-27 | 广州视源电子科技股份有限公司 | Log construction method and system |
CN109783384A (en) * | 2019-01-10 | 2019-05-21 | 未来电视有限公司 | Log use-case test method, log use-case test device and electronic equipment |
CN110580214A (en) * | 2018-06-07 | 2019-12-17 | 百度在线网络技术(北京)有限公司 | application program test evaluation method and device, storage medium and terminal equipment |
CN111209181A (en) * | 2018-11-21 | 2020-05-29 | 北京京东尚科信息技术有限公司 | Regression testing method, system, apparatus, and computer storage medium |
CN111309585A (en) * | 2018-12-12 | 2020-06-19 | 北京京东尚科信息技术有限公司 | Log data testing method, device and system, electronic equipment and storage medium |
CN112346952A (en) * | 2019-08-06 | 2021-02-09 | 阿里巴巴集团控股有限公司 | Method, equipment and electronic equipment for regression testing of test cases |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1522446A (en) * | 2000-05-10 | 2004-08-18 | Alarm management system | |
US20090204851A1 (en) * | 2006-07-05 | 2009-08-13 | Telefonaktiebolaget L M Ericssn (Publ) | Method and System for Software Testing |
CN103313289A (en) * | 2012-03-09 | 2013-09-18 | 腾讯科技(深圳)有限公司 | Wap system automatic test system and method |
CN103634592A (en) * | 2013-12-09 | 2014-03-12 | 乐视致新电子科技(天津)有限公司 | Automatic test method and system for intelligent televisions |
-
2016
- 2016-08-09 CN CN201610649062.4A patent/CN106294151B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1522446A (en) * | 2000-05-10 | 2004-08-18 | Alarm management system | |
US20090204851A1 (en) * | 2006-07-05 | 2009-08-13 | Telefonaktiebolaget L M Ericssn (Publ) | Method and System for Software Testing |
CN103313289A (en) * | 2012-03-09 | 2013-09-18 | 腾讯科技(深圳)有限公司 | Wap system automatic test system and method |
CN103634592A (en) * | 2013-12-09 | 2014-03-12 | 乐视致新电子科技(天津)有限公司 | Automatic test method and system for intelligent televisions |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106803975A (en) * | 2017-03-31 | 2017-06-06 | 微梦创科网络科技(中国)有限公司 | Advertising testing method and apparatus, test platform |
CN106803975B (en) * | 2017-03-31 | 2019-09-10 | 微梦创科网络科技(中国)有限公司 | Advertising testing method and apparatus, test platform |
CN108519948A (en) * | 2018-04-04 | 2018-09-11 | 上海携程商务有限公司 | The automatic interface testing method and system of daily record driving |
CN108734013A (en) * | 2018-05-23 | 2018-11-02 | 郑州云海信息技术有限公司 | A method of processing WEB Request Log files |
CN110580214A (en) * | 2018-06-07 | 2019-12-17 | 百度在线网络技术(北京)有限公司 | application program test evaluation method and device, storage medium and terminal equipment |
CN110580214B (en) * | 2018-06-07 | 2023-05-05 | 百度在线网络技术(北京)有限公司 | Evaluation method and device for application program test, storage medium and terminal equipment |
CN108897677A (en) * | 2018-06-12 | 2018-11-27 | 广州视源电子科技股份有限公司 | Log construction method and system |
CN108897677B (en) * | 2018-06-12 | 2022-04-15 | 广州视源电子科技股份有限公司 | Log construction method and system |
CN111209181A (en) * | 2018-11-21 | 2020-05-29 | 北京京东尚科信息技术有限公司 | Regression testing method, system, apparatus, and computer storage medium |
CN111309585A (en) * | 2018-12-12 | 2020-06-19 | 北京京东尚科信息技术有限公司 | Log data testing method, device and system, electronic equipment and storage medium |
CN111309585B (en) * | 2018-12-12 | 2025-07-15 | 北京京东尚科信息技术有限公司 | Log data testing method and device, system, electronic device, and storage medium |
CN109783384A (en) * | 2019-01-10 | 2019-05-21 | 未来电视有限公司 | Log use-case test method, log use-case test device and electronic equipment |
CN112346952A (en) * | 2019-08-06 | 2021-02-09 | 阿里巴巴集团控股有限公司 | Method, equipment and electronic equipment for regression testing of test cases |
Also Published As
Publication number | Publication date |
---|---|
CN106294151B (en) | 2019-02-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106294151A (en) | Daily record method of testing and device | |
US11354414B2 (en) | Method to scan a forensic image of a computer system with multiple malicious code detection engines simultaneously from a master control point | |
US11113156B2 (en) | Automated ransomware identification and recovery | |
US10802951B2 (en) | Systems and methods of integrated testing and deployment in a continuous integration continuous deployment (CICD) system | |
CN106528224B (en) | Content updating method, server and system for Docker container | |
CN113489713B (en) | Network attack detection method, device, equipment and storage medium | |
CN110069403A (en) | Position method and device, the storage medium, electronic device of crash event | |
CN110245125B (en) | Data migration method, device, computer equipment and storage medium | |
US20200073781A1 (en) | Systems and methods of injecting fault tree analysis data into distributed tracing visualizations | |
CN112818307A (en) | User operation processing method, system, device and computer readable storage medium | |
CH716656A2 (en) | System and method of generating and archiving metadata specific to computer forensics. | |
JP2016099857A (en) | Fraudulent program handling system and fraudulent program handling method | |
CN110909349A (en) | Detection method and system for rebound shell in docker container | |
US12158835B1 (en) | Computing systems and methods generating and validating log records | |
CN104539449A (en) | Handling method and related device for fault information | |
US7506212B2 (en) | Distributed exception handling testing | |
CN116414722B (en) | Fuzz testing processing method, device, fuzz testing system and storage medium | |
CN117591490A (en) | Data processing methods, devices, equipment and storage media for audit logs | |
CN116980186A (en) | Abnormality determination method and device, electronic equipment and storage medium | |
JP2014109975A (en) | Performance analysis device, performance analysis method and performance analysis program | |
CN114978963A (en) | Network system monitoring analysis method and device, electronic equipment and storage medium | |
CN115686960B (en) | Test method, test device, electronic equipment and storage medium | |
WO2020065778A1 (en) | Information processing device, control method, and program | |
CN118646595B (en) | Method, equipment and storage medium for repairing server to avoid secret mutual trust | |
KR102826645B1 (en) | Security check method and electronic apparatus thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200521 Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province Patentee after: Alibaba (China) Co.,Ltd. Address before: 518030, Sannuo building, 19L02, 3012 Binhai Avenue, Shenzhen, Guangdong, Nanshan District Patentee before: HEYI INTELLIGENT TECHNOLOGY (SHENZHEN) Co.,Ltd. |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190212 Termination date: 20200809 |