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

Method for automatically configuring performance scene based on performance test requirements

A technology for testing requirements and automatic configuration, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as cumbersome and repetitive operations, and achieve the effect of improving efficiency

Inactive Publication Date: 2020-12-22
SICHUAN CHANGHONG ELECTRIC CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The two tool scene configuration operations described above are all manually operated in the window interface, which is very cumbersome and has many repeated operations:

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 for automatically configuring performance scene based on performance test requirements

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0024] Such as figure 1 As shown, this embodiment aims to improve the efficiency of performance test scenario configuration, and proposes a method for automatically configuring performance scenarios based on performance test requirements. In this embodiment, the LoadRunner Controller is automatically configured, the programming language is python3, and the configuration file format is json. An example is described in detail, including the following steps:

[0025] S1. Design configuration file template:

[0026] S11. List the parameters that need to be configured in the performance test scenario (such as: the path of the performance test script, the interval time between each script running, the concurrent number of each script, etc.);

[0027] S12. Organize the above parameters into a configuration file template in json format according to the hierarchical relationship;

[0028] S2. Construct a Controller template:

[0029] S21. In the Controller interface of LoadRunner, c...

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 discloses a method for automatically configuring a performance scene based on performance test requirements. The method comprises the following steps: designing a configuration file template; constructing a performance scene template; determining the position of each parameter in the performance scene template file; constructing a configuration file; and generating a configured performance scene file. According to the invention, the configured performance scene can be generated by extracting the related information through the performance test demand document, filling the configuration file with the related information and writing the script to fill the configuration in the configuration file into the corresponding template, so that the performance test scene configuration efficiency can be greatly improved.

Description

technical field [0001] The invention relates to the technical field of software testing, in particular to a method for automatically configuring performance scenarios based on performance testing requirements. Background technique [0002] At present, the most widely used commercial tool for performance testing is LoadRunner developed by HP, and JMeter, an open source project supported by the Apache Foundation, is the most widely used free tool. [0003] LoadRunner is a load testing tool that predicts system behavior and performance. It confirms and finds problems by simulating thousands of users to implement concurrent load and real-time performance monitoring. The Controller component is the control center of LoadRunner. It mainly includes two parts: scenario design and scenario execution. This component provides two test scenarios: manual design and target-oriented. In general, the manual scene design method is used, because the scene model can be designed more flexibly ...

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/3668
Inventor 张荣芸
Owner SICHUAN CHANGHONG ELECTRIC CO 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