Author: [email protected]
Date: Thu Apr 28 14:17:07 2011
New Revision: 1057

Log:
[AMDATUCASSANDRA-7] Initial setup of using generic performance test bundle

Added:
   trunk/amdatu-cassandra/test-performance/pom.xml
   trunk/amdatu-cassandra/test-performance/src/
   trunk/amdatu-cassandra/test-performance/src/main/
   trunk/amdatu-cassandra/test-performance/src/main/assembly/
   trunk/amdatu-cassandra/test-performance/src/main/assembly/assembly.xml
   trunk/amdatu-cassandra/test-performance/src/main/assembly/component.xml
   trunk/amdatu-cassandra/test-performance/src/main/resources/
   trunk/amdatu-cassandra/test-performance/src/main/resources/amdatu-versions/
   trunk/amdatu-cassandra/test-performance/src/main/resources/jmeter-plans/
   trunk/amdatu-cassandra/test-performance/src/main/resources/results/
   trunk/amdatu-cassandra/test-performance/src/main/resources/shell/
   
trunk/amdatu-cassandra/test-performance/src/main/resources/shell/configuration.properties
   trunk/amdatu-cassandra/test-performance/src/main/resources/shell/run.bat
   trunk/amdatu-cassandra/test-performance/src/main/resources/shell/run.sh
   trunk/amdatu-cassandra/test-performance/src/main/resources/tmp/
Removed:
   trunk/amdatu-cassandra/test-performance/amdatu-versions/
   trunk/amdatu-cassandra/test-performance/results/

Added: trunk/amdatu-cassandra/test-performance/pom.xml
==============================================================================
--- (empty file)
+++ trunk/amdatu-cassandra/test-performance/pom.xml     Thu Apr 28 14:17:07 2011
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.amdatu.opensocial</groupId>
+    <artifactId>org.amdatu.opensocial</artifactId>
+    <version>0.2.0-SNAPSHOT</version>
+  </parent>
+  <artifactId>org.amdatu.cassandra.test.performance</artifactId>
+  <packaging>jar</packaging>
+  <name>Amdatu Open Social - Performance Test</name>
+  <description>This bundle generates the Performance Test framework for the 
Cassandra project</description>
+
+  <properties>
+    <test.performance.version>0.2.0-SNAPSHOT</test.performance.version>
+  </properties>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.amdatu.test</groupId>
+      <artifactId>org.amdatu.test.performance</artifactId>
+      <version>${test.performance.version}</version>
+      <scope>runtime</scope>
+      <type>jar</type>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-dependency-plugin</artifactId>
+        <version>2.2</version>
+        <executions>
+          <execution>
+            <id>copy-perftest-jar</id>
+            <phase>process-resources</phase>
+            <goals>
+              <goal>copy-dependencies</goal>
+            </goals>
+            <configuration>
+              <includeGroupIds>org.amdatu.test</includeGroupIds>
+               
<includeArtifactIds>org.amdatu.test.performance</includeArtifactIds>
+              
<outputDirectory>${project.build.directory}/assembly</outputDirectory>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-assembly-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>create-release</id>
+            <phase>package</phase>
+            <goals>
+              <goal>single</goal>
+            </goals>
+            <configuration>
+              <descriptors>
+                <descriptor>src/main/assembly/assembly.xml</descriptor>
+              </descriptors>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Added: trunk/amdatu-cassandra/test-performance/src/main/assembly/assembly.xml
==============================================================================
--- (empty file)
+++ trunk/amdatu-cassandra/test-performance/src/main/assembly/assembly.xml      
Thu Apr 28 14:17:07 2011
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<assembly 
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+  
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0
 http://maven.apache.org/xsd/assembly-1.1.0.xsd";>
+  <id>bin</id>
+  <formats>
+    <format>dir</format>
+    <format>zip</format>
+  </formats>
+  <includeBaseDirectory>false</includeBaseDirectory>
+  <componentDescriptors>
+    <componentDescriptor>src/main/assembly/component.xml</componentDescriptor>
+  </componentDescriptors>
+</assembly>
\ No newline at end of file

Added: trunk/amdatu-cassandra/test-performance/src/main/assembly/component.xml
==============================================================================
--- (empty file)
+++ trunk/amdatu-cassandra/test-performance/src/main/assembly/component.xml     
Thu Apr 28 14:17:07 2011
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component 
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/component/1.1.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+  
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/component/1.1.0
 view-source:http://maven.apache.org/xsd/component-1.1.0.xsd";>
+
+  <fileSets>
+    <fileSet>
+      <directory>src/main/resources/amdatu-versions</directory>
+      <outputDirectory>amdatu-versions</outputDirectory>
+      <filtered>false</filtered>
+    </fileSet>
+    <fileSet>
+      <directory>src/main/resources/jmeter-plans</directory>
+      <outputDirectory>jmeter-plans</outputDirectory>
+      <filtered>false</filtered>
+    </fileSet>
+    <fileSet>
+      <directory>src/main/resources/results</directory>
+      <outputDirectory>results</outputDirectory>
+      <filtered>false</filtered>
+    </fileSet>
+    <fileSet>
+      <directory>src/main/resources/tmp</directory>
+      <outputDirectory>tmp</outputDirectory>
+      <filtered>false</filtered>
+    </fileSet>
+    <fileSet>
+      <directory>target/assembly</directory>
+      <outputDirectory></outputDirectory>
+      <filtered>false</filtered>
+    </fileSet>
+    <fileSet>
+      <directory>src/main/resources/shell</directory>
+      <outputDirectory></outputDirectory>
+      <filtered>true</filtered>
+    </fileSet>
+  </fileSets>
+</component>
\ No newline at end of file

Added: 
trunk/amdatu-cassandra/test-performance/src/main/resources/shell/configuration.properties
==============================================================================
--- (empty file)
+++ 
trunk/amdatu-cassandra/test-performance/src/main/resources/shell/configuration.properties
   Thu Apr 28 14:17:07 2011
@@ -0,0 +1,40 @@
+# Java properties file for performance test execution.
+
+# Run a performance test
+runtest=true
+
+# ... on all Amdatu versions available in directory:
+# NB: Copy the versions to this directory before running this test
+versiondir=amdatu-versions
+
+# ... , execute the JMeter plans from the directory:
+jmeterplansdir=jmeter-plans
+
+# ... , write the result to the directory:
+resultsdir=results
+
+# ... and use this as temporary directoy:
+tmpdir=tmp
+
+# Before execution of the test, remove the example bundles from the release
+noexamples=true
+
+# Run the HTTP service on port 2204
+port=2204
+
+# Run a verification, meaning that also a performance test is excuted of
+# version X against version X. This should obviously result in an outcome
+# stating that there is no significant difference in performance
+verify=true
+
+# Run 1 testloop
+testloops=50
+
+# Perform a statistics analysis after running the test
+analyze=true
+
+# ... but omit the first 50 results of each test run
+omit=50
+
+# ... and use new samples Z where each sample Z is mean of m samples X-Y
+m=250
\ No newline at end of file

Added: trunk/amdatu-cassandra/test-performance/src/main/resources/shell/run.bat
==============================================================================
--- (empty file)
+++ trunk/amdatu-cassandra/test-performance/src/main/resources/shell/run.bat    
Thu Apr 28 14:17:07 2011
@@ -0,0 +1 @@
+java -Xmx1024m -jar 
org.amdatu.test.performance-${test.performance.version}.jar -config 
configuration.properties
\ No newline at end of file

Added: trunk/amdatu-cassandra/test-performance/src/main/resources/shell/run.sh
==============================================================================
--- (empty file)
+++ trunk/amdatu-cassandra/test-performance/src/main/resources/shell/run.sh     
Thu Apr 28 14:17:07 2011
@@ -0,0 +1 @@
+java -Xmx1024m -jar 
org.amdatu.test.performance-${test.performance.version}.jar -config 
configuration.properties
\ No newline at end of file
_______________________________________________
Amdatu-commits mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-commits

Reply via email to