Files
tldr/pages.zh/common/jmeter.md

20 lines
716 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# jmeter
> 一个开源的Java应用程序旨在进行负载测试功能行为和性能测量。
> 更多信息:<https://jmeter.apache.org>。
- 在无GUI模式下运行特定的测试计划
`jmeter --nongui --testfile {{path/to/file.jmx}}`
- 使用特定日志文件在无GUI模式下运行测试计划
`jmeter --nogui --testfile {{path/to/file.jmx}} --logfile {{path/to/logfile.jtl}}`
- 使用特定代理在无GUI模式下运行测试计划
`jmeter --nongui --testfile {{path/to/file.jmx}} --proxyHost {{127.0.0.1}} --proxyPort {{8888}}`
- 使用特定JMeter属性在无GUI模式下运行测试计划
`jmeter --jmeterproperty {{key}}='{{value}}' --nongui --testfile {{path/to/file.jmx}}`