jmeter学习-确认拐点

坚强是说给别人听的谎言 提交于 2020-01-16 03:04:46

1、使用场景

寻找最大并发用户数 ,最大并发用户数有一个公式:c=nL/T.其中n为每天访问系统的用户数,L为在线用户从登陆到退出的时间,T为用户每天使用系统大概多长时间。将我们测试找到的最大用户数跟该公式计算出来的对比,就可判断系统性能是否满足条件了。

2、脚本

针对某个使用频率特别高的接口进行测试。如图:

在这里插入图片描述

(1)线程数:为并发数,每个线程会完全独立的运行测试计划,互不干扰。
(2)ramp-up period:用户设置启动所有线程所需要的时间,如果选择了10个线程,并且ramp-up period为100秒,那么jmeter将使用100秒是10个线程启动,每个线程将在前一个线程启动后10(100/10)秒后启动
(3)设置循环次数:设置线程组结束前每个线程循环的次数,如果次数设置为1,那么jmeter在计划停止前只执行一次,若勾选了永远,则会一直执行(若下面设置了持续时间,则循环执行持续的时间后停止)
(4)持续时间,控制测试执行的持续时间,若循环次数设置为1,执行该线程组的时间小于持续时间线程组也会停止。

注意:该线程组使用了事务控制器,其作用为当该线程组多个接口实现了一个用例,使用事务控制器会生成一个汇总的结果。

D:\software\apache-jmeter-3.3\bin>jmeter -n -t 拐点测试.jmx -l summary.jtl -e -o report
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/D:/software/apache-jmeter-3.3/lib/log4j-slf4j-impl-2.8.2.jar!/org/slf4j/impl/StaticLoggerBinder.clas
SLF4J: Found binding in [jar:file:/D:/software/apache-jmeter-3.3/lib/ext/jmeter-plugins-dubbo-1.3.6-jar-with-dependencies.jar!/org/slf4
SLF4J: Found binding in [jar:file:/D:/software/apache-jmeter-3.3/lib/ext/jmeter-test.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
Creating summariser <summary>
Created the tree successfully using 拐点测试.jmx
Starting the test @ Wed Jan 15 10:58:47 CST 2020 (1579057127796)
Waiting for possible Shutdown/StopTestNow/Heapdump message on port 4445
summary +   1856 in 00:00:12 =  156.4/s Avg:    14 Min:     8 Max:    94 Err:     0 (0.00%) Active: 7 Started: 7 Finished: 0
summary +  16179 in 00:00:30 =  539.3/s Avg:    18 Min:    10 Max:    55 Err:     0 (0.00%) Active: 10 Started: 10 Finished: 0
summary =  18035 in 00:00:42 =  430.8/s Avg:    17 Min:     8 Max:    94 Err:     0 (0.00%)
summary +  15647 in 00:00:30 =  521.5/s Avg:    18 Min:    11 Max:    53 Err:     0 (0.00%) Active: 10 Started: 10 Finished: 0
summary =  33682 in 00:01:12 =  468.7/s Avg:    18 Min:     8 Max:    94 Err:     0 (0.00%)
summary +  16791 in 00:00:30 =  559.7/s Avg:    17 Min:    12 Max:    35 Err:     0 (0.00%) Active: 10 Started: 10 Finished: 0
summary =  50473 in 00:01:42 =  495.5/s Avg:    17 Min:     8 Max:    94 Err:     0 (0.00%)
summary +  15632 in 00:00:30 =  521.1/s Avg:    19 Min:    11 Max:    82 Err:     0 (0.00%) Active: 10 Started: 10 Finished: 0
summary =  66105 in 00:02:12 =  501.3/s Avg:    18 Min:     8 Max:    94 Err:     0 (0.00%)
summary +  16662 in 00:00:30 =  555.2/s Avg:    17 Min:    10 Max:    50 Err:     0 (0.00%) Active: 10 Started: 10 Finished: 0
summary =  82767 in 00:02:42 =  511.3/s Avg:    18 Min:     8 Max:    94 Err:     0 (0.00%)
summary +  14862 in 00:00:30 =  495.6/s Avg:    20 Min:    11 Max:   146 Err:     0 (0.00%) Active: 10 Started: 10 Finished: 0
summary =  97629 in 00:03:12 =  508.8/s Avg:    18 Min:     8 Max:   146 Err:     0 (0.00%)
summary +  16667 in 00:00:30 =  555.5/s Avg:    17 Min:    11 Max:    81 Err:     0 (0.00%) Active: 10 Started: 10 Finished: 0
summary = 114296 in 00:03:42 =  515.2/s Avg:    18 Min:     8 Max:   146 Err:     0 (0.00%)
summary +  14111 in 00:00:30 =  470.3/s Avg:    20 Min:    10 Max:   126 Err:     0 (0.00%) Active: 10 Started: 10 Finished: 0
summary = 128407 in 00:04:12 =  509.8/s Avg:    18 Min:     8 Max:   146 Err:     0 (0.00%)
summary +  16451 in 00:00:30 =  548.4/s Avg:    18 Min:    11 Max:    80 Err:     0 (0.00%) Active: 10 Started: 10 Finished: 0
summary = 144858 in 00:04:42 =  513.9/s Avg:    18 Min:     8 Max:   146 Err:     0 (0.00%)
summary +  13647 in 00:00:30 =  454.9/s Avg:    18 Min:     9 Max:    37 Err:     0 (0.00%) Active: 19 Started: 29 Finished: 10
summary = 158505 in 00:05:12 =  508.2/s Avg:    18 Min:     8 Max:   146 Err:     0 (0.00%)
summary +  28585 in 00:00:30 =  952.9/s Avg:    93 Min:    13 Max:   909 Err:     0 (0.00%) Active: 100 Started: 110 Finished: 10
summary = 187090 in 00:05:42 =  547.3/s Avg:    29 Min:     8 Max:   909 Err:     0 (0.00%)
summary +  31629 in 00:00:30 = 1054.3/s Avg:    94 Min:    34 Max:   240 Err:     0 (0.00%) Active: 100 Started: 110 Finished: 10
summary = 218719 in 00:06:12 =  588.2/s Avg:    39 Min:     8 Max:   909 Err:     0 (0.00%)
summary +  31443 in 00:00:30 = 1048.1/s Avg:    95 Min:    33 Max:   450 Err:     0 (0.00%) Active: 100 Started: 110 Finished: 10
summary = 250162 in 00:06:42 =  622.5/s Avg:    46 Min:     8 Max:   909 Err:     0 (0.00%)
summary +  29705 in 00:00:30 =  990.2/s Avg:   100 Min:    31 Max:  1007 Err:     0 (0.00%) Active: 100 Started: 110 Finished: 10
summary = 279867 in 00:07:12 =  648.0/s Avg:    52 Min:     8 Max:  1007 Err:     0 (0.00%)
summary +  31843 in 00:00:30 = 1061.4/s Avg:    94 Min:    35 Max:   221 Err:     0 (0.00%) Active: 100 Started: 110 Finished: 10
summary = 311710 in 00:07:42 =  674.9/s Avg:    56 Min:     8 Max:  1007 Err:     0 (0.00%)
summary +  29381 in 00:00:30 =  979.3/s Avg:   102 Min:    18 Max:  1046 Err:     0 (0.00%) Active: 100 Started: 110 Finished: 10
summary = 341091 in 00:08:12 =  693.5/s Avg:    60 Min:     8 Max:  1046 Err:     0 (0.00%)
summary +  31766 in 00:00:30 = 1058.9/s Avg:    94 Min:    33 Max:   295 Err:     0 (0.00%) Active: 100 Started: 110 Finished: 10
summary = 372857 in 00:08:42 =  714.5/s Avg:    63 Min:     8 Max:  1046 Err:     0 (0.00%)
summary +  31819 in 00:00:30 = 1060.6/s Avg:    94 Min:    32 Max:   247 Err:     0 (0.00%) Active: 100 Started: 110 Finished: 10
summary = 404676 in 00:09:12 =  733.3/s Avg:    65 Min:     8 Max:  1046 Err:     0 (0.00%)
summary +  31804 in 00:00:30 = 1060.1/s Avg:    94 Min:    33 Max:   245 Err:     0 (0.00%) Active: 100 Started: 110 Finished: 10
summary = 436480 in 00:09:42 =  750.1/s Avg:    67 Min:     8 Max:  1046 Err:     0 (0.00%)
summary +  29692 in 00:00:33 =  892.5/s Avg:    95 Min:    21 Max:   232 Err:     0 (0.00%) Active: 1 Started: 111 Finished: 110
summary = 466172 in 00:10:15 =  757.8/s Avg:    69 Min:     8 Max:  1046 Err:     0 (0.00%)
summary +  26821 in 00:00:27 = 1003.3/s Avg:   121 Min:     8 Max:   745 Err:     0 (0.00%) Active: 150 Started: 260 Finished: 110
summary = 492993 in 00:10:42 =  768.1/s Avg:    72 Min:     8 Max:  1046 Err:     0 (0.00%)
summary +  31785 in 00:00:30 = 1059.6/s Avg:   141 Min:    34 Max:   478 Err:     0 (0.00%) Active: 150 Started: 260 Finished: 110
summary = 524778 in 00:11:12 =  781.1/s Avg:    76 Min:     8 Max:  1046 Err:     0 (0.00%)
summary +  31739 in 00:00:30 = 1057.9/s Avg:   141 Min:    33 Max:   505 Err:     0 (0.00%) Active: 150 Started: 260 Finished: 110
summary = 556517 in 00:11:42 =  792.9/s Avg:    80 Min:     8 Max:  1046 Err:     0 (0.00%)
summary +  31257 in 00:00:30 = 1041.9/s Avg:   143 Min:    35 Max:   720 Err:     0 (0.00%) Active: 150 Started: 260 Finished: 110
summary = 587774 in 00:12:12 =  803.1/s Avg:    83 Min:     8 Max:  1046 Err:     0 (0.00%)
summary +  31746 in 00:00:30 = 1058.1/s Avg:   141 Min:    35 Max:   449 Err:     0 (0.00%) Active: 150 Started: 260 Finished: 110
summary = 619520 in 00:12:42 =  813.2/s Avg:    86 Min:     8 Max:  1046 Err:     0 (0.00%)
summary +  31620 in 00:00:30 = 1054.1/s Avg:   142 Min:    35 Max:   487 Err:     0 (0.00%) Active: 150 Started: 260 Finished: 110
summary = 651140 in 00:13:12 =  822.3/s Avg:    89 Min:     8 Max:  1046 Err:     0 (0.00%)
summary +  31312 in 00:00:30 = 1043.7/s Avg:   143 Min:    32 Max:   404 Err:     0 (0.00%) Active: 150 Started: 260 Finished: 110
summary = 682452 in 00:13:42 =  830.4/s Avg:    91 Min:     8 Max:  1046 Err:     0 (0.00%)
summary +  31187 in 00:00:30 = 1039.6/s Avg:   144 Min:    44 Max:   453 Err:     0 (0.00%) Active: 150 Started: 260 Finished: 110
summary = 713639 in 00:14:12 =  837.7/s Avg:    94 Min:     8 Max:  1046 Err:     0 (0.00%)
summary +  31760 in 00:00:30 = 1058.7/s Avg:   141 Min:    39 Max:   412 Err:     0 (0.00%) Active: 150 Started: 260 Finished: 110
summary = 745399 in 00:14:42 =  845.3/s Avg:    96 Min:     8 Max:  1046 Err:     0 (0.00%)
summary +  31613 in 00:00:30 = 1053.8/s Avg:   142 Min:    44 Max:   420 Err:     0 (0.00%) Active: 150 Started: 260 Finished: 110
summary = 777012 in 00:15:12 =  852.1/s Avg:    97 Min:     8 Max:  1046 Err:     0 (0.00%)
summary +  25591 in 00:00:30 =  853.0/s Avg:   149 Min:    10 Max:   536 Err:     0 (0.00%) Active: 200 Started: 460 Finished: 260
summary = 802603 in 00:15:42 =  852.1/s Avg:    99 Min:     8 Max:  1046 Err:     0 (0.00%)
summary +  31807 in 00:00:30 = 1060.2/s Avg:   188 Min:    36 Max:   679 Err:     0 (0.00%) Active: 200 Started: 460 Finished: 260
summary = 834410 in 00:16:12 =  858.6/s Avg:   103 Min:     8 Max:  1046 Err:     0 (0.00%)
summary +  31887 in 00:00:30 = 1062.9/s Avg:   188 Min:    35 Max:   762 Err:     0 (0.00%) Active: 200 Started: 460 Finished: 260
summary = 866297 in 00:16:42 =  864.7/s Avg:   106 Min:     8 Max:  1046 Err:     0 (0.00%)
summary +  31635 in 00:00:30 = 1054.5/s Avg:   189 Min:    38 Max:   586 Err:     0 (0.00%) Active: 200 Started: 460 Finished: 260
summary = 897932 in 00:17:12 =  870.2/s Avg:   109 Min:     8 Max:  1046 Err:     0 (0.00%)
summary +  31422 in 00:00:30 = 1047.3/s Avg:   190 Min:    35 Max:   669 Err:     0 (0.00%) Active: 200 Started: 460 Finished: 260
summary = 929354 in 00:17:42 =  875.2/s Avg:   111 Min:     8 Max:  1046 Err:     0 (0.00%)
summary +  31672 in 00:00:30 = 1055.9/s Avg:   189 Min:    30 Max:   608 Err:     0 (0.00%) Active: 200 Started: 460 Finished: 260
summary = 961026 in 00:18:12 =  880.2/s Avg:   114 Min:     8 Max:  1046 Err:     0 (0.00%)
summary +  31598 in 00:00:30 = 1053.2/s Avg:   189 Min:    32 Max:   609 Err:     0 (0.00%) Active: 200 Started: 460 Finished: 260
summary = 992624 in 00:18:42 =  884.8/s Avg:   116 Min:     8 Max:  1046 Err:     0 (0.00%)
summary +  31865 in 00:00:30 = 1062.2/s Avg:   188 Min:    34 Max:   699 Err:     0 (0.00%) Active: 200 Started: 460 Finished: 260
summary = 1024489 in 00:19:12 =  889.4/s Avg:   119 Min:     8 Max:  1046 Err:     0 (0.00%)
summary +  31821 in 00:00:30 = 1060.7/s Avg:   188 Min:    30 Max:   777 Err:     0 (0.00%) Active: 200 Started: 460 Finished: 260
summary = 1056310 in 00:19:42 =  893.8/s Avg:   121 Min:     8 Max:  1046 Err:     0 (0.00%)
summary +  31780 in 00:00:30 = 1059.3/s Avg:   188 Min:    36 Max:   707 Err:     0 (0.00%) Active: 200 Started: 460 Finished: 260
summary = 1088090 in 00:20:12 =  897.9/s Avg:   123 Min:     8 Max:  1046 Err:     0 (0.00%)
summary +  25390 in 00:00:30 =  846.3/s Avg:   201 Min:    10 Max:  1094 Err:     0 (0.00%) Active: 300 Started: 760 Finished: 460
summary = 1113480 in 00:20:42 =  896.6/s Avg:   124 Min:     8 Max:  1094 Err:     0 (0.00%)
summary +  31560 in 00:00:30 = 1052.0/s Avg:   284 Min:   121 Max:   860 Err:     0 (0.00%) Active: 300 Started: 760 Finished: 460
summary = 1145040 in 00:21:12 =  900.3/s Avg:   129 Min:     8 Max:  1094 Err:     0 (0.00%)
summary +  31414 in 00:00:30 = 1047.1/s Avg:   286 Min:   122 Max:   743 Err:     0 (0.00%) Active: 300 Started: 760 Finished: 460
summary = 1176454 in 00:21:42 =  903.7/s Avg:   133 Min:     8 Max:  1094 Err:     0 (0.00%)
summary +  30907 in 00:00:30 = 1030.2/s Avg:   285 Min:    65 Max:   782 Err:     0 (0.00%) Active: 300 Started: 760 Finished: 460
summary = 1207361 in 00:22:12 =  906.5/s Avg:   137 Min:     8 Max:  1094 Err:     0 (0.00%)
summary +  37188 in 00:00:30 = 1239.6/s Avg:   241 Min:     2 Max:  2008 Err:  6155 (16.55%) Active: 300 Started: 760 Finished: 460
summary = 1244549 in 00:22:42 =  913.9/s Avg:   140 Min:     2 Max:  2008 Err:  6155 (0.49%)
summary +  33980 in 00:00:30 = 1132.7/s Avg:   264 Min:     2 Max:   753 Err:  2373 (6.98%) Active: 300 Started: 760 Finished: 460
summary = 1278529 in 00:23:12 =  918.6/s Avg:   143 Min:     2 Max:  2008 Err:  8528 (0.67%)
summary +  31904 in 00:00:30 = 1054.0/s Avg:   276 Min:     2 Max:  1385 Err:  1061 (3.33%) Active: 300 Started: 760 Finished: 460
summary = 1310433 in 00:23:42 =  921.5/s Avg:   147 Min:     2 Max:  2008 Err:  9589 (0.73%)
summary +  30998 in 00:00:30 = 1042.7/s Avg:   295 Min:   120 Max:  1881 Err:     0 (0.00%) Active: 300 Started: 760 Finished: 460
summary = 1341431 in 00:24:12 =  923.9/s Avg:   150 Min:     2 Max:  2008 Err:  9589 (0.71%)
summary +  36971 in 00:00:30 = 1232.3/s Avg:   243 Min:     2 Max:  1885 Err:  5534 (14.97%) Active: 300 Started: 760 Finished: 460
summary = 1378402 in 00:24:42 =  930.2/s Avg:   152 Min:     2 Max:  2008 Err: 15123 (1.10%)
summary +  35667 in 00:00:30 = 1188.9/s Avg:   252 Min:     2 Max:   828 Err:  3989 (11.18%) Active: 300 Started: 760 Finished: 460
summary = 1414069 in 00:25:12 =  935.3/s Avg:   155 Min:     2 Max:  2008 Err: 19112 (1.35%)
summary +  26708 in 00:00:30 =  890.2/s Avg:   246 Min:     3 Max:   965 Err:   740 (2.77%) Active: 400 Started: 1160 Finished: 760
summary = 1440777 in 00:25:42 =  934.4/s Avg:   157 Min:     2 Max:  2008 Err: 19852 (1.38%)
summary +  34526 in 00:00:30 = 1150.9/s Avg:   347 Min:     2 Max:   884 Err:  2953 (8.55%) Active: 400 Started: 1160 Finished: 760
summary = 1475303 in 00:26:12 =  938.6/s Avg:   161 Min:     2 Max:  2008 Err: 22805 (1.55%)
summary +  43699 in 00:00:30 = 1456.6/s Avg:   274 Min:     2 Max:  2066 Err: 12138 (27.78%) Active: 400 Started: 1160 Finished: 760
summary = 1519002 in 00:26:42 =  948.3/s Avg:   164 Min:     2 Max:  2066 Err: 34943 (2.30%)
summary +  42741 in 00:00:30 = 1424.7/s Avg:   280 Min:     2 Max:   798 Err: 11360 (26.58%) Active: 400 Started: 1160 Finished: 760
summary = 1561743 in 00:27:12 =  957.0/s Avg:   168 Min:     2 Max:  2066 Err: 46303 (2.96%)
summary +  36867 in 00:00:30 = 1228.9/s Avg:   323 Min:     2 Max:  2284 Err:  9606 (26.06%) Active: 400 Started: 1160 Finished: 760
summary = 1598610 in 00:27:42 =  961.9/s Avg:   171 Min:     2 Max:  2284 Err: 55909 (3.50%)
summary +  35582 in 00:00:30 = 1186.1/s Avg:   337 Min:     2 Max:   861 Err:  4119 (11.58%) Active: 400 Started: 1160 Finished: 760
summary = 1634192 in 00:28:12 =  965.9/s Avg:   175 Min:     2 Max:  2284 Err: 60028 (3.67%)
summary +  43598 in 00:00:30 = 1453.3/s Avg:   275 Min:     2 Max:  2211 Err: 12075 (27.70%) Active: 400 Started: 1160 Finished: 760
summary = 1677790 in 00:28:42 =  974.4/s Avg:   177 Min:     2 Max:  2284 Err: 72103 (4.30%)
summary +  43611 in 00:00:30 = 1453.7/s Avg:   274 Min:     2 Max:   797 Err: 11925 (27.34%) Active: 400 Started: 1160 Finished: 760
summary = 1721401 in 00:29:12 =  982.6/s Avg:   180 Min:     2 Max:  2284 Err: 84028 (4.88%)
summary +  37447 in 00:00:30 = 1248.2/s Avg:   320 Min:     2 Max:  2263 Err: 10223 (27.30%) Active: 400 Started: 1160 Finished: 760
summary = 1758848 in 00:29:42 =  987.1/s Avg:   183 Min:     2 Max:  2284 Err: 94251 (5.36%)
summary +  36504 in 00:00:30 = 1216.8/s Avg:   328 Min:     2 Max:   982 Err:  4915 (13.46%) Active: 400 Started: 1160 Finished: 760
summary = 1795352 in 00:30:12 =  990.9/s Avg:   186 Min:     2 Max:  2284 Err: 99166 (5.52%)
summary +  33451 in 00:00:30 = 1115.0/s Avg:   252 Min:     2 Max:   854 Err:  7484 (22.37%) Active: 307 Started: 1467 Finished: 1160
summary = 1828803 in 00:30:42 =  992.9/s Avg:   187 Min:     2 Max:  2284 Err: 106650 (5.83%)
summary +  41694 in 00:00:30 = 1389.8/s Avg:   348 Min:     2 Max:  1712 Err: 10112 (24.25%) Active: 500 Started: 1660 Finished: 1160
summary = 1870497 in 00:31:12 =  999.3/s Avg:   191 Min:     2 Max:  2284 Err: 116762 (6.24%)
summary +  36909 in 00:00:30 = 1230.3/s Avg:   405 Min:     3 Max:  2820 Err: 10518 (28.50%) Active: 500 Started: 1660 Finished: 1160
summary = 1907406 in 00:31:42 = 1002.9/s Avg:   195 Min:     2 Max:  2820 Err: 127280 (6.67%)
summary +  42118 in 00:00:30 = 1403.9/s Avg:   357 Min:     2 Max:  2264 Err: 10503 (24.94%) Active: 500 Started: 1660 Finished: 1160
summary = 1949524 in 00:32:12 = 1009.1/s Avg:   198 Min:     2 Max:  2820 Err: 137783 (7.07%)
summary +  38779 in 00:00:30 = 1292.6/s Avg:   385 Min:     2 Max:  2260 Err: 12096 (31.19%) Active: 500 Started: 1660 Finished: 1160
summary = 1988303 in 00:32:42 = 1013.5/s Avg:   202 Min:     2 Max:  2820 Err: 149879 (7.54%)
summary +  43672 in 00:00:30 = 1455.7/s Avg:   343 Min:     2 Max:  1945 Err: 12053 (27.60%) Active: 500 Started: 1660 Finished: 1160
summary = 2031975 in 00:33:12 = 1020.1/s Avg:   205 Min:     2 Max:  2820 Err: 161932 (7.97%)
summary +  37380 in 00:00:30 = 1246.0/s Avg:   398 Min:     3 Max:  2974 Err: 10396 (27.81%) Active: 500 Started: 1660 Finished: 1160
summary = 2069355 in 00:33:42 = 1023.5/s Avg:   208 Min:     2 Max:  2974 Err: 172328 (8.33%)
summary +  41902 in 00:00:30 = 1396.7/s Avg:   360 Min:     2 Max:  2179 Err: 10557 (25.19%) Active: 500 Started: 1660 Finished: 1160
summary = 2111257 in 00:34:12 = 1028.9/s Avg:   211 Min:     2 Max:  2974 Err: 182885 (8.66%)
summary +  38501 in 00:00:30 = 1283.4/s Avg:   387 Min:     2 Max:  2378 Err: 11831 (30.73%) Active: 500 Started: 1660 Finished: 1160
summary = 2149758 in 00:34:42 = 1032.6/s Avg:   214 Min:     2 Max:  2974 Err: 194716 (9.06%)
summary +  44312 in 00:00:30 = 1477.1/s Avg:   339 Min:     2 Max:  2143 Err: 12682 (28.62%) Active: 500 Started: 1660 Finished: 1160
summary = 2194070 in 00:35:12 = 1038.9/s Avg:   217 Min:     2 Max:  2974 Err: 207398 (9.45%)
summary +  34259 in 00:00:30 = 1142.0/s Avg:   353 Min:     3 Max:  1815 Err:  8194 (23.92%) Active: 91 Started: 1751 Finished: 1660
summary = 2228329 in 00:35:42 = 1040.4/s Avg:   219 Min:     2 Max:  2974 Err: 215592 (9.68%)
summary +  46247 in 00:00:30 = 1541.6/s Avg:   543 Min:     2 Max:  3542 Err: 14651 (31.68%) Active: 1000 Started: 2660 Finished: 1660
summary = 2274576 in 00:36:12 = 1047.3/s Avg:   226 Min:     2 Max:  3542 Err: 230243 (10.12%)
summary +  43564 in 00:00:30 = 1452.1/s Avg:   680 Min:     3 Max:  4335 Err: 17180 (39.44%) Active: 1000 Started: 2660 Finished: 1660
summary = 2318140 in 00:36:42 = 1052.8/s Avg:   234 Min:     2 Max:  4335 Err: 247423 (10.67%)
summary +  47173 in 00:00:30 = 1572.4/s Avg:   627 Min:     2 Max:  3487 Err: 16020 (33.96%) Active: 1000 Started: 2660 Finished: 1660
summary = 2365313 in 00:37:12 = 1059.8/s Avg:   242 Min:     2 Max:  4335 Err: 263443 (11.14%)
summary +  39308 in 00:00:30 = 1310.3/s Avg:   719 Min:     4 Max:  4907 Err: 11648 (29.63%) Active: 1000 Started: 2660 Finished: 1660
summary = 2404621 in 00:37:42 = 1063.1/s Avg:   250 Min:     2 Max:  4907 Err: 275091 (11.44%)
summary +  45027 in 00:00:30 = 1500.2/s Avg:   701 Min:     8 Max:  6175 Err: 14443 (32.08%) Active: 1000 Started: 2660 Finished: 1660
summary = 2449648 in 00:38:12 = 1068.8/s Avg:   258 Min:     2 Max:  6175 Err: 289534 (11.82%)
summary +  43309 in 00:00:30 = 1444.2/s Avg:   655 Min:     4 Max:  3946 Err: 14729 (34.01%) Active: 1000 Started: 2660 Finished: 1660
summary = 2492957 in 00:38:42 = 1073.7/s Avg:   265 Min:     2 Max:  6175 Err: 304263 (12.20%)
summary +  46909 in 00:00:30 = 1563.6/s Avg:   644 Min:     5 Max:  4922 Err: 17650 (37.63%) Active: 1000 Started: 2660 Finished: 1660
summary = 2539866 in 00:39:12 = 1079.9/s Avg:   272 Min:     2 Max:  6175 Err: 321913 (12.67%)
summary +  42572 in 00:00:30 = 1418.8/s Avg:   663 Min:     4 Max:  3914 Err: 12785 (30.03%) Active: 1000 Started: 2660 Finished: 1660
summary = 2582438 in 00:39:42 = 1084.2/s Avg:   279 Min:     2 Max:  6175 Err: 334698 (12.96%)
summary +  41909 in 00:00:30 = 1397.2/s Avg:   752 Min:     3 Max:  5582 Err: 13462 (32.12%) Active: 1000 Started: 2660 Finished: 1660
summary = 2624347 in 00:40:12 = 1088.1/s Avg:   286 Min:     2 Max:  6175 Err: 348160 (13.27%)
summary +  45799 in 00:00:30 = 1547.9/s Avg:   646 Min:    10 Max:  3147 Err: 15120 (33.01%) Active: 0 Started: 2660 Finished: 2660
summary = 2670146 in 00:40:41 = 1093.7/s Avg:   292 Min:     2 Max:  6175 Err: 363280 (13.61%)
Tidying up ...    @ Wed Jan 15 11:39:29 CST 2020 (1579059569592)
... end of run
D:\software\apache-jmeter-3.3\bin>

分析见

https://blog.51cto.com/6183574/2445386

注意:高并发时,查看jmeter日志可能会看到如下错误:
Non HTTP response code: java.net.BindException/Non HTTP response message: Address already in use: connect
这个问题的原因是windows端口被耗尽了(默认1024-5000),而且操作系统要 2~4分钟才会重新释放这些端口,所以可以增加windows的可用端口来解决。windows端口最大数为65534

解决方法见
http://www.bubuko.com/infodetail-3306240.html

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!