feat: implement stress-test tools. (#3261)

* feat: implement stress-test tools.

* revert config file.
This commit is contained in:
Monet Lee
2025-03-28 15:46:42 +08:00
committed by OpenIM-Robot
parent c29e2a9a28
commit a07fc920b3
3 changed files with 479 additions and 2 deletions
+25
View File
@@ -0,0 +1,25 @@
# Stress Test
## Usage
You need set `TestTargetUserList` and `DefaultGroupID` variables.
### Build
```bash
go build -o _output/bin/tools/linux/amd64/stress-test tools/stress-test/main.go
# or
go build -o tools/stress-test/stress-test tools/stress-test/main.go
```
### Excute
```bash
_output/bin/tools/linux/amd64/stress-test -c config/
#or
tools/stress-test/stress-test -c config/
```