JMETER CHEAT SHEET

Apache JMeter Performance Testing
v1.2
Install / Launch
  • Sourcejmeter.apache.org/download
  • Windows/Linuxcd <DIR>/bin/jmeter
  • Dockerdocker pull egaillardon/jmeter
Functions & Variables
  • Time${__time(dd/MM/yyyy)}
  • UUID${__UUID()}
  • Random${__Random(0,10)}
  • Random String${__RandomString(10,abc)}
  • Thread Num${__threadNum}
  • Machine IP${__machineIP}
Keyboard Shortcuts
CTRL+0
Thread Group
CTRL+1
HTTP Request
CTRL+R
Start Test
CTRL+E
Clear All
CTRL+F
Search
Variables & Properties
  • Variable${Variable}
  • Property${__P(var,default)}
  • Nested${__V(Var${N})}
// Groovy props.put("protocol", "${protocol}"); props.get("protocol");
JMeter CLI
  • -nRun headless (non-GUI)
  • -tTest plan file (.jmx)
  • -lOutput log file (.jtl)
  • -JDefine JMeter property
  • -H / -PProxy host / port
  • -rRun remote servers
# Basic execution ./jmeter -n -t testplan.jmx -l results.jtl # Advanced with properties ./jmeter -n -H proxy.server -P 8000 -Jvu=400 -JDuration=3600 -t testplan.jmx -l results.jtl
Recommended Plugins

Download from jmeter-plugins.org → copy JAR to lib/ext

Custom Thread Groups
Perfmon Monitoring
Weighted Switch Controller
SSHMon Sample Collector
Dummy Sampler
Selenium/WebDriver
Random CSV Data Set
Websocket Samplers
ElasticSearch Backend
Azure Backend Listener
Parallel Controller
AMQP Client
Remote Shortcuts
CTRL+SHIFT+R
Start All
ALT+X
Stop All
ALT+Z
Shutdown
Tips & Config
HiDPI Settings
jmeter.hidpi.mode=true
jmeter.hidpi.scale.factor=2.0
Network Throttling
cps = (kbps * 1024) / 8
Component Shortcuts
CTRL+2
Regex Extractor
CTRL+3
Response Assertion
CTRL+4
Constant Timer
CTRL+5
JSR223 PostProcessor
CTRL+8
Debug Sampler
CTRL+9
View Results Tree

Convert a script — free, in your browser

JMeter, k6 and Gatling, any direction. Nothing is uploaded.

All 51 cheat sheets

Free to read and free to print — no signup. Want them as A4 PDFs you can print? Get all 51 as a PDF bundle for £14.99.
A Martkos IT reference sheet · Blog · Free tools