jmeter -n -t *.jmx -l *.jtl/*.csv -j *.log
--?
打印命令行选项并退出
-h, --help
打印用法信息并退出
-v, --version
打印版本信息并退出
-p, --propfile <argument>
JMeter的属性文件使用
-q, --addprop <argument>
附加的JMeter属性文件
-t, --testfile <argument>
运行jmeter测试(.jmx)文件
-l, --logfile <argument>
文件记录样本
-j, --jmeterlogfile <argument>
JMeter运行的日志文件 (jmeter.log)
-n, --nongui
在非GUI模式下运行的JMeter
-s, --server
run the JMeter server
-H, --proxyHost <argument>
Set a proxy server for JMeter to use
-P, --proxyPort <argument>
Set proxy server port for JMeter to use
-N, --nonProxyHosts <argument>
Set nonproxy host list (e.g. *.apache.org|localhost)
-u, --username <argument>
Set username for proxy server that JMeter is to use
-a, --password <argument>
Set password for proxy server that JMeter is to use
-J, --jmeterproperty <argument>=<value>
Define additional JMeter properties
-G, --globalproperty <argument>=<value>
Define Global properties (sent to servers)
e.g. -Gport=123
or -Gglobal.properties
-D, --systemproperty <argument>=<value>
Define additional system properties
-S, --systemPropertyFile <argument>
additional system property file(s)
-L, --loglevel <argument>=<value>
[category=]level e.g. jorphan=INFO or jmeter.util=DEBUG
-r, --runremote
Start remote servers (as defined in remote_hosts)
-R, --remotestart <argument>
Start these remote servers (overrides remote_hosts)
-d, --homedir <argument>
the jmeter home directory to use
-X, --remoteexit
Exit the remote servers at end of test (non-GUI)
-g, --reportonly <argument>
generate report dashboard only, from a test results file
-e, --reportatendofloadtests
generate report dashboard after load test
-o, --reportoutputfolder <argument>
output folder for report dashboard