grafana / k6

A modern load testing tool, using Go and JavaScript - https://k6.io
GNU Affero General Public License v3.0
25.93k stars 1.26k forks source link

amqp protocol support #1073

Closed hassanbakerrts closed 10 months ago

hassanbakerrts commented 5 years ago

I'm trying to connect to rabbitmq using the framework [rhea](https://github.com/amqp/rhea) so I used browserify to make the framework compatible. However, the resulted js is constantly throwing errors. Is there any work-around for this issue?

na-- commented 5 years ago

Such a library won't work through browserify, since it makes network connections that can't be polyfilled - k6 is neither a browser, nor a node.js clone.

In the future we'll probably add support for such protocols directly in k6, but I can't give even a rough estimation when that will be, sorry. Event loops (https://github.com/loadimpact/k6/issues/882) are very likely a prerequisite though...

olegbespalov commented 10 months ago

Currently, adding amqp support to the core is outside our roadmap. There is an extension https://github.com/grafana/xk6-amqp exists, but unfortunately, it is also not under development.