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

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

Example Embodiment

[0026] Such as figure 1 As described, a Jmeter-based performance automated testing method of the present invention includes the following steps:

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

[0028] S2. Define test tasks: including test items, sending emails, timing execution, execution time, recipients, and senders; you can determine whether to execute regularly according to the actual situation, and whether to send the test report in the form of a mailbox after the test; It is executed at the same time without manual operation by the performance tester. The set sending email can send the performance test report to the relevant personnel after the operation is completed, and the manual operation by the tester is also unnecessary;

[0029] S3. Define performance test scenarios: including the scope of performance testing and test strategies. Test strategies include the number of concurrent users, the numbe...

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 Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products