Please note that I am using the July 17 nightly build.

I would line to run a test plan in non-gui modes.  Specifically I have a
test plant the monitor tomcat server for 5 minutes and output the
results to a file.  I would like to run the test plan once an hour, via
cron.
I tried the command "jmeter-n Monitor.jxm", but what is in the file
generated by the "Monitor Results" is different.

** Expected, i.e. when run in GUI mode
<?xml version="1.0" encoding="UTF-8"?>

<testResults version="1.1">

<monitorStats>
  <stringProp name="stats.memload">57</stringProp>
  <stringProp name="stats.cpuload">0</stringProp>
  <stringProp name="stats.load">29</stringProp>
  <stringProp name="stats.health">3</stringProp>
  <stringProp name="stats.port">8080</stringProp>
  <stringProp name="stats.threadload">1</stringProp>
  <stringProp name="stats.host">localhost</stringProp>
  <stringProp name="stats.timestamp">1122141685675</stringProp>
  <stringProp name="stats.protocol">http</stringProp>
</monitorStats>

</testResults>

** Received, i.e. when run in non-gui mode
<?xml version="1.0" encoding="UTF-8"?>
<testResults version="1.1">
<sampleResult timeStamp="1122141625972" dataType="text"
threadName="Thread Group 1-1" label="HTTP Request" time="63"
responseMessage="OK" responseCode="200" success="true"/>
</testResults>

How do I run a test plan in non-gui mode?



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

Reply via email to