Open theKunte opened 3 years ago
# export AWS_ACCESS_KEY_ID=<>
# export AWS_SECRET_ACCESS_KEY=<>
# npm install -g serverless@1.38.0
# npm install -g serverless-artillery`
run this command to create the script file in your project folder
slsart script -e https://nsc-func-dev-usw2-tuesday.azurewebsites.net/users -d 300 -r 40
# slsart deploy --stage <stack name> --region <region>
# slsart invoke -p script.yml --stage <stack name> --region <region>
# slsart remove --stage <stack name> --region <region>
Input | Results | -- |
---|---|---|
Scenarios launched | 900 | |
Scenarios completed | 899 | |
Requests completed | 899 | |
RPS sent | 14.92 | |
Request latency | 27.7 | |
min | 27.7 | |
max | 179 | |
median | 29.8 | |
p95 | 39.9 | |
p99 | 83.8 | |
Scenario counts | ||
0 | 900 (100%) | |
Codes | ||
200 | 899 | |
Errors | ||
ESOCKETTIMEDOUT | 1 |
slsart remove --stage <stack name> --region <region>
DATE | ACTIVITY | TIME |
---|---|---|
03/22/2021 | Research how to do slsart-test for users | 1hr |
03/23/2021 | Test slsart-users endpoint with cache | ~ 1hr |
03/24/2021 | Test slsart-users endpoint with again to verify results | ~ 1hr |
03/24/2021 | updated PR | ~20 min |
Using Serverless Artillery 40 requests with cache /users (NO PR)