Integration/Black Box tests for Aedes MQTT Broker. aedes.js
handles broker setup and runs in a separete process, based on args passed to the process it can init 3 different servers:
- TLS: On port 8883
- WS: On port 4000
- TCP: On port 1883
Each test will start and close a broker process and init MQTT clients using helper.js
methods.
server.key
and server.cert
have been generated using the command:
openssl req -nodes -new -x509 -keyout server.key -out server.cert
This files are used by aedes to init a TLS server and by MQTT clients to connect to it