grafana / k6-jslib-aws

Javascript Library allowing to interact with AWS resources from k6 scripts
Apache License 2.0
18 stars 28 forks source link

Ensure s3 requests send a null body when unset #60

Closed oleiade closed 11 months ago

oleiade commented 11 months ago

As I was experimenting and debugging around #50, I tracked down one of the main issues to be true that the request bodies were wrongly handled when unset.

Great catch @w0rd-driven 👏🏻

This Pull Request now ensures S3 requests without a body are passed to k6 with their body set to null.

In the experimentations I've made with DigitalOcean spaces, it seems to have fixed most of the issues I was encountering.