-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support running Artillery in serverless environment #22
Labels
enhancement
New feature or request
Comments
Encountering issues running on lamba First was a bundle size issue. Unzipped function > 250 MB. This was addressed by forcing resolution of dependencies to later versions (includes attempted fix for two live issues): diff --git a/package.json b/package.json
index c005b79..bdd1a62 100644
--- a/package.json
+++ b/package.json
@@ -11,7 +11,8 @@
"artillery": "artillery"
},
"dependencies": {
- "artillery": "^2.0.0-33",
+ "@artilleryio/platform-fargate": "^1.0.7",
+ "artillery": "^2.0.0-34",
"artillery-plugin-metrics-by-endpoint": "^1.2.0",
"csv-parse": "^5.4.0",
"csv-stringify": "^6.4.0",
@@ -21,7 +22,13 @@
"lodash": "^4.17.21",
"papaparse": "^5.4.1",
"pg": "^8.11.0",
+ "protobufjs": "^7.2.4",
"puppeteer": "^20.7.1",
"superagent": "^8.0.9"
+ },
+ "resolutions": {
+ "@artilleryio/platform-fargate": "^1.0.7",
+ "@aws-sdk/credential-providers": "^3.370.0",
+ "@artilleryio/sketches-js": "2.1.0"
}
}
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add documentation and support for running on AWS Lambda.
Serverless execution now has first-class support in Artillery and is a more accurate load test than running from a local development machine.
https://www.artillery.io/docs/load-testing-at-scale/aws-lambda
The text was updated successfully, but these errors were encountered: