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

Automatic performance testing method based on Jmeter

An automated testing and performance technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as failure to meet the difficulty requirements of performance testing, cumbersome operation procedures, and inaccurate test data, etc., to improve performance testing Efficiency, performance testing process is simple, and the effect of accurate test results

Pending Publication Date: 2020-05-29
中电万维信息技术有限责任公司
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Usually, the preparation, operation, and result statistics of performance test scripts are manually compiled, operated, and counted by performance testers. Due to the large differences in the experience and technical capabilities of performance testers, and the fact that there are a large number of difficult-to-master professional skills in Jmeter tools and scripts Terminology and tricks, making the threshold of performance testing relatively high
At the same time, due to the diversity and variability of test requirements, test scripts will also change accordingly
Therefore, manually written Jmeter scripts and manually counted test results often have many errors and deviations in the actual execution of performance tests, resulting in low efficiency and inaccurate test data, or even failure to complete the expected performance test
[0003] In order to solve the above problems, some units or individuals have also proposed some performance semi-automated testing methods and systems based on Jmeter tools. These methods and systems can improve performance testing efficiency to a certain extent, but they cannot automatically generate complete Jmeter test scripts. One-click completion of the performance test still requires manual operation of some links. At the same time, the system operation process is cumbersome, not easy to get started, and some technologies need to be mastered. The threshold for performance testing is still relatively high, and the requirements for reducing the difficulty of performance testing have not been met.
In addition, due to the fact that there may be a large number of errors reported or incompatible with tools in semi-automated performance testing, or inaccurate statistics of performance testing data, the results of performance testing are not ideal, so the efficiency of Jmeter performance testing is not improved.

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
  • Automatic performance testing method based on Jmeter

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] like figure 1 Described, a kind of performance automation testing method based on Jmeter of the present invention comprises the steps:

[0027] S1. Define keywords: encapsulate Jmeter keywords, and set keyword names and parameter names for the encapsulated keywords;

[0028] S2. Define test tasks: including test items, sending emails, scheduled execution, execution time, recipients, and senders; it can be determined whether to execute regularly according to the actual situation, and whether to send the test report in the form of an email after the test; it can be used in any Execute at any time, no need for manual operation by performance testers, the set sending email can send performance test reports to relevant personnel after the operation is completed, and no manual operation by testers is required;

[0029] S3. Define the performance test scenario: including the scope of the performance test and the test strategy. The test strategy includes the number of concurre...

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 relates to the technical field of software testing, in particular to an automatic performance testing method based on Jmeter, which comprises the following steps: S1, defining keywords;S2, defining a test task; S3, defining a performance test scene; S4, selecting a performance test keyword; S5, setting a remote monitoring server; S6, setting a result checking strategy; S7, generating a Jmeter script; S8, operating the Jmeter script; S9, ending the operation of the Jmeter script; S10, generating a performance test report; S11, sending a test report mail, and ending the test. According to the method, the Jmeter script is quickly, accurately and automatically generated, so that the readability and understandability of script configuration are improved; multi-node concurrent execution and single-node performance test script execution are supported, and each test server is fully utilized by performance test under the condition of high concurrency, so that waste of the test servers is avoided; various performance indexes do not need to be counted manually, so that the performance test efficiency is greatly improved, and the test result is more accurate; the method is simple in performance test process, easy to operate and understand and capable of reducing the performance test difficulty.

Description

technical field [0001] The invention relates to the technical field of software testing, in particular to a performance automatic testing method based on Jmeter. Background technique [0002] Jmeter tool, as a popular open source performance testing tool, is increasingly used in performance testing of various servers, software systems, software interfaces, etc. Usually, the preparation, operation, and result statistics of performance test scripts are manually compiled, operated, and counted by performance testers. Due to the large differences in the experience and technical capabilities of performance testers, and the fact that there are a large number of difficult-to-master professional skills in Jmeter tools and scripts Terminology and techniques make the threshold of performance testing relatively high. At the same time, due to the diversity and variability of test requirements, test scripts will also change accordingly. Therefore, there are often many errors and deviat...

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/3688G06F11/3684
Inventor 水晓艺何鹏林李旭王莉
Owner 中电万维信息技术有限责任公司
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