-
Notifications
You must be signed in to change notification settings - Fork 505
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
HTTP: file uploads #106
Comments
my team would love for this to be implemented so that we can load test our file uploader using artillery by uploading a file from disc |
+1 on this. |
It seems like this requires modification to the HttpEngine in
The contents of |
Seems, like there was a pull request merged with this feature in the original artillery-core repo artilleryio/artillery-core#148 but it was reverted for some reason. Can we get some reasoning behind this? Maybe we can update this pull request so it will be ok to merge? |
@sosloow that change was reverted because the code did not quite work. More details here: #265 It should be fairly straightforward to re-use some of the code in #265 to create a plugin to add file uploading support to HTTP scenarios. It'd be great if someone spent some time on it and shared the result with the community. An option for teams that need file uploading functionality that just works today is to use Artillery Pro. It has support for file uploads, both for testing from one machine and when running distributed tests from a cloud cluster (on AWS ECS). |
Thanks for clarification. For now, I found that file uploads via custom scripts are pretty straightforward. Here's an example someone posted earlier: #320 (comment) |
It would be nice to have better support for file uploads.
At the moment, the contents of the file to be uploaded needs to be embedded directly into the Artillery script. It should be possible to reference external files to be read at runtime.
The text was updated successfully, but these errors were encountered: