Method and device for debugging performance test scripts

A technology of test scripts and debugging methods, which is applied in the field of testing, can solve the problems of complex process and high cost of debugging methods, and achieve the effect of reducing debugging time and continuous and uninterrupted automatic debugging

Inactive Publication Date: 2010-06-09
KINGDEE SOFTWARE(CHINA) CO LTD
View PDF0 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the embodiment of the present invention is to provide a debugging method of a performance test script, ai

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
  • Method and device for debugging performance test scripts
  • Method and device for debugging performance test scripts
  • Method and device for debugging performance test scripts

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] figure 1 The implementation flow of the debugging method of the performance test script provided by the first embodiment of the present invention is shown, and the details are as follows:

[0033] In S101, performance test scripts for different performance tests are sequentially written into script files.

[0034] In the embodiment of the present invention, corresponding performance test scripts are written for different performance tests, and the written performance test scripts are written into script files in order, wherein the order of performance test scripts can be set arbitrarily according to test requirements.

[0035] In step S102, when performing a performance test, a test process for executing a corresponding performance test script is started.

[0036] In the embodiment of the present invention, when the performance test needs to be performed, the performance test script for the performance test is found from the script file, and the test process for execut...

Embodiment 2

[0043] When the execution time of the test process exceeds the preset time, errors may occur in the performance test script. figure 2 The implementation flow of the debugging method of the performance test script provided by the second embodiment of the present invention is shown, and the details are as follows:

[0044] In step S201, the performance test scripts for different performance tests are sequentially written into the script file.

[0045] In step S202, when performing a performance test, a test process for executing a corresponding performance test script is started.

[0046] In step S203, it is judged whether the execution time of the test process exceeds the preset time, if yes, execute step S204, otherwise execute step S205.

[0047]In step S204, the error information of the performance test script is recorded and output, and step S205 is executed after the test process is completed.

[0048] In step S205, a test process for executing the next performance test...

Embodiment 3

[0050] When the time for the test process to execute the performance test script is too long, the performance test script may need to be debugged. In order to enable users to find the performance test scripts that take too long to execute conveniently and quickly, image 3 The debugging method of the performance test script provided by the third embodiment of the present invention is shown, and the details are as follows:

[0051] In step S301, the performance test scripts for different performance tests are sequentially written into the script file.

[0052] In step S302, when performing a performance test, a test process for executing a corresponding performance test script is started.

[0053] In step S303, it is judged whether the execution time of the test process exceeds the preset time, if yes, step S304 is executed after the test process is ended, otherwise, step S304 is directly executed.

[0054] In another embodiment of the present invention, when it is determined...

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

PUM

No PUM Login to view more

Abstract

The invention is suitable for the field of testing, and provides a method and a device for debugging performance test scripts. The method comprises the following steps of: writing performance test scripts used for different performance tests in a script file in sequence; starting a test process used for executing the corresponding performance test scripts during the performance tests; and ending the test process after the performance test scripts are executed or when the execution time of the test process exceeds a preset time, and starting a test process used for executing the next performance test script according to the sequence of the performance test scripts of the script file. The method for debugging the performance test scripts provided by an embodiment can continuously and automatically debug a plurality of performance test scripts, and greatly reduces the debugging time, debugging efficiency and debugging cost of the performance test scripts.

Description

technical field [0001] The invention belongs to the field of testing, in particular to a debugging method and device for a performance testing script. Background technique [0002] During the software development process or after the software development is completed, in order to test whether the software can achieve the expected effect, it is generally necessary to conduct a performance benchmark comparison test on the software. In the performance benchmark comparison test, it is necessary to conduct performance tests of different versions of the same function of the software to compare whether there is a performance drop point. Since the scripts of the comparison test are the same and the number is large, the workload of debugging the performance test scripts is very heavy. [0003] In the prior art, the performance test script is generally manually debugged, and the specific process is briefly described as follows: manually start the test process for executing the perfor...

Claims

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

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F11/36
Inventor 黄晓勤
Owner KINGDEE SOFTWARE(CHINA) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products