空手道DSL:支持MQTT测试 [英] Karate DSL : Support for MQTT testing

查看:84
本文介绍了空手道DSL:支持MQTT测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

空手道支持网络套接字,我能够测试网络套接字.但是,当我尝试测试MQTT时,连接参数未被接受,并且看起来完全不支持MQTT.任何人都可以提供帮助吗?

Karate supports web-socket and i was able to test websockets. But when i try to test MQTT, the connection params were not accepted and it looks like MQTT is not supported at all. Can anyone be able to help?

推荐答案

找到用于MQTT的Java库,您将启动并运行.请参考: https://github.com/intuit/karate/tree/master/karate-netty#consumer-provider-example

Find a Java library for MQTT and you will be up and running. Please refer: https://github.com/intuit/karate/tree/master/karate-netty#consumer-provider-example

另请参阅: https://stackoverflow.com/a/62826394/143475

这篇关于空手道DSL:支持MQTT测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆