From 5b3f4bbb12cbe16561fdb2a91b4abd14efd35202 Mon Sep 17 00:00:00 2001 From: "Eloy Lafuente (stronk7)" Date: Thu, 8 Nov 2018 10:25:08 +0100 Subject: [PATCH] MDL-63927 performance: Update the plan to support the new login token --- admin/tool/generator/testplan.template.jmx | 86 +++++++++++++++++++++- 1 file changed, 85 insertions(+), 1 deletion(-) diff --git a/admin/tool/generator/testplan.template.jmx b/admin/tool/generator/testplan.template.jmx index ccd8cfb3c0b..b48b0109a9c 100644 --- a/admin/tool/generator/testplan.template.jmx +++ b/admin/tool/generator/testplan.template.jmx @@ -139,6 +139,36 @@ + + + + + + + + + + + ${sitepath}/login/index.php + GET + true + false + true + false + false + + + + + false + LOGIN_TOKEN + type="hidden"\sname="logintoken"\svalue="(\w+)" + $1$ + 0 + 1 + + + @@ -156,6 +186,13 @@ true password + + false + ${LOGIN_TOKEN} + = + true + logintoken + @@ -173,7 +210,17 @@ false - + + + + <div class="logininfo">You are logged in as + + Assertion.response_data + false + 2 + + + @@ -335,6 +382,36 @@ + + + + + + + + + + + ${sitepath}/login/index.php + GET + true + false + true + false + false + + + + + false + LOGIN_TOKEN + type="hidden"\sname="logintoken"\svalue="(\w+)" + $1$ + 0 + 1 + + + @@ -352,6 +429,13 @@ true password + + false + ${LOGIN_TOKEN} + = + true + logintoken + -- 2.43.0