-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
load test prep for usage with flood (#926)
* update readme, remove hardcoded values, give params useful names * give test appropriate name * rename test files * rehouse data files alongside scenarios as flood has no concept of directories * dynamic pupil pin gen * add gitignore and use min admin run * tweak outputs * working pupil id extraction with XPATH * teacher account per thread * remove teacher login data set * csrf token extraction, generates pupil pins * change name of scenario * increase pin generation to 30 pupils * fix linting issues, update readme * update tips file * add editorconfig with default policies
- Loading branch information
1 parent
e107d8c
commit 0eb9586
Showing
18 changed files
with
1,271 additions
and
481 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/usr/bin/env bash | ||
|
||
# $1 is the SQL_ADMIN_USER | ||
# $2 is the SQL_ADMIN_USER_PASSWORD | ||
# $3 is the SQL_APP_USER_PASSWORD | ||
cd $BUILD_REPOSITORY_LOCALPATH | ||
cd admin | ||
npm install | ||
SQL_ADMIN_USER=$1 SQL_ADMIN_USER_PASSWORD=$2 SQL_APP_USER_PASSWORD=$3 npm run seed-sql |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
reports | ||
html-report |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
|
||
# exit on error | ||
set -e | ||
|
||
rm -rf ./reports | ||
rm -rf ./html-report | ||
mkdir reports | ||
mkdir html-report | ||
jmeter -n -t ./scenarios/admin-generate-pins-min.jmx -l reports/mtc_admin_test_result.csv -Djmeter.save.saveservice.output_format=csv -e -o html-report/ |
Oops, something went wrong.