usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject [04/15] incubator-usergrid git commit: new scenario for put and delete
Date Wed, 10 Dec 2014 00:54:20 GMT
new scenario for put and delete


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

Branch: refs/heads/two-dot-o
Commit: 554281425ddee0cc269639e89faa25312fbf9bc4
Parents: 3079231
Author: Shawn Feldman <sfeldman@apache.org>
Authored: Thu Dec 4 09:20:40 2014 -0700
Committer: Shawn Feldman <sfeldman@apache.org>
Committed: Thu Dec 4 09:20:40 2014 -0700

----------------------------------------------------------------------
 .../apache/usergrid/scenarios/UserScenarios.scala  | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/55428142/stack/loadtests/src/main/scala/org/apache/usergrid/scenarios/UserScenarios.scala
----------------------------------------------------------------------
diff --git a/stack/loadtests/src/main/scala/org/apache/usergrid/scenarios/UserScenarios.scala
b/stack/loadtests/src/main/scala/org/apache/usergrid/scenarios/UserScenarios.scala
index eeecffa..090ffea 100755
--- a/stack/loadtests/src/main/scala/org/apache/usergrid/scenarios/UserScenarios.scala
+++ b/stack/loadtests/src/main/scala/org/apache/usergrid/scenarios/UserScenarios.scala
@@ -146,7 +146,22 @@ import io.gatling.core.Predef._
     */
    val postUsersInfinitely =  scenario("Post Users")
         .feed(Settings.getInfiniteUserFeeder())
-        .exec(UserScenarios.postUser)
+        .exec(postUser)
+
+
+   /**
+    * Puts a new user every time
+    */
+   val putUsersInfinitely =  scenario("Post Users")
+     .feed(Settings.getInfiniteUserFeeder())
+     .exec(putUser)
+
+   /**
+    * Deletes user every time
+    */
+   val deleteUsersInfinitely =  scenario("Post Users")
+     .feed(Settings.getInfiniteUserFeeder())
+     .exec(deleteUser)
 
    /**
     * Get the users a page at a time until exhausted


Mime
View raw message