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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap