MQTT/en: Unterschied zwischen den Versionen

Aus expecco Wiki (Version 2.x)
Zur Navigation springen Zur Suche springen
K
Zeile 1: Zeile 1:
MQTT is a publish/subscribe protocol used in the Internet of Things (IoT).
MQTT is a publish/subscribe protocol used in the Internet of Things (''IoT'').
This plugin provides an interface to an MQTT broker (such as mosquitto) and
This plugin provides an interface to an MQTT broker (such as mosquitto) and
allows for both typical high-level interaction via publish/subscribe/waitForEvent operations,
allows for both typical high-level interaction via publish/subscribe/waitForEvent operations,
Zeile 17: Zeile 17:
docker run -ti --rm -p1883:1883 -p8883:8883 -p9001:9001 exept/mqtt
docker run -ti --rm -p1883:1883 -p8883:8883 -p9001:9001 exept/mqtt


You can now run the "Demo Testplan" contained in the MQTT_Interface_Library.ets delivered with expecco. If your MQTT docker container is running on a different host than expecco, change the MQTT_HOST environment variable from "localhost" to the hostname or IP-Address of the docker host.
You can now run the "<code>Demo Testplan</code>" contained in the "<code>MQTT_Interface_Library.ets</code>" delivered with expecco.
If your MQTT docker container is running on a different host than expecco, change the <code>MQTT_HOST</code> environment variable from "<code>localhost</code>" to the hostname or IP-Address of the docker host.

Version vom 16. Dezember 2018, 10:45 Uhr

MQTT is a publish/subscribe protocol used in the Internet of Things (IoT). This plugin provides an interface to an MQTT broker (such as mosquitto) and allows for both typical high-level interaction via publish/subscribe/waitForEvent operations, and low level (wire-level) interaction on the packet level. The later allows for robustness tests (invalid, long, short, broken packets), timing measurements and load/performance tests to be implemented easily via drag&drop.

If you want to evaluate MQTT with expecco, and you don't have a MQTT-enabled application yet, exept can provide you with a docker image dontaining a mosqitto demo server.

Get the exported docker image from:

   http://download.exept.de/transfer/docker-mqtt-image.tar

Import the docker image with:

   docker image import docker-mqtt-image.tar

Start a container based on the image (running in foreground):

   docker run -ti --rm -p1883:1883 -p8883:8883 -p9001:9001 exept/mqtt

You can now run the "Demo Testplan" contained in the "MQTT_Interface_Library.ets" delivered with expecco. If your MQTT docker container is running on a different host than expecco, change the MQTT_HOST environment variable from "localhost" to the hostname or IP-Address of the docker host.



Copyright © 2014-2024 eXept Software AG