Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blankbro/mqtt-storm
An MQTT stress testing tool to evaluate the performance of an MQTT server like a storm. 一个MQTT压力测试工具,像风暴一样评估MQTT服务器的性能。
https://github.com/blankbro/mqtt-storm
benchmark go mqtt stress-testing test-tool
Last synced: 3 days ago
JSON representation
An MQTT stress testing tool to evaluate the performance of an MQTT server like a storm. 一个MQTT压力测试工具,像风暴一样评估MQTT服务器的性能。
- Host: GitHub
- URL: https://github.com/blankbro/mqtt-storm
- Owner: blankbro
- Created: 2023-07-21T12:23:57.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-06T05:55:15.000Z (about 1 year ago)
- Last Synced: 2024-10-17T16:43:45.520Z (21 days ago)
- Topics: benchmark, go, mqtt, stress-testing, test-tool
- Language: Go
- Homepage:
- Size: 703 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MQTT-Storm: MQTT Stress Testing Tool
像风暴一样冲击和评估MQTT服务器的性能
![效果展示](README.png)
## 0. 下载该项目
```shell
$ git clone https://github.com/blankbro/mqtt-storm.git
$ cd mqtt-storm
```## 1. 编写发布和订阅逻辑(Custom pub and sub logic)
Update [customocker.go](internal/customocker/customocker.go)
## 2. 启动 MQTT-Storm(Build and run MQTT-Storm)
```shell
# Build
$ ./build.sh# Run
$ ./control.sh stop
$ ./control.sh start
$ ./control.sh restart
```## 3. 开始压测(Start test)
Run [http-client.http](http-client.http) or curl command with the same effect.
## 4. 日志监视(Log watch)
```shell
$ tail -f test.log
```