当前位置:网站首页>JMeter load test finds the maximum number of concurrent users (including step analysis)
JMeter load test finds the maximum number of concurrent users (including step analysis)
2022-06-11 20:49:00 【Test Xiaohang】
Load test concept
Gradually increase the number of concurrent users , Find out the maximum acceptable number of concurrent users of the system under test , And investigate the change of system performance .
Overall script design :

Scenario introduction :
1. First, use the plug-in manager to download the plug-in jpgc - Standard Set, And then restart jmeter
2. Add thread group [email protected] - Stepping Thread Group
3 Add request samplers and other configuration components under the thread group , And fill in the interface parameters , The tested interface in this article is the registered interface
4. Add listener :
[email protected] - Active Threads Over Time( Graph of the number of active threads over time )
[email protected] - Response Times Over Time( Response time versus time )
[email protected] - Transactions per Second(tps Time variation diagram )
[email protected] - Stepping Thread Group Fill in data , Scene is in 5 Increase in seconds 10 Number of concurrent users , And run 30 second , And continue to 5 Increase in seconds 10 Number of concurrent users , Repeat the cycle , Until the number of concurrent users reaches 50 Run the script after 60 second . Then at every 1 Second reduction 5 Number of concurrent users , Until reduced to 0, End the script .

6. Run the script for the first time , Observe the data after completion :



It is known from the graph that :1. When the number of concurrent users is 20 when , The average response time exceeds 1.5 second
2.tps There is no obvious downward trend in the whole process , There is no continuous error report
Run script analysis for the first time : So come to the conclusion , The maximum number of concurrent users of the system is 10~20 Section
We have obtained that the maximum number of concurrent users of the system is 10~20 Section , How much is it ? Next, reduce the step size , And carry out the second test
[email protected] - Stepping Thread Group Fill in data , The scene is based on 10 Based on the number of concurrent users , stay 1 Increase in seconds 1 Number of concurrent users , And run 30 second , And continue to 1 Increase in seconds 1 Number of concurrent users , Repeat the cycle , Until the number of concurrent users reaches 20 Run the script after 60 second . Then at every 1 Second reduction 5 Number of concurrent users , Until reduced to 0, End the script .

8. Run the script a second time , Observe the data after completion :



It is known from the graph that :1. When the number of concurrent users is 17 when , The average response time exceeds 1.5 second
2.tps There is no obvious downward trend in the whole process , There is no continuous error report
Run script analysis for the second time : So come to the conclusion , The maximum number of concurrent users of the system is 16
边栏推荐
- Solution to unlimited restart of desktop and file explorer
- Current situation and future development trend of tropical forage seed market in the world and China from 2022 to 2028
- JSON introduction
- 2022-2028 global and Chinese thermopile array module market status and future development trend
- 29. location对象
- [Err] 1045 - Access denied for user ‘root‘@‘%‘ (using password: YES)
- 11 r create random number
- c语言程序设计知识点总结 01
- [data visualization] use Apache superset to visualize Clickhouse data
- 周刊02|不瞞你說,我其實是MIT的學生
猜你喜欢

8 r subset

周刊02|不瞒你说,我其实是MIT的学生

unity package manager starting server stuck(Unity启动卡在starting server,然后报错)

29. location object

Redis fourth session - redis high performance principle (multiplexing) and high availability analysis (backup, master-slave)

应用场景:现场直播节目制作NDI技术中PoE网卡的广泛应用

moderlarts第二次作业

新品发布:国产单电口千兆网卡正式量产!

Teach you how to use win7 system to quickly build your own website

php pcntl_fork 创建多个子进程解析
随机推荐
[nk] 牛客练习赛100 C 小红的删数字
修改本地微信小程序的AppID
Black circle display implementation
Release of version 5.6 of rainbow, add multiple installation methods, and optimize the topology operation experience
Weekly 02 | pour être honnête, je suis un étudiant du MIT
[Err] 1045 - Access denied for user ‘root‘@‘%‘ (using password: YES)
Product information | Poe network card family makes a collective appearance, the perfect partner of machine vision!
8 r subset
浅谈UGUI中Canvas RectTransform的Scale
Log in with password and exit with error for three times.
Vectordrawable error
2022-2028 global and Chinese thermopile and microbolometer infrared detector Market Status and future development trend
Installation and performance test of Apache APIs IX on Amazon graviton3
输入值“18-20000hz”错误,设置信息不完整,请选择单位
Title does not display after toolbar replaces actionbar
A Mechanics-Informed Artificial Neural Network Approach in Data-Driven Constitutive Modeling 学习
Role of RESNET residual block
R 16 basic exercises
【数据可视化】使用 Apache Superset 可视化 ClickHouse 数据
STC hardware only automatic download circuit V2