Author: foconer
Date: Wed Jun 7 03:43:52 2006
New Revision: 412361
URL: http://svn.apache.org/viewvc?rev=412361&view=rev
Log:
Added report template in readme.text and fix when displaying system properties.
Modified:
incubator/activemq/trunk/activemq-perftest/readme.txt
incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/tool/PerfReportGenerator.java
Modified: incubator/activemq/trunk/activemq-perftest/readme.txt
URL:
http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-perftest/readme.txt?rev=412361&r1=412360&r2=412361&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-perftest/readme.txt (original)
+++ incubator/activemq/trunk/activemq-perftest/readme.txt Wed Jun 7 03:43:52
2006
@@ -24,6 +24,44 @@
| specified in the parameter
"sysTest.reportDirectory".
|
+
+-----------------------------------------------------------------------------------------------
+|Performance Test Report Template
+|-----------------------------------------------------------------------------------------------
+|<test-report>
+| <test-information>
+| <system-settings>
+| .
+| .
+| .
+| System Properties
+| .
+| .
+| .
+| </system-settings>
+| <client-settings>
+| .
+| .
+| .
+| Configuration Properties
+| .
+| .
+| .
+|
+| </client-settings>
+| </test-information>
+| <test-result>
+| <sample index=0 name=ID:foconer-4730-1149675813127-2:3 throughput=2857/>
+| <sample index=0 name=ID:foconer-4730-1149675813127-2:0 throughput=2845/>
+| <sample index=0 name=ID:foconer-4730-1149675813127-2:2 throughput=2845/>
+| </test-result>
+|</test-report>
+|
+-------------------------------------------------------------------------------------------------
+
+
+
+
####################################################################################################
# Configuration for running a system of JMS Clients (Producer/Consumer)
####################################################################################################
Modified:
incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/tool/PerfReportGenerator.java
URL:
http://svn.apache.org/viewvc/incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/tool/PerfReportGenerator.java?rev=412361&r1=412360&r2=412361&view=diff
==============================================================================
---
incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/tool/PerfReportGenerator.java
(original)
+++
incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/tool/PerfReportGenerator.java
Wed Jun 7 03:43:52 2006
@@ -88,7 +88,7 @@
while (keys.hasMoreElements()) {
key = (String) keys.nextElement();
- writer.println("<" + key + ">" + getTestSettings().get(key) + "</"
+ key + ">");
+ writer.println("<" + key + ">" + System.getProperty(key) + "</" +
key + ">");
}
writer.println("</system-settings>");