mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-04 20:43:59 +00:00
26 lines
952 B
Plaintext
26 lines
952 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# jmeter
|
|
|
|
> Open source Java application designed for load testing functional behavior and measure performance.
|
|
> More information: <https://jmeter.apache.org/usermanual/get-started.html#options>.
|
|
|
|
- Run a specific test plan in nongui mode:
|
|
|
|
`jmeter {{[-n|--nongui]}} {{[-t|--testfile]}} {{path/to/file.jmx}}`
|
|
|
|
- Run a test plan in nongui mode using a specific log file:
|
|
|
|
`jmeter {{[-n|--nongui]}} {{[-t|--testfile]}} {{path/to/file.jmx}} {{[-l|--logfile]}} {{path/to/logfile.jtl}}`
|
|
|
|
- Run a test plan in nongui mode using a specific proxy:
|
|
|
|
`jmeter {{[-n|--nongui]}} {{[-t|--testfile]}} {{path/to/file.jmx}} {{[-H-|--proxyHost]}} {{127.0.0.1}} {{[-P|--proxyPort]}} {{8888}}`
|
|
|
|
- Run a test plan in nongui mode using a specific JMeter property:
|
|
|
|
`jmeter {{[-n|--nongui]}} {{[-t|--testfile]}} {{path/to/file.jmx}} {{[-J|--jmeterproperty]}} {{key}}='{{value}}'`
|