usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From toddn...@apache.org
Subject [36/50] git commit: Updated to use the admin password
Date Thu, 06 Nov 2014 00:15:22 GMT
Updated to use the admin password


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

Branch: refs/heads/two-dot-o
Commit: 74e365a4008e86c952a6159fea65d7b85e7508ce
Parents: 018673c
Author: Todd Nine <tnine@apigee.com>
Authored: Mon Nov 3 17:25:03 2014 -0700
Committer: Todd Nine <tnine@apigee.com>
Committed: Mon Nov 3 17:25:03 2014 -0700

----------------------------------------------------------------------
 .../main/scala/org/apache/usergrid/scenarios/TokenScenarios.scala  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/74e365a4/stack/loadtests/src/main/scala/org/apache/usergrid/scenarios/TokenScenarios.scala
----------------------------------------------------------------------
diff --git a/stack/loadtests/src/main/scala/org/apache/usergrid/scenarios/TokenScenarios.scala
b/stack/loadtests/src/main/scala/org/apache/usergrid/scenarios/TokenScenarios.scala
index aa30296..73ba3a9 100755
--- a/stack/loadtests/src/main/scala/org/apache/usergrid/scenarios/TokenScenarios.scala
+++ b/stack/loadtests/src/main/scala/org/apache/usergrid/scenarios/TokenScenarios.scala
@@ -43,7 +43,7 @@ object TokenScenarios {
     .post(Settings.baseUrl+"/management/token")
     .headers(Headers.jsonAnonymous)
     //pass in the the username and password, store the "access_token" json response element
as the var "authToken" in the session
-    .body(StringBody("{\"username\":\"" + Settings.admin + "\",\"password\":\"test\",\"grant_type\":\"password\"}"))
+    .body(StringBody("{\"username\":\"" + Settings.admin + "\",\"password\":\""+Settings.password+"\",\"grant_type\":\"password\"}"))
     .check(jsonPath("$.access_token").find(0).saveAs("authToken"))
   )
 


Mime
View raw message