grafana / k6-jslib-aws

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

Support for SQS doesn't seem to work #40

Closed elelha closed 1 year ago

elelha commented 1 year ago

I'm trying to use the SQS client in my k6 load test as described in the docs but the test fails with this error: Remote resolution error: "not found: https://jslib.k6.io/aws/0.7.1/sqs.js" Screenshot: Screenshot 2023-04-19 at 1 38 37 PM

The link to the dedicated k6 documentation page is also broken in the docs. Screenshot 2023-04-19 at 1 41 47 PM

Is the sqs jslib still supported?

Snippet of the sqs jslib implementation: Screenshot 2023-04-19 at 1 44 08 PM ^ I've tried 0.7.0 and 0.7.1. I'm currently using k6 0.36.0.

oleiade commented 1 year ago

Hi @elelha 👋🏻

Sorry for the mishap. The documentation for SQS made it to the website before we got a chance to produce a new release of the jslib containing it indeed.

I'm on it, and will let you know when it's published 👍

oleiade commented 1 year ago

Hey @elelha

A quick heads up that we have release version 0.7.2 which includes SQS support. You should be able to import it as usual using the following URL: https://jslib.k6.io/aws/0.7.2/sqs.js.

Can confirm that it addresses your issue? 🙇🏻

elelha commented 1 year ago

Yes, it does! Thanks for the quick resolution 🎉

oleiade commented 1 year ago

Perfect, glad I could help 🙇🏻