-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Removed references to SystemTest (#134) * Added README instructions for building and link to examples (#136) * Zip all map (#138) * add ZipAllMap, and some doc comments and tests * add doctests to pr.sh --------- Co-authored-by: Zachery Olson <[email protected]> * Adds skipBody CLI argument - Skips Request and Response Body in Try Output (#140) * Cargo version upgrade * Updated the Guide to include the new available flag options for instructional purposes * Added the ability to include skipBody argument in TryConfig and modified output to honor new skip flag * included the new argument in the TmpTryConfig for testing purposes * change version upgrade back to original as requested * Removed unnessesary matches as requested * Changes made to output format as requested * Format changes as requested * format changes as requested by Rustfmt in the github checks * Manually fixed format errors * Fixed additional fmt failure after updating rust to 1.72 --------- Co-authored-by: Trevor McMaster <[email protected]> * Added additional tests to the config-wasm tests - Added all example files to validate - Added all the legacy examples and legacy integration tests to validate * Added additional tests to validate the legacy yaml * Updated the config-wasm and config::LoadTestEither to check old and new yaml - Added the additional functions missing to the LoadTestEither - Changed the config wasm to compile with feature legacy and use LoadTestEither instead of v2::LoadTest * Updated dependencies and fixed deprecations (#143) * Updated dependencies and fixed deprecations * Updated Wasm-pack to match the version in the 0.6.0 scripting branch * Updated the README for the current changes --------- Co-authored-by: Zachery Olson <[email protected]> Co-authored-by: Idel <[email protected]>
- Loading branch information
1 parent
3cc1899
commit e8bdc90
Showing
40 changed files
with
3,818 additions
and
1,686 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Large diffs are not rendered by default.
Oops, something went wrong.
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,26 @@ | ||
# Run this file with the test-server, then specify the PORT as a parameter to this try or run script. | ||
|
||
vars: | ||
port: "${PORT}" | ||
|
||
load_pattern: | ||
- linear: | ||
from: 10% | ||
to: 100% | ||
over: 15s | ||
|
||
loggers: | ||
test: | ||
to: stderr | ||
|
||
endpoints: | ||
- method: POST | ||
url: http://localhost:${port} | ||
headers: | ||
Content-Type: 'image/jpeg' | ||
body: | ||
file: pewpew.jpg | ||
peak_load: 1hps | ||
logs: | ||
test: | ||
select: response.status |
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,37 @@ | ||
# Run this file with the test-server, then specify the PORT as a parameter to this try or run script. | ||
# This file also requires a PASSWORD environment variable. Any value will work and the the password will be scrubbed from the logs. | ||
|
||
# This version will always put in new sessions and slowly replace the old ones | ||
|
||
vars: | ||
port: ${PORT} | ||
username: test-user | ||
password: test-password | ||
dev_key: dev-key-001 | ||
|
||
load_pattern: | ||
- linear: | ||
from: 100% | ||
to: 100% | ||
over: 15s | ||
|
||
loggers: | ||
test: | ||
to: stderr | ||
|
||
endpoints: | ||
- method: POST | ||
url: http://localhost:${port} | ||
headers: | ||
Accept-Language: en-us | ||
Content-Type: application/x-www-form-urlencoded | ||
body: username=${username}&password=${password}&grant_type=password&client_id=${dev_key} | ||
peak_load: 1hps | ||
logs: | ||
test: | ||
select: | ||
ts: epoch("ms") | ||
response: request.body | ||
token: response.body.token | ||
on_demand: 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,35 @@ | ||
# Run this file with the test-server, then specify the PORT as a parameter to this try or run script. | ||
|
||
vars: | ||
port: "${PORT}" | ||
|
||
load_pattern: | ||
- linear: | ||
from: 10% | ||
to: 100% | ||
over: 15s | ||
|
||
loggers: | ||
test: | ||
to: stderr | ||
|
||
endpoints: | ||
- method: POST | ||
url: http://localhost:${port} | ||
headers: | ||
Content-Type: application/json | ||
body: '{ | ||
"a": "A long string", | ||
"b": 42, | ||
"c": true, | ||
"d": ["array","of","values"], | ||
"e": ${port}, | ||
"f": { | ||
g: "sub", | ||
h: "object" | ||
} | ||
}' | ||
peak_load: 1hps | ||
logs: | ||
test: | ||
select: response.status |
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,36 @@ | ||
# Run this file with the test-server, then specify the PORT as a parameter to this try or run script. | ||
|
||
vars: | ||
port: "${PORT}" | ||
|
||
load_pattern: | ||
- linear: | ||
from: 10% | ||
to: 100% | ||
over: 15s | ||
|
||
loggers: | ||
test: | ||
to: stderr | ||
|
||
endpoints: | ||
- method: POST | ||
url: http://localhost:${port} | ||
headers: | ||
Content-Type: multipart/form-data | ||
body: | ||
multipart: | ||
modelProperties: | ||
headers: | ||
Content-Disposition: form-data; name="modelProperties" | ||
body: 'english' | ||
file: | ||
headers: | ||
Content-Disposition: form-data; name="file"; filename="pewpew.jpg" | ||
Content-Type: image/jpeg | ||
body: | ||
file: pewpew.jpg | ||
peak_load: 1hps | ||
logs: | ||
test: | ||
select: response.status |
Oops, something went wrong.