Parameterise the HTTP request for uploading screenshots to a remote location
ankur22 opened this issue · comments
What?
At the moment we can setup almost everything required to upload a screenshot to a remote location:
- presignedURLGetter (used to retrieve the)
- the folder name (base path)
- Headers
What we do not have is the HTTP request method. It would be good if the http request was parameterised too (for both the presignedURLGetter and the presignedURL).
Why?
This will avoid having to make a change to k6 browser and wait for a release to change the screenshot upload remote URL characteristics.
How?
- The http request method will need to be added to an env var, maybe just append it to the existing env var (
K6_BROWSER_SCREENSHOTS_OUTPUT
). - For the presignedURL itself, it would be good to have the request method type returned with the presigned url.
Tasks
Related PR(s)/Issue(s)
No response