JMeter
JMeter
Example scripts for running JMeter .jmx
s
localhost
1
2
3
4
5
6
7
8
9
$jmxfile = 'localhost.jmx'
$output = './output/' + (Get-Date -Format "yyyyMMdd_HHmmss")
jmeter `
--nongui `
--testfile ./jmx/$jmxfile `
--logfile ./$output/results.txt `
--jmeterlogfile ./$output/jmeter.log `
--reportatendofloadtests `
--reportoutputfolder ./$output/report
remote
Using SSL/TLS/certificates
1
2
3
4
5
6
7
8
9
10
11
$jmxfile = 'dev.jmx'
$output = './output/' + (Get-Date -Format "yyyyMMdd_HHmmss")
jmeter `
--nongui `
--testfile ./jmx/$jmxfile `
--logfile ./$output/results.txt `
--jmeterlogfile ./$output/jmeter.log `
--reportatendofloadtests `
--reportoutputfolder ./$output/report `
-Djavax.net.ssl.keyStore=$env:CERTPATH `
-Djavax.net.ssl.keyStorePassword=$env:CERTPASS