Added report template in readme.text and fix when displaying system properties.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@412361 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Frederick G. Oconer 2006-06-07 10:43:52 +00:00
parent e8b3bdb866
commit e332143fd8
2 changed files with 39 additions and 1 deletions

View File

@ -24,6 +24,44 @@ Goals | Description
| 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)
####################################################################################################

View File

@ -88,7 +88,7 @@ public class PerfReportGenerator {
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>");