wolfSSL / wolfMQTT

wolfMQTT is a small, fast, portable MQTT client implementation, including support for TLS 1.3.
https://www.wolfssl.com
GNU General Public License v2.0
522 stars 156 forks source link

Add stress test. #387

Closed philljj closed 9 months ago

philljj commented 9 months ago

Description

Adds a hybrid stress test (multithreading, nonblocking, short timeouts, localhost broker only) that is intended to be used with default BSD socket interface, or --enable-curl. Also fixes some minor issues found from stress testing so far.

New stress test:

Cleanup, small fixes, and enhancements:

Testing

Notes

The timeout in scripts/stress.test is configurable, e.g. for 50ms timeout:

./scripts/stress.test 50

Issues