pmalhaire / xk6-mqtt

k6 mqtt extension
Apache License 2.0
49 stars 37 forks source link

Load server ca certificate, client certificate and client key from string value #33

Open ezeeb opened 3 months ago

ezeeb commented 3 months ago

enabled mqtt client to load server ca certificate, client certificate and client key additionally from a PEM string. This makes load tests with several clients - in my case several iot devices - easier. I don't have to create files for each device but can load data from a SharedArray.

This pull request is related to #32

I also switched to tls version 1.2 - i use this client to run against Azure IoT Hub with tls version 1.2