Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Log output method and device, electronic equipment and medium

An output method and log technology, applied in the fields of electrical digital data processing, instrumentation, calculation, etc., can solve the problems of large use case result analysis and troubleshooting, cost, and log mixed together, so as to avoid interference, reduce the cost of result analysis, and improve the The effect of automated test run efficiency

Pending Publication Date: 2020-06-05
ALIPAY LABS SINGAPORE PTE LTD
View PDF6 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, multi-threaded concurrent execution of test cases will cause the logs of different test cases to be mixed together, which will bring great costs to the analysis and troubleshooting of test case results

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Log output method and device, electronic equipment and medium
  • Log output method and device, electronic equipment and medium
  • Log output method and device, electronic equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] In order to better understand the technical solutions provided by the embodiments of this specification, the technical solutions of the embodiments of this specification will be described in detail below through the drawings and specific examples. The detailed description of the technical solutions of the embodiments is not a limitation to the technical solutions of this specification. In the case of no conflict, the embodiments of this specification and the technical features in the embodiments can be combined with each other. In the embodiments of this specification, the term "plurality" means "more than two", that is, it includes two or more than two cases.

[0016] In order to facilitate the understanding of the technical solutions of the embodiments of the present specification, the relevant terms involved in the embodiments of the present specification are explained below.

[0017] Automated testing generally refers to the automation of software testing. Software ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a log output method and device, electronic equipment and a medium. The method comprises the steps: over multiple threads, concurrently executing test cases ina pre-configured case set; for each thread, monitoring a starting event and an ending event of the executed test case; if a starting event of the test case is monitored, starting the test case; and creating an independent cache space for the test case, so as to record the log of the test case in the execution process into the cache space: if an end event of the test case is monitored, ending the log cache of the test case, and further outputting the log cached in the cache space of each test case in the case set.

Description

technical field [0001] The embodiments of this specification relate to the technical field of software testing, and in particular to a log output method, device, electronic equipment and media. Background technique [0002] With the rapid development and iteration of Internet services, the test cases required for automated testing are also increasing. When the scale of test cases reaches a certain level, such as more than 10,000, the cost of regression, including running time and result analysis costs, will become very high. Therefore, in order to improve the execution efficiency of automated testing, a thread-level parallel solution is usually adopted. In the process of automated testing, a large number of logs will be generated as the basis for recording the testing process and analyzing the test results. However, the concurrent execution of test cases by multiple threads will cause the logs of different test cases to be mixed together, which will bring great costs to th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3692G06F11/3688
Inventor 董燕云
Owner ALIPAY LABS SINGAPORE PTE LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products