You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by to...@apache.org on 2014/11/08 03:30:15 UTC

incubator-usergrid git commit: Trying different ramp scenario

Repository: incubator-usergrid
Updated Branches:
  refs/heads/toddtest 2e7b65dd4 -> ac0913072


Trying different ramp scenario


Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/ac091307
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/ac091307
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/ac091307

Branch: refs/heads/toddtest
Commit: ac0913072a0a4b3ad16250f75fc99112f67c249d
Parents: 2e7b65d
Author: Todd Nine <tn...@apigee.com>
Authored: Fri Nov 7 19:30:13 2014 -0700
Committer: Todd Nine <tn...@apigee.com>
Committed: Fri Nov 7 19:30:13 2014 -0700

----------------------------------------------------------------------
 .../apache/usergrid/simulations/UserCreateGetSimulation.scala    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/ac091307/stack/loadtests/src/main/scala/org/apache/usergrid/simulations/UserCreateGetSimulation.scala
----------------------------------------------------------------------
diff --git a/stack/loadtests/src/main/scala/org/apache/usergrid/simulations/UserCreateGetSimulation.scala b/stack/loadtests/src/main/scala/org/apache/usergrid/simulations/UserCreateGetSimulation.scala
index 3f122da..4506328 100644
--- a/stack/loadtests/src/main/scala/org/apache/usergrid/simulations/UserCreateGetSimulation.scala
+++ b/stack/loadtests/src/main/scala/org/apache/usergrid/simulations/UserCreateGetSimulation.scala
@@ -50,9 +50,9 @@ class UserCreateGetSimulation extends Simulation {
   setUp(
     createScenario
       //inject all our users over the ramp time
-//      .inject(constantUsersPerSec(Settings.maxPossibleUsers) during (Settings.rampTime))
+      .inject(constantUsersPerSec(Settings.maxPossibleUsers) during (Settings.rampTime))
       //ramp up to our max possible users over the ramp time.  We may not get there if we hit our max tps first
-      .inject(rampUsers(Settings.maxPossibleUsers) over  (Settings.rampTime))
+//      .inject(rampUsers(Settings.maxPossibleUsers) over  (Settings.rampTime))
       //during the ramp time, try to hit our max TPS.  Then hold it for the duration of the test
       .throttle(reachRps(Settings.throttle) in (Settings.rampTime.seconds), holdFor(Settings.duration))
       .protocols(Settings.httpConf.acceptHeader("application/json"))