热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

在windows非GUI执行Jmeter过程

------------bat执行开始-----------C:\Users\myname\DesktopcddE:\jmreport_buy\aE:\jmreport_buy\

------------bat执行开始-----------C:\Users\myname\Desktop>cd /d E:\jmreport_buy\aE:\jmreport_buy\a>del /s /q /f *.*E:\jmreport_buy\a>for / %i in (*) do rd /s /q "%i"E:\jmreport_buy\a>call cd /d E:\jmreport_buy\E:\jmreport_buy>del /s /q /f *.*
删除文件 - E:\jmreport_buy\cpu.jtl
删除文件 - E:\jmreport_buy\sum.jtlE:\jmreport_buy>call cd /d D:\apache-jmeter-3.1\binD:\apache-jmeter-3.1\bin>jmeter -n -t E:\mywork\hs-jmx\MIT\MIT_buy.jmx -l E:\jmreport_buy\sum.jtl -e -o E:\jmreport_buy\a
-----------从这里就开始执行了------------
Writing log file to: D:\apache-jmeter-3.1\bin\jmeter.log
Creating summariser


Created the tree successfully using E:\mywork\hs-jmx\MIT\MIT_buy.jmx
Starting the test @ Mon Nov 05 15:08:12 CST 2018 (1541401692453)
Waiting for possible Shutdown/StopTestNow/Heapdump message on port 4445
----------这段日志,是因为我的JMETER里面配置了activemq---------
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/D:/apache-jmeter-3.1/lib/activemq-all-5.15.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/D:/apache-jmeter-3.1/lib/ApacheJMeter_slf4j_logkit.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.slf4j.impl.Log4jLoggerFactory]
----------逐渐递增的过程-----------
summary + 204 in 00:00:17 = 12.3/s Avg: 46 Min: 12 Max: 491 Err: 204 (100.00%) Active: 75 Started: 75 Finished: 0
summary + 618 in 00:00:30 = 20.6/s Avg: 756 Min: 11 Max: 14644 Err: 428 (69.26%) Active: 100 Started: 100 Finished: 0
summary = 822 in 00:00:46 = 17.7/s Avg: 580 Min: 11 Max: 14644 Err: 632 (76.89%)
summary + 204 in 00:00:30 = 6.8/s Avg: 9540 Min: 44 Max: 37723 Err: 0 (0.00%) Active: 100 Started: 100 Finished: 0
summary = 1026 in 00:01:17 = 13.4/s Avg: 2362 Min: 11 Max: 37723 Err: 632 (61.60%)
summary + 202 in 00:00:30 = 6.7/s Avg: 12777 Min: 37 Max: 37862 Err: 0 (0.00%) Active: 100 Started: 100 Finished: 0
summary = 1228 in 00:01:46 = 11.5/s Avg: 4075 Min: 11 Max: 37862 Err: 632 (51.47%)
summary + 201 in 00:00:30 = 6.7/s Avg: 12553 Min: 27 Max: 38731 Err: 2 (1.00%) Active: 100 Started: 100 Finished: 0
summary = 1429 in 00:02:16 = 10.5/s Avg: 5267 Min: 11 Max: 38731 Err: 634 (44.37%)
summary + 186 in 00:00:30 = 6.2/s Avg: 13139 Min: 46 Max: 40740 Err: 1 (0.54%) Active: 100 Started: 100 Finished: 0
summary = 1615 in 00:02:47 = 9.7/s Avg: 6174 Min: 11 Max: 40740 Err: 635 (39.32%)
summary + 207 in 00:00:30 = 6.9/s Avg: 12944 Min: 24 Max: 40733 Err: 4 (1.93%) Active: 100 Started: 100 Finished: 0
summary = 1822 in 00:03:17 = 9.3/s Avg: 6943 Min: 11 Max: 40740 Err: 639 (35.07%)
summary + 200 in 00:00:30 = 6.7/s Avg: 12748 Min: 28 Max: 39747 Err: 3 (1.50%) Active: 100 Started: 100 Finished: 0
summary = 2022 in 00:03:47 = 8.9/s Avg: 7517 Min: 11 Max: 40740 Err: 642 (31.75%)
summary + 209 in 00:00:30 = 7.0/s Avg: 12969 Min: 37 Max: 39118 Err: 1 (0.48%) Active: 100 Started: 100 Finished: 0
summary = 2231 in 00:04:16 = 8.7/s Avg: 8028 Min: 11 Max: 40740 Err: 643 (28.82%)
summary + 187 in 00:00:30 = 6.2/s Avg: 12744 Min: 45 Max: 37860 Err: 0 (0.00%) Active: 100 Started: 100 Finished: 0
summary = 2418 in 00:04:47 = 8.4/s Avg: 8393 Min: 11 Max: 40740 Err: 643 (26.59%)
summary + 203 in 00:00:30 = 6.7/s Avg: 13367 Min: 31 Max: 40539 Err: 2 (0.99%) Active: 100 Started: 100 Finished: 0
summary = 2621 in 00:05:17 = 8.3/s Avg: 8778 Min: 11 Max: 40740 Err: 645 (24.61%)
summary + 198 in 00:00:30 = 6.6/s Avg: 12958 Min: 29 Max: 39632 Err: 1 (0.51%) Active: 100 Started: 100 Finished: 0
summary = 2819 in 00:05:47 = 8.1/s Avg: 9072 Min: 11 Max: 40740 Err: 646 (22.92%)
summary + 197 in 00:00:30 = 6.6/s Avg: 12866 Min: 25 Max: 38929 Err: 1 (0.51%) Active: 100 Started: 100 Finished: 0
summary = 3016 in 00:06:16 = 8.0/s Avg: 9319 Min: 11 Max: 40740 Err: 647 (21.45%)
summary + 195 in 00:00:30 = 6.5/s Avg: 13241 Min: 24 Max: 39524 Err: 1 (0.51%) Active: 100 Started: 100 Finished: 0
summary = 3211 in 00:06:46 = 7.9/s Avg: 9558 Min: 11 Max: 40740 Err: 648 (20.18%)
summary + 208 in 00:00:30 = 6.9/s Avg: 12807 Min: 26 Max: 38668 Err: 1 (0.48%) Active: 100 Started: 100 Finished: 0
summary = 3419 in 00:07:17 = 7.8/s Avg: 9755 Min: 11 Max: 40740 Err: 649 (18.98%)
summary + 214 in 00:00:30 = 7.1/s Avg: 12049 Min: 28 Max: 37186 Err: 2 (0.93%) Active: 100 Started: 100 Finished: 0
summary = 3633 in 00:07:46 = 7.8/s Avg: 9890 Min: 11 Max: 40740 Err: 651 (17.92%)
summary + 209 in 00:00:30 = 6.9/s Avg: 11973 Min: 36 Max: 36260 Err: 1 (0.48%) Active: 100 Started: 100 Finished: 0
summary = 3842 in 00:08:17 = 7.7/s Avg: 10004 Min: 11 Max: 40740 Err: 652 (16.97%)
summary + 216 in 00:00:30 = 7.3/s Avg: 11853 Min: 30 Max: 36511 Err: 2 (0.93%) Active: 100 Started: 100 Finished: 0
summary = 4058 in 00:08:46 = 7.7/s Avg: 10102 Min: 11 Max: 40740 Err: 654 (16.12%)
summary + 209 in 00:00:30 = 7.0/s Avg: 11942 Min: 26 Max: 36688 Err: 2 (0.96%) Active: 100 Started: 100 Finished: 0
summary = 4267 in 00:09:17 = 7.7/s Avg: 10192 Min: 11 Max: 40740 Err: 656 (15.37%)
summary + 218 in 00:00:30 = 7.3/s Avg: 12175 Min: 25 Max: 37112 Err: 4 (1.83%) Active: 100 Started: 100 Finished: 0
summary = 4485 in 00:09:46 = 7.6/s Avg: 10289 Min: 11 Max: 40740 Err: 660 (14.72%)
summary + 216 in 00:00:30 = 7.2/s Avg: 11472 Min: 30 Max: 36132 Err: 3 (1.39%) Active: 100 Started: 100 Finished: 0
summary = 4701 in 00:10:16 = 7.6/s Avg: 10343 Min: 11 Max: 40740 Err: 663 (14.10%)
summary + 204 in 00:00:30 = 6.8/s Avg: 12222 Min: 41 Max: 36942 Err: 1 (0.49%) Active: 100 Started: 100 Finished: 0
summary = 4905 in 00:10:47 = 7.6/s Avg: 10421 Min: 11 Max: 40740 Err: 664 (13.54%)
summary + 198 in 00:00:30 = 6.6/s Avg: 12413 Min: 37 Max: 39350 Err: 3 (1.52%) Active: 100 Started: 100 Finished: 0
summary = 5103 in 00:11:17 = 7.5/s Avg: 10498 Min: 11 Max: 40740 Err: 667 (13.07%)
summary + 191 in 00:00:30 = 6.4/s Avg: 13570 Min: 40 Max: 40534 Err: 0 (0.00%) Active: 100 Started: 100 Finished: 0
summary = 5294 in 00:11:47 = 7.5/s Avg: 10609 Min: 11 Max: 40740 Err: 667 (12.60%)
summary + 198 in 00:00:30 = 6.6/s Avg: 13175 Min: 31 Max: 40431 Err: 3 (1.52%) Active: 100 Started: 100 Finished: 0
summary = 5492 in 00:12:17 = 7.5/s Avg: 10702 Min: 11 Max: 40740 Err: 670 (12.20%)
summary + 202 in 00:00:30 = 6.7/s Avg: 13229 Min: 33 Max: 39313 Err: 1 (0.50%) Active: 100 Started: 100 Finished: 0
summary = 5694 in 00:12:47 = 7.4/s Avg: 10791 Min: 11 Max: 40740 Err: 671 (11.78%)
summary + 202 in 00:00:30 = 6.8/s Avg: 12695 Min: 29 Max: 39335 Err: 3 (1.49%) Active: 100 Started: 100 Finished: 0
summary = 5896 in 00:13:17 = 7.4/s Avg: 10857 Min: 11 Max: 40740 Err: 674 (11.43%)
summary + 205 in 00:00:30 = 6.8/s Avg: 12396 Min: 36 Max: 39135 Err: 2 (0.98%) Active: 100 Started: 100 Finished: 0
summary = 6101 in 00:13:47 = 7.4/s Avg: 10908 Min: 11 Max: 40740 Err: 676 (11.08%)
summary + 204 in 00:00:30 = 6.7/s Avg: 12849 Min: 29 Max: 38954 Err: 3 (1.47%) Active: 100 Started: 100 Finished: 0
summary = 6305 in 00:14:17 = 7.4/s Avg: 10971 Min: 11 Max: 40740 Err: 679 (10.77%)
summary + 208 in 00:00:30 = 7.0/s Avg: 12208 Min: 28 Max: 38478 Err: 3 (1.44%) Active: 100 Started: 100 Finished: 0
summary = 6513 in 00:14:47 = 7.3/s Avg: 11011 Min: 11 Max: 40740 Err: 682 (10.47%)
summary + 196 in 00:00:30 = 6.5/s Avg: 12884 Min: 45 Max: 39222 Err: 1 (0.51%) Active: 100 Started: 100 Finished: 0
summary = 6709 in 00:15:17 = 7.3/s Avg: 11065 Min: 11 Max: 40740 Err: 683 (10.18%)
summary + 198 in 00:00:30 = 6.6/s Avg: 12899 Min: 28 Max: 39201 Err: 1 (0.51%) Active: 100 Started: 100 Finished: 0
summary = 6907 in 00:15:47 = 7.3/s Avg: 11118 Min: 11 Max: 40740 Err: 684 (9.90%)
summary + 203 in 00:00:30 = 6.8/s Avg: 13174 Min: 29 Max: 38586 Err: 0 (0.00%) Active: 100 Started: 100 Finished: 0
summary = 7110 in 00:16:17 = 7.3/s Avg: 11177 Min: 11 Max: 40740 Err: 684 (9.62%)
summary + 206 in 00:00:30 = 6.9/s Avg: 12301 Min: 35 Max: 38034 Err: 3 (1.46%) Active: 100 Started: 100 Finished: 0
summary = 7316 in 00:16:47 = 7.3/s Avg: 11208 Min: 11 Max: 40740 Err: 687 (9.39%)
summary + 207 in 00:00:30 = 6.9/s Avg: 12267 Min: 39 Max: 37326 Err: 0 (0.00%) Active: 100 Started: 100 Finished: 0
summary = 7523 in 00:17:17 = 7.3/s Avg: 11237 Min: 11 Max: 40740 Err: 687 (9.13%)
summary + 204 in 00:00:30 = 6.8/s Avg: 12547 Min: 32 Max: 37357 Err: 1 (0.49%) Active: 100 Started: 100 Finished: 0
summary = 7727 in 00:17:47 = 7.2/s Avg: 11272 Min: 11 Max: 40740 Err: 688 (8.90%)
summary + 196 in 00:00:30 = 6.5/s Avg: 12681 Min: 43 Max: 38838 Err: 1 (0.51%) Active: 100 Started: 100 Finished: 0
summary = 7923 in 00:18:17 = 7.2/s Avg: 11307 Min: 11 Max: 40740 Err: 689 (8.70%)
summary + 210 in 00:00:30 = 7.0/s Avg: 12486 Min: 33 Max: 38652 Err: 1 (0.48%) Active: 100 Started: 100 Finished: 0
summary = 8133 in 00:18:47 = 7.2/s Avg: 11337 Min: 11 Max: 40740 Err: 690 (8.48%)
summary + 202 in 00:00:30 = 6.7/s Avg: 12859 Min: 41 Max: 37829 Err: 1 (0.50%) Active: 100 Started: 100 Finished: 0
summary = 8335 in 00:19:17 = 7.2/s Avg: 11374 Min: 11 Max: 40740 Err: 691 (8.29%)
summary + 224 in 00:00:30 = 7.5/s Avg: 11752 Min: 35 Max: 38320 Err: 4 (1.79%) Active: 100 Started: 100 Finished: 0
summary = 8559 in 00:19:47 = 7.2/s Avg: 11384 Min: 11 Max: 40740 Err: 695 (8.12%)
summary + 197 in 00:00:30 = 6.6/s Avg: 12239 Min: 25 Max: 38723 Err: 2 (1.02%) Active: 100 Started: 100 Finished: 0
summary = 8756 in 00:20:17 = 7.2/s Avg: 11403 Min: 11 Max: 40740 Err: 697 (7.96%)
summary + 197 in 00:00:30 = 6.6/s Avg: 12731 Min: 28 Max: 39385 Err: 1 (0.51%) Active: 100 Started: 100 Finished: 0
summary = 8953 in 00:20:46 = 7.2/s Avg: 11432 Min: 11 Max: 40740 Err: 698 (7.80%)
summary + 191 in 00:00:30 = 6.4/s Avg: 13482 Min: 26 Max: 39582 Err: 1 (0.52%) Active: 100 Started: 100 Finished: 0
summary = 9144 in 00:21:16 = 7.2/s Avg: 11475 Min: 11 Max: 40740 Err: 699 (7.64%)
summary + 192 in 00:00:30 = 6.3/s Avg: 13565 Min: 41 Max: 40590 Err: 1 (0.52%) Active: 100 Started: 100 Finished: 0
summary = 9336 in 00:21:47 = 7.1/s Avg: 11518 Min: 11 Max: 40740 Err: 700 (7.50%)
summary + 199 in 00:00:30 = 6.7/s Avg: 13388 Min: 40 Max: 40470 Err: 1 (0.50%) Active: 100 Started: 100 Finished: 0
summary = 9535 in 00:22:17 = 7.1/s Avg: 11557 Min: 11 Max: 40740 Err: 701 (7.35%)
summary + 197 in 00:00:30 = 6.6/s Avg: 12762 Min: 45 Max: 39390 Err: 2 (1.02%) Active: 100 Started: 100 Finished: 0
summary = 9732 in 00:22:47 = 7.1/s Avg: 11582 Min: 11 Max: 40740 Err: 703 (7.22%)
summary + 193 in 00:00:30 = 6.4/s Avg: 13250 Min: 37 Max: 39422 Err: 0 (0.00%) Active: 100 Started: 100 Finished: 0
summary = 9925 in 00:23:16 = 7.1/s Avg: 11614 Min: 11 Max: 40740 Err: 703 (7.08%)
summary + 193 in 00:00:30 = 6.4/s Avg: 13334 Min: 26 Max: 40584 Err: 2 (1.04%) Active: 100 Started: 100 Finished: 0
summary = 10118 in 00:23:47 = 7.1/s Avg: 11647 Min: 11 Max: 40740 Err: 705 (6.97%)
summary + 207 in 00:00:30 = 6.9/s Avg: 12963 Min: 28 Max: 40081 Err: 2 (0.97%) Active: 100 Started: 100 Finished: 0
summary = 10325 in 00:24:16 = 7.1/s Avg: 11673 Min: 11 Max: 40740 Err: 707 (6.85%)
summary + 210 in 00:00:30 = 7.0/s Avg: 12071 Min: 26 Max: 38238 Err: 3 (1.43%) Active: 100 Started: 100 Finished: 0
summary = 10535 in 00:24:47 = 7.1/s Avg: 11681 Min: 11 Max: 40740 Err: 710 (6.74%)
summary + 208 in 00:00:30 = 6.9/s Avg: 12278 Min: 29 Max: 38565 Err: 3 (1.44%) Active: 100 Started: 100 Finished: 0
summary = 10743 in 00:25:17 = 7.1/s Avg: 11693 Min: 11 Max: 40740 Err: 713 (6.64%)
summary + 194 in 00:00:30 = 6.5/s Avg: 12949 Min: 32 Max: 39111 Err: 2 (1.03%) Active: 100 Started: 100 Finished: 0
summary = 10937 in 00:25:47 = 7.1/s Avg: 11715 Min: 11 Max: 40740 Err: 715 (6.54%)
summary + 204 in 00:00:30 = 6.7/s Avg: 13367 Min: 44 Max: 40036 Err: 0 (0.00%) Active: 100 Started: 100 Finished: 0
summary = 11141 in 00:26:17 = 7.1/s Avg: 11745 Min: 11 Max: 40740 Err: 715 (6.42%)
summary + 204 in 00:00:30 = 6.9/s Avg: 11898 Min: 30 Max: 37900 Err: 3 (1.47%) Active: 100 Started: 100 Finished: 0
summary = 11345 in 00:26:46 = 7.1/s Avg: 11748 Min: 11 Max: 40740 Err: 718 (6.33%)
summary + 198 in 00:00:30 = 6.6/s Avg: 13367 Min: 46 Max: 39485 Err: 1 (0.51%) Active: 100 Started: 100 Finished: 0
summary = 11543 in 00:27:17 = 7.1/s Avg: 11776 Min: 11 Max: 40740 Err: 719 (6.23%)
summary + 200 in 00:00:30 = 6.7/s Avg: 12651 Min: 44 Max: 38302 Err: 0 (0.00%) Active: 100 Started: 100 Finished: 0
summary = 11743 in 00:27:46 = 7.0/s Avg: 11791 Min: 11 Max: 40740 Err: 719 (6.12%)
summary + 180 in 00:00:30 = 5.9/s Avg: 13859 Min: 49 Max: 41650 Err: 0 (0.00%) Active: 100 Started: 100 Finished: 0
summary = 11923 in 00:28:17 = 7.0/s Avg: 11822 Min: 11 Max: 41650 Err: 719 (6.03%)
summary + 200 in 00:00:30 = 6.7/s Avg: 13670 Min: 47 Max: 41145 Err: 1 (0.50%) Active: 100 Started: 100 Finished: 0
summary = 12123 in 00:28:46 = 7.0/s Avg: 11852 Min: 11 Max: 41650 Err: 720 (5.94%)
summary + 203 in 00:00:30 = 6.7/s Avg: 12271 Min: 26 Max: 38329 Err: 1 (0.49%) Active: 100 Started: 100 Finished: 0
summary = 12326 in 00:29:17 = 7.0/s Avg: 11859 Min: 11 Max: 41650 Err: 721 (5.85%)
summary + 195 in 00:00:30 = 6.5/s Avg: 13394 Min: 50 Max: 38983 Err: 0 (0.00%) Active: 100 Started: 100 Finished: 0
summary = 12521 in 00:29:47 = 7.0/s Avg: 11883 Min: 11 Max: 41650 Err: 721 (5.76%)
summary + 128 in 00:00:30 = 4.2/s Avg: 19729 Min: 47 Max: 39563 Err: 0 (0.00%) Active: 51 Started: 100 Finished: 49
summary = 12649 in 00:30:17 = 7.0/s Avg: 11963 Min: 11 Max: 41650 Err: 721 (5.70%)
summary + 50 in 00:00:23 = 2.2/s Avg: 38665 Min: 38000 Max: 39212 Err: 0 (0.00%) Active: 0 Started: 100 Finished: 100
summary = 12699 in 00:30:39 = 6.9/s Avg: 12068 Min: 11 Max: 41650 Err: 721 (5.68%)
Tidying up ... @ Mon Nov 05 15:38:52 CST 2018 (1541403532957)

GUI模式启动Jmeter (我配置了activemq)

 

Writing log file to: C:\windows\system32\jmeter.log
================================================================================
Don't use GUI mode for load testing, only for Test creation and Test debugging !
For load testing, use NON GUI Mode & adapt Java Heap to your test requirements
================================================================================
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/D:/apache-jmeter-3.1/lib/activemq-all-5.15.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/D:/apache-jmeter-3.1/lib/ApacheJMeter_slf4j_logkit.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.slf4j.impl.Log4jLoggerFactory]

 


推荐阅读
author-avatar
a5365258784
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有