LinuxCommandLibrary

jmeter

load testing tool for web applications

TLDR

Launch GUI

$ jmeter
copy
Run test plan
$ jmeter -n -t [test.jmx]
copy
Run with log output
$ jmeter -n -t [test.jmx] -l [results.jtl]
copy
Generate HTML report
$ jmeter -n -t [test.jmx] -l [results.jtl] -e -o [report/]
copy
Run with properties
$ jmeter -n -t [test.jmx] -J[threads=100]
copy
Remote distributed test
$ jmeter -n -t [test.jmx] -R [server1,server2]
copy

SYNOPSIS

jmeter [options]

DESCRIPTION

JMeter is a load testing tool for web applications. It simulates heavy loads on servers to test performance.
The tool supports HTTP, JDBC, FTP, and other protocols. It provides graphical test design and result analysis.

PARAMETERS

-n

Non-GUI mode.
-t FILE
Test plan file (.jmx).
-l FILE
Log results file (.jtl).
-e
Generate report after test.
-o DIR
Report output directory.
-JPROP=VALUE
Set property.
-R SERVERS
Remote servers.
--help
Display help information.

CAVEATS

Java-based. Resource intensive for large tests. GUI for design, CLI for execution.

HISTORY

Apache JMeter was created by Stefano Mazzocchi as a load testing tool, becoming a standard for web performance testing.

SEE ALSO

ab(1), siege(1), wrk(1), k6(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community