Skip to content

Commit

Permalink
51517753: Publish JMeter reports to Sonar via Maven
Browse files Browse the repository at this point in the history
Adds jmeter-maven-plugin to "jmeter" profile (invoke with "mvn <goal> -Pjmeter").
Adds a sample jmeter test plan to fcrepo-webapp/src/test/jmeter.

TODO: pull the latest fedora.jmx from ff-jmeter-madness on demand?

https://www.pivotaltracker.com/story/show/51517753
  • Loading branch information
Edwin Shin committed Jun 13, 2013
1 parent 06b61ac commit d3ec209
Show file tree
Hide file tree
Showing 3 changed files with 1,363 additions and 60 deletions.
31 changes: 29 additions & 2 deletions fcrepo-webapp/pom.xml
Expand Up @@ -148,8 +148,7 @@
</goals>
<configuration>
<connectors>
<connector
implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
<connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
<port>${test.port}</port>
<maxIdleTime>60000</maxIdleTime>
</connector>
Expand All @@ -172,4 +171,32 @@
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>jmeter</id>
<build>
<plugins>
<plugin>
<groupId>com.lazerycode.jmeter</groupId>
<artifactId>jmeter-maven-plugin</artifactId>
<executions>
<execution>
<id>jmeter-tests</id>
<phase>integration-test</phase>
<goals>
<goal>jmeter</goal>
</goals>
</execution>
</executions>
<configuration>
<propertiesUser>
<FEDORA_4_SERVER_PORT>${test.port}</FEDORA_4_SERVER_PORT>
</propertiesUser>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit d3ec209

Please sign in to comment.