grafana / xk6-amqp

A k6 extension for publishing and consuming messages from queues and exchanges using AMQP 0.9.1.
Apache License 2.0
25 stars 27 forks source link

Module not found: Error: Can't resolve 'k6/x/amqp' #20

Open faisal6621 opened 1 year ago

faisal6621 commented 1 year ago

Where do I find the k6/x/amqp and k6/x/amqp/queue modules?

javaducky commented 1 year ago

Hi @faisal6621. More context is needed for this issue.

Are you encountering errors when building the extended k6 binary to include the extension? Be sure to run make, then reference your locally built binary when running a script, e.g. ./k6 run ....

faisal6621 commented 1 year ago

Hi @javaducky

Just like TypeScript module for k6 (https://www.npmjs.com/package/@types/k6) we must have something for xk6-amqp which could be helpful for autocomplete and suggestion during development.

Building the extended k6 binary is not a problem but during development it is difficult to use the AMQP or Queue definitions.