MQTT/en: Unterschied zwischen den Versionen
| Cg (Diskussion | Beiträge)  (Die Seite wurde neu angelegt: „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 …“) | Cg (Diskussion | Beiträge)  | ||
| (5 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
| 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 5: | Zeile 5: | ||
| The later allows for robustness tests (invalid, long, short, broken packets), timing measurements and load/performance tests | The later allows for robustness tests (invalid, long, short, broken packets), timing measurements and load/performance tests | ||
| to be implemented easily via drag&drop. | 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 containing a ready-to-run mosquitto 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 | |||
| (the -p arguments define the ports to be opened and their mappings; for details, please refer to the docker documentation) | |||
| 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. | |||
Aktuelle Version vom 16. Dezember 2018, 10:48 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 containing a ready-to-run mosquitto 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
(the -p arguments define the ports to be opened and their mappings; for details, please refer to the docker documentation)
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.
