-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for MQTT protocol #1269
Comments
Is there plan for MQTT support in k6? maybe there is plans to allow creating plugin architecture for different protocols? (in that case I think people would be happy to create open source plugins) |
k6 will probably natively support MQTT eventually, but I can't give any concrete estimates as to when, sorry. And speaking of plugins, yes, k6 already supports something like that, though we call them extensions. It's very likely that any MQTT module will start as an extension before we merge it into the core. Take a look at these links to learn more about extensions: |
I made a basic working mqtt extension here it lacks more metrics but publish / subscribe message is working |
gatling already supports mqtt. expecting this feature. |
The xk6 team contacted me and they want to extend this extension. It works and it's tested for basic use. |
We are using your extension to generate load, simulating thousands of IoT devices. MQTT works great, however we are having trouble with TLS. Can you comment what's the situation with TLS on the plugin side? Should it work out of the box? |
Hello, if you use a local TLS cert with custom CA there is a PR under merge on the subject. |
Don't hesitate to star the repo if you use it, it always helps. |
@arunasbend the local TLS MR has been merged, it is what you needed ? |
@pmalhaire Basically a great approach from you! But it seems like there is still no support for user properties or other MQTTv5 features, right? So is this extension only for MQTTv3.1.1 and lower? Are there any plans to to move forward on this? |
@drundanibel I never needed MQTT v5. |
Hi,
It would be really valuable if we can use k6 to simulate MQTT pub/sub interfaces.
Thanks.
The text was updated successfully, but these errors were encountered: