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

Inactive Publication Date: 2012-05-30
KINGDEE SOFTWARE(CHINA) CO LTD
View PDF4 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the embodiments of the present invention is to provide a scenario test monitoring method, which aims to solve the problem that some scenario tests exceed the predetermined test time or enter an infinite loop due to the individual scenario test program or test server of LoadRunner, resulting in the inability to continue the subsequent test scenarios Execution, the problem of automatic running of scene tests under unattended conditions cannot be guaranteed

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
  • Scenario testing monitoring method, device and system
  • Scenario testing monitoring method, device and system
  • Scenario testing monitoring method, device and system

Examples

Experimental program
Comparison scheme
Effect test

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 ...

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 applicable to the field of computer technology and provides a scenario testing monitoring method, device and system, wherein the method comprises the following steps: monitoring the scanning time of LoadRunner scenario process according to a scanning period of the LoadRunner scenario process set in advance; acquiring the running time of the LoadRunner scenario process when the scanning time of the LoadRunner scenario process is reached; and forcibly ending a virtual user process related to the LoadRunner scenario process when the running time of the LoadRunner scenario process exceeds the running time of the LoadRunner scenario process set in advance. According to the invention, the virtual user process related to the LoadRunner scenario process can be forcibly ended when the monitored running time of the LoadRunner scenario process exceeds the running time of the LoadRunner scenario process set in advance, so that automatic running of the scenario testing can be ensured under the unattended condition, the scenario testing can be executed in batch, the scenario testing efficiency can be improved, the user workload can be reduced and then the LoadRunner scenario testing can be more humanized.

Description

technical field [0001] The invention belongs to the technical field of computers, and in particular relates to a scene test monitoring method, a device and a scene test monitoring system. Background technique [0002] LoadRunner is an industry-standard load testing tool that predicts system behavior and performance. It supports multiple protocols. It confirms and finds problems by simulating tens of millions of users to implement concurrent load and real-time performance monitoring. LoadRunner can monitor the entire enterprise architecture. Testing, by using LoadRunner, enterprises can minimize testing time, optimize performance and accelerate the release cycle of application systems. [0003] At present, when LoadRunner performs scenario testing, it often packs the scenario test files into a batch program, and uses the batch command to test the scenarios one by one in sequence, so that the test work can be performed without interruption. Some of the scenario tests exceed t...

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/34
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