Hi Kent, It's a good practice to change the index.apt to index.apt.vm (trigger
velocity) and change 1.0-SNAPSHOT to ${project.version}.This way at least the
versions are always up to date. -Robert From: [email protected]
To: [email protected]
Date: Mon, 24 Oct 2011 06:16:25 -0500
Subject: [mojo-scm] [14890] trunk/sandbox/chronos/chronos-samples: some more
sample updates
[14890] trunk/sandbox/chronos/chronos-samples: some more sample updates
Revision 14890
Author soelvpil
Date 2011-10-24 06:16:25 -0500 (Mon, 24 Oct 2011)
Log Message
some more sample updates
Modified Paths
trunk/sandbox/chronos/chronos-samples/historytest/src/site/apt/index.apt
trunk/sandbox/chronos/chronos-samples/jmeterjunitsamples/pom.xml
trunk/sandbox/chronos/chronos-samples/jmeterjunitsamples/src/site/apt/index.apt
trunk/sandbox/chronos/chronos-samples/jmeterjunitsamples/src/site/site.xml
trunk/sandbox/chronos/chronos-samples/minimalconfigwithchecks/src/site/apt/index.apt
trunk/sandbox/chronos/chronos-samples/multiple/pom.xml
trunk/sandbox/chronos/chronos-samples/multiple/src/site/site.xml
trunk/sandbox/chronos/chronos-samples/pom.xml
Added Paths
trunk/sandbox/chronos/chronos-samples/multiple/
trunk/sandbox/chronos/chronos-samples/multiple/src/site/apt/
trunk/sandbox/chronos/chronos-samples/multiple/src/site/apt/index.apt
Removed Paths
trunk/sandbox/chronos/chronos-samples/jmeterrun/
Diff
Modified:
trunk/sandbox/chronos/chronos-samples/historytest/src/site/apt/index.apt (14889
=> 14890)
--- trunk/sandbox/chronos/chronos-samples/historytest/src/site/apt/index.apt
2011-10-24 10:35:48 UTC (rev 14889)
+++ trunk/sandbox/chronos/chronos-samples/historytest/src/site/apt/index.apt
2011-10-24 11:16:25 UTC (rev 14890)
@@ -1,4 +1,4 @@
-Minimal config sample
+History sample
This sample illustrates historic reports.
You might want to change historydir to something outside of sourcecontrol,
to avoid wiping history on a clean build
Modified: trunk/sandbox/chronos/chronos-samples/jmeterjunitsamples/pom.xml
(14889 => 14890)
--- trunk/sandbox/chronos/chronos-samples/jmeterjunitsamples/pom.xml
2011-10-24 10:35:48 UTC (rev 14889)
+++ trunk/sandbox/chronos/chronos-samples/jmeterjunitsamples/pom.xml
2011-10-24 11:16:25 UTC (rev 14890)
@@ -53,7 +53,6 @@
<dataid>jmeter-report-1</dataid>
<input>${basedir}/src/test/resources/simplejunitplan.jmx</input>
<loggc>true</loggc>
- <responsetimeaverage>5.0</responsetimeaverage>
</configuration>
<goals>
<goal>jmeter</goal>
@@ -77,54 +76,16 @@
<dataid>jmeter-report-1</dataid>
<reportid>jmeter-report-1</reportid>
<title>JMeter Test Report</title>
- <description>
- This is a test report, which
- illustrates the different parts of
- the reports.
- </description>
- <showsummary>true</showsummary>
- <showresponse>true</showresponse>
- <showhistogram>false</showhistogram>
- <showpercentile>false</showpercentile>
- <showaverage>false</showaverage>
</configuration>
<reports>
<report>report</report>
</reports>
</plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>chronos-report-maven-plugin</artifactId>
- <version>1.0-SNAPSHOT</version>
- <configuration>
- <dataid>jmeter-report-1</dataid>
- <reportid>jmeter-report-2</reportid>
- <title>JMeter Test Report</title>
- <description>
- This is a test report, which
- illustrates the different parts of
- the reports.
- </description>
- <showsummary>true</showsummary>
- <showresponse>true</showresponse>
- <showhistogram>false</showhistogram>
- <showpercentile>false</showpercentile>
- <showaverage>false</showaverage>
- <responsetimedivider>10</responsetimedivider>
- </configuration>
- <reports>
- <report>report</report>
- </reports>
- </plugin>
-
</reportPlugins>
</configuration>
</plugin>
</plugins>
</build>
- <properties>
-
<jmeter.home>/Applications/Utilities/Java/jakarta-jmeter-2.3.1</jmeter.home>
- </properties>
</project>
Modified:
trunk/sandbox/chronos/chronos-samples/jmeterjunitsamples/src/site/apt/index.apt
(14889 => 14890)
---
trunk/sandbox/chronos/chronos-samples/jmeterjunitsamples/src/site/apt/index.apt
2011-10-24 10:35:48 UTC (rev 14889)
+++
trunk/sandbox/chronos/chronos-samples/jmeterjunitsamples/src/site/apt/index.apt
2011-10-24 11:16:25 UTC (rev 14890)
@@ -1,4 +1,4 @@
-Minimal config sample
+JMeter junit sample
This sample illustrates reports where the tests are junit ones. Note that
the chronos configuration is the same as usually.
We depend on JUnit (since our test cases are JUnit scripts. In this sample
they reside under test-sources, so we
Modified:
trunk/sandbox/chronos/chronos-samples/jmeterjunitsamples/src/site/site.xml
(14889 => 14890)
--- trunk/sandbox/chronos/chronos-samples/jmeterjunitsamples/src/site/site.xml
2011-10-24 10:35:48 UTC (rev 14889)
+++ trunk/sandbox/chronos/chronos-samples/jmeterjunitsamples/src/site/site.xml
2011-10-24 11:16:25 UTC (rev 14890)
@@ -3,7 +3,7 @@
<body>
<menu name="Project Reports">
<item name="Introduction" href="index.html"/>
- <item name="Performancetest" href="performancetest.html"/>
+ <item name="Performancetest" href="jmeter-report-1.html"/>
</menu>
</body>
</project>
\ No newline at end of file
Modified:
trunk/sandbox/chronos/chronos-samples/minimalconfigwithchecks/src/site/apt/index.apt
(14889 => 14890)
---
trunk/sandbox/chronos/chronos-samples/minimalconfigwithchecks/src/site/apt/index.apt
2011-10-24 10:35:48 UTC (rev 14889)
+++
trunk/sandbox/chronos/chronos-samples/minimalconfigwithchecks/src/site/apt/index.apt
2011-10-24 11:16:25 UTC (rev 14890)
@@ -1,4 +1,4 @@
-Minimal config sample
+Minimal config with checks sample
This sample illustrates the 'check' goal, validating a few performance
goals.
Copied: trunk/sandbox/chronos/chronos-samples/multiple (from rev 14873,
trunk/sandbox/chronos/chronos-samples/jmeterrun) ( => )
Modified: trunk/sandbox/chronos/chronos-samples/multiple/pom.xml
===================================================================
--- trunk/sandbox/chronos/chronos-samples/jmeterrun/pom.xml 2011-10-21
08:39:43 UTC (rev 14873)
+++ trunk/sandbox/chronos/chronos-samples/multiple/pom.xml 2011-10-24
11:16:25 UTC (rev 14890)
@@ -2,10 +2,10 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.codehaus.mojo.chronos-samples</groupId>
- <artifactId>jmeterrun</artifactId>
+ <artifactId>multipletests</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
- <name>jmeterrun</name>
+ <name>Multiple tests</name>
<url>http://maven.apache.org</url>
<parent>
<groupId>org.codehaus.mojo</groupId>
@@ -25,12 +25,6 @@
<configuration>
<dataid>simple</dataid>
<input>${basedir}/src/main/resources/simplewebplan.jmx</input>
- <responsetimeaverage>800.0</responsetimeaverage>
- <responsetime95>1500.0</responsetime95>
- <responsetimemax>10000.0</responsetimemax>
- <maxthroughput>3.6</maxthroughput>
- <gctimeratio>0.001</gctimeratio>
- <collectedprsecond>0.3</collectedprsecond>
</configuration>
<goals>
<goal>jmeter</goal>
@@ -43,11 +37,6 @@
<configuration>
<dataid>codehausmojo</dataid>
<input>${basedir}/src/main/resources/codehausmojowebplan.jmx</input>
- <responsetimeaverage>1600.0</responsetimeaverage>
- <responsetime95>9250.0</responsetime95>
- <maxthroughput>25</maxthroughput>
- <gctimeratio>0.002</gctimeratio>
- <collectedprsecond>5.5</collectedprsecond>
</configuration>
<goals>
<goal>jmeter</goal>
@@ -69,15 +58,23 @@
<artifactId>chronos-report-maven-plugin</artifactId>
<version>1.0-SNAPSHOT</version>
<configuration>
+ <dataid>simple</dataid>
+ <reportid>simple</reportid>
+ <title>JMeter Test Report</title>
+ <description>This is a test report, which illustrates the
different parts of the reports.</description>
+ </configuration>
+ <reports>
+ <report>report</report>
+ </reports>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>chronos-report-maven-plugin</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <configuration>
<dataid>codehausmojo</dataid>
<reportid>codehausmojo</reportid>
<title>JMeter Test Report</title>
- <description>This is a test report, which illustrates the
different parts of the reports.</description>
- <showsummary>true</showsummary>
- <showresponse>true</showresponse>
- <showhistogram>false</showhistogram>
- <showpercentile>false</showpercentile>
- <showaverage>false</showaverage>
</configuration>
<reports>
<report>report</report>
@@ -88,7 +85,4 @@
</plugin>
</plugins>
</build>
- <properties>
-
<jmeter.home>/Applications/Utilities/Java/jakarta-jmeter-2.3.1</jmeter.home>
- </properties>
</project>
Added: trunk/sandbox/chronos/chronos-samples/multiple/src/site/apt/index.apt (0
=> 14890)
--- trunk/sandbox/chronos/chronos-samples/multiple/src/site/apt/index.apt
(rev 0)
+++ trunk/sandbox/chronos/chronos-samples/multiple/src/site/apt/index.apt
2011-10-24 11:16:25 UTC (rev 14890)
@@ -0,0 +1,84 @@
+Multiple tests sample
+
+ This sample illustrates 2 tests and 2 reports in the same project.
+
+------------------
+
+<project>
+ ...
+
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>chronos-jmeter-maven-plugin</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <phase>integration-test</phase>
+ <id>simple</id>
+ <configuration>
+ <dataid>simple</dataid>
+
<input>${basedir}/src/main/resources/simplewebplan.jmx</input>
+ </configuration>
+ <goals>
+ <goal>jmeter</goal>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ <execution>
+ <phase>integration-test</phase>
+ <id>codehausmojo</id>
+ <configuration>
+ <dataid>codehausmojo</dataid>
+
<input>${basedir}/src/main/resources/codehausmojowebplan.jmx</input>
+ </configuration>
+ <goals>
+ <goal>jmeter</goal>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ <version>3.0</version>
+
+ <configuration>
+ <reportPlugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>chronos-report-maven-plugin</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <configuration>
+ <dataid>simple</dataid>
+ <reportid>simple</reportid>
+ <title>JMeter Test Report</title>
+ <description>This is a test report, which illustrates the
different parts of the reports.</description>
+ </configuration>
+ <reports>
+ <report>report</report>
+ </reports>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>chronos-report-maven-plugin</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <configuration>
+ <dataid>codehausmojo</dataid>
+ <reportid>codehausmojo</reportid>
+ <title>JMeter Test Report</title>
+ </configuration>
+ <reports>
+ <report>report</report>
+ </reports>
+ </plugin>
+ </reportPlugins>
+ </configuration>
+ </plugin>
+
+ ...
+</project>
+
+------------------
+
Modified: trunk/sandbox/chronos/chronos-samples/multiple/src/site/site.xml
(14873 => 14890)
--- trunk/sandbox/chronos/chronos-samples/jmeterrun/src/site/site.xml
2011-10-21 08:39:43 UTC (rev 14873)
+++ trunk/sandbox/chronos/chronos-samples/multiple/src/site/site.xml
2011-10-24 11:16:25 UTC (rev 14890)
@@ -2,7 +2,9 @@
<project>
<body>
<menu name="Project Reports">
- <item name="JMeter 1" href="jmeter-report-1.html"/>
+ <item name="Introduction" href="index.html"/>
+ <item name="Simple" href="simple.html"/>
+ <item name="Codehaus" href="codehausmojo.html"/>
</menu>
</body>
</project>
\ No newline at end of file
Modified: trunk/sandbox/chronos/chronos-samples/pom.xml (14889 => 14890)
--- trunk/sandbox/chronos/chronos-samples/pom.xml 2011-10-24 10:35:48 UTC
(rev 14889)
+++ trunk/sandbox/chronos/chronos-samples/pom.xml 2011-10-24 11:16:25 UTC
(rev 14890)
@@ -39,7 +39,7 @@
<module>minimalreport</module>
<module>jmeterjunitsamples</module>
<module>historytest</module>
- <module>jmeterrun</module>
+ <module>multiple</module>
</modules>
</profile>
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email