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

A method for automate performance testing of Jmeter-based sustainable integration

A continuous integration and performance technology, applied in software testing, based on Jmeter continuous integration automated performance testing field, can solve problems such as waste of testing resources and unsustainable testing, saving testing time, convenient update operations, and comprehensive analysis of test results Effect

Inactive Publication Date: 2019-03-12
SICHUAN CHANGHONG ELECTRIC CO LTD
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to provide a method based on Jmeter sustainable integration automated performance testing, to solve the problems of waste of test resources and inability to continue testing when using non-GUI mode testing at present in interface performance testing

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0028] The embodiment of the present invention is based on the method of Jmeter sustainable integration automation performance test, during specific application, can comprise the following steps:

[0029] 1.1 Define the test scenario (test strategy)

[0030] Define each test scenario, such as T1, T2, ..., Tn, and the parameters that need to be modified in each scenario.

[0031] 1.2Jmeter design basic test test plan

[0032] In order to run the test process smoothly later, it is necessary to design the basic test script in Jmeter first, including all interfaces to be tested, interface parameters, and assertion configuration (an assertion is a Jmeter component used to set a certain condition for the response result, It is convenient for testers to judge whether the request is successful) and server indicator monitoring.

[0033] 1.3 Design a Python script to generate test data

[0034] 1) According to the data rules corresponding to each interface, design a test data generat...

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 provides a Jmeter-based sustainable integration automation performance testing method, which belongs to the technical field of software testing. The invention solves the problems of waste of test resources and unsustainable test existing in the non-GUI mode test when the interface performance test is carried out at present. The technical proposal points are as follows: firstly, the type of test scene and the configuration of relevant parameters are defined; Secondly, design Jmeter basic test plan; Then, design Python script to generate test data, modify test plan and improve testreport; Finally, a visual configuration page is created through Jenkins parameterized build; the test report is output. The invention has the advantages that: before the test, the python script is run to insert the test data into the database to ensure the integrity of the test data before each test, the test data are the same and the test is sustainable, so that the test results of multiple times are more comparable; Integrating the resource monitoring chart into the HTML results report is helpful for testers to analyze the test results more conveniently and comprehensively.

Description

technical field [0001] The invention relates to the technical field of software testing, in particular to the field of sustainable integrated automated performance testing based on Jmeter. Background technique [0002] As the performance requirements for software and systems are getting higher and higher, in order to avoid undesired situations such as system crashes caused by sudden concurrent user requests, it is very necessary to perform interface performance tests on the system. However, Jmeter GUI mode is usually used to simulate concurrent user scenarios, but the Jmeter visual interface consumes a lot of computer resources, and the running results are stored in the memory where Jmeter runs. Once the running time is too long and the memory grows to a certain extent, it will Mistakes, even suspended animation. Therefore, it is necessary to use a non-GUI mode for testing. [0003] However, there are some problems when testing in non-GUI mode. When it is necessary to chan...

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
CPCG06F11/3664G06F11/3672
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