...
No Format |
---|
$ jtlmin.sh Usage: jtlmin.sh <filename> Summarizes JMeter JTL output into 1-minute blocks $ jtlmin.sh queryBalance.jtl Processing queryBalance.jtl $ ls q* queryBalance.jtl queryBalance.jtl.OUT $ head queryBalance.jtl.OUT /c/jmeter/performance/Myserver/output/queryBalance.jtl unixtime date time thruput(tpm) response(ms) 1160354940 2006.Oct.09 13:49 65 0 1160355000 2006.Oct.09 13:50 0 0 1160355060 2006.Oct.09 13:51 0 0 1160355120 2006.Oct.09 13:52 56 0 1160355180 2006.Oct.09 13:53 98 108 1160355240 2006.Oct.09 13:54 84 125 1160355300 2006.Oct.09 13:55 0 0 1160355360 2006.Oct.09 13:56 0 0 |
===Extract from JMeter Test Plan (JMX file)===
Script: attachment:jmxparse.sh.txt BR Another possibly useful tool which will give a text based summary of what's in your JMeter JMX script. Mainly uses grep and sed.
{{
$ jmxparse.sh pre60min5BH10_grserver.jmx
TestPlan.enabled=true
clientID Myserver
wsdl http://12.34.56.78:8080/webservice.wsdl
hostIP 12.34.56.78
hostPort 8080
serialFile C:\jmeter\prioritisation\serial.txt
rampupInterval 3600
rampdownInterval 3600
spikeInterval 300 testname= applyDebit enabled=false
num_threads 26
rampup6_1 259
rampup6_2 1034
rampdown6_1 1034
rampdown6_2 259
spikeLoad6 1552 testname= applyCredit enabled=false
num_threads 2
rampup5_1 9
rampup5_2 34
rampdown5_1 34
rampdown5_2 9
spikeLoad5 33 testname= queryBalance enabled=true
num_threads 14
rampup2_1 125
rampup2_2 461
rampdown2_1 461
rampdown2_2 125
spikeLoad2 497
}}}
I tried to extract this information using XPath but it's not really designed to extract numerous pieces of data. Anyway, here's the XPath expression, just FYI.
No Format |
---|
searchvar='//@testname|//elementProp/@name|//elementProp/stringProp[@name="Argument.value"]/text()|//ThreadGroup/@enabled|//stringProp[@name="RunTime.seconds"]/text()|//stringProp[@name="throughput"]/text()|//s
tringProp[@name="filename"]/text()'
|