Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jakarta-jmeter Wiki" 
for change notification.

The following page has been changed by robertpnz:
http://wiki.apache.org/jakarta-jmeter/LogAnalysis

The comment on the change is:
jmxparse.sh

------------------------------------------------------------------------------
  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.
+ {{{
+ searchvar='//@testname|//elementProp/@name|//elementProp/[EMAIL 
PROTECTED]"Argument.value"]/text()|//ThreadGroup/@enabled|//[EMAIL 
PROTECTED]"RunTime.seconds"]/text()|//[EMAIL PROTECTED]"throughput"]/text()|//s
+ [EMAIL PROTECTED]"filename"]/text()'
+ }}}
+ 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to