grafana / k6

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

Missing MQTT Support #3280

Closed manan-at-norgic closed 1 year ago

manan-at-norgic commented 1 year ago

Feature Description

There is web socket support in k6.js but there is missing MQTT support if someone need to test mqtt server he/she need to write a complete web socket wrapper on top of k6 web socket.

Suggested Solution (optional)

By imlimenting emitter-io mqtt client which is also written in go and it have extensive scope to support different languages like javascript, java, c#/.net, Go, c/c++, python, node etc

Already existing or connected issues / PRs (optional)

No response

olegbespalov commented 1 year ago

Hi @manan-at-norgic !

It seems to me like a duplicate of the https://github.com/grafana/k6/issues/1269, I'd recommend upvoting it and continuing the discussion there.

The is also a xk6's extension https://github.com/grafana/k6/issues/1269#issuecomment-778166511 exists which implements the MQTT. I'd recommend trying it, maybe it sorts your needs.

For now, closing this issue.