Return-Path: X-Original-To: apmail-usergrid-commits-archive@minotaur.apache.org Delivered-To: apmail-usergrid-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E4B2817820 for ; Thu, 6 Nov 2014 00:14:50 +0000 (UTC) Received: (qmail 93999 invoked by uid 500); 6 Nov 2014 00:14:50 -0000 Delivered-To: apmail-usergrid-commits-archive@usergrid.apache.org Received: (qmail 93937 invoked by uid 500); 6 Nov 2014 00:14:50 -0000 Mailing-List: contact commits-help@usergrid.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@usergrid.incubator.apache.org Delivered-To: mailing list commits@usergrid.incubator.apache.org Received: (qmail 93779 invoked by uid 99); 6 Nov 2014 00:14:50 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2014 00:14:50 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 7618F909C30; Thu, 6 Nov 2014 00:14:50 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: toddnine@apache.org To: commits@usergrid.apache.org Date: Thu, 06 Nov 2014 00:15:22 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [36/50] git commit: Updated to use the admin password 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 Authored: Mon Nov 3 17:25:03 2014 -0700 Committer: Todd Nine 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")) )