grafana / k6-jslib-aws

Javascript Library allowing to interact with AWS resources from k6 scripts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for SQS doesn't seem to work

elelha opened this issue · comments

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.

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 👍

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? 🙇🏻

Yes, it does! Thanks for the quick resolution 🎉

Perfect, glad I could help 🙇🏻