Skip to content

Commit

Permalink
51517753: Publish JMeter reports to Sonar via Maven
Browse files Browse the repository at this point in the history
Defines properties for loop_count and num_threads.
Lowers default loop_count to 100 and num_threads to 10.

https://www.pivotaltracker.com/story/show/51517753
  • Loading branch information
Edwin Shin committed Jun 18, 2013
1 parent c9e8811 commit dd83066
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
8 changes: 6 additions & 2 deletions fcrepo-webapp/pom.xml
Expand Up @@ -14,6 +14,10 @@
<properties>
<!-- integration test properties -->
<test.context.path>/</test.context.path>

<!-- jmeter -->
<jmeter.loop_count>100</jmeter.loop_count>
<jmeter.num_threads>10</jmeter.num_threads>
</properties>

<dependencies>
Expand Down Expand Up @@ -182,8 +186,8 @@
<propertiesUser>
<fedora_4_port>${test.port}</fedora_4_port>
<fedora_4_context>rest</fedora_4_context>
<loop_count>1000</loop_count>
<num_threads>20</num_threads>
<loop_count>${jmeter.loop_count}</loop_count>
<num_threads>${jmeter.num_threads}</num_threads>
</propertiesUser>
<resultsFileNameDateFormat>'jmeter'</resultsFileNameDateFormat >
</configuration>
Expand Down
5 changes: 5 additions & 0 deletions fcrepo-webapp/src/test/jmeter/readme.txt
@@ -0,0 +1,5 @@
This directory contains the JMeter test plan from https://github.com/futures/ff-jmeter-madness

The test plan may be invoked via Maven:

mvn verify -Pjmeter

0 comments on commit dd83066

Please sign in to comment.