Scenario testing monitoring method, device and system
A monitoring device and monitoring system technology, applied in the computer field, can solve problems such as exceeding the test time, entering an endless loop, and the test scene cannot continue to be executed, so as to achieve the effects of ensuring automatic operation, improving efficiency, and reducing workload
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0038] figure 1 The implementation flow of the scenario test monitoring method provided by the first embodiment of the present invention is shown, and the details are as follows:
[0039] In step S101, monitor the scan time of the LoadRunner scenario process according to the preset LoadRunner scenario process scan cycle;
[0040] In the embodiment of the present invention, the scan cycle of the LoadRunner scenario process can be thirty seconds, one minute, or ten minutes, etc. Specifically, the scan cycle can be set equal to the average time according to the average time required for this scenario test , or slightly greater than the average time, or a linear function of the average time, which is not intended to limit the present invention. After setting the scan cycle of the LoadRunner scenario process, the scan time of the LoadRunner scenario process can be obtained according to the startup time of the LoadRunner scenario process. The startup time of the LoadRunner scenario...
Embodiment 2
[0049] In the embodiment of the present invention, when the scenario test file is packaged as a batch program, the user hopes that LoadRunner can complete the testing of all the scenarios contained in the scenario test file within the set time under unattended conditions. It is necessary to forcibly end the process of the suspended animation scene in an infinite loop. figure 2 The implementation flow of the test monitoring method provided by the second embodiment of the present invention is shown, and the details are as follows:
[0050] In step S201, read the pre-created scene test file and configuration file thereof;
[0051] In the embodiment of the present invention, the scenario test file is read according to the batch program, and the running environment of the virtual user process is established.
[0052] In step S202, start the loaded LoadRunner scenario process;
[0053] In the embodiment of the present invention, after starting the LoadRunner scenario process, acc...
Embodiment 3
[0066] image 3 The structure of the scene test monitoring device provided by the third embodiment of the present invention is shown, and for the convenience of description, only the parts related to the embodiment of the present invention are shown.
[0067] Configuration file creating unit 31, is used to create the configuration file of scenario test, and described configuration file comprises LoadRunner scenario process name, the scanning period of LoadRunner scenario process, the running time of LoadRunner scenario process and the virtual user process associated with LoadRunner scenario process.
[0068] In the implementation of the present invention, the LoadRunner scene process name of the LoadRunner scene test, the scan cycle of the LoadRunner scene process, the running time of the LoadRunner scene process, and the virtual user process associated with the LoadRunner scene process can be set in advance, and stored in the form of configuration files. It is convenient for ...
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, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com