Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: oops fix format

...

===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. {{

No Format

$ 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.

...