Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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服务器的性能。

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
```