https://github.com/arashrasoulzadeh/GoStreestTest
API stress test written in go
https://github.com/arashrasoulzadeh/GoStreestTest
attack ddos go stress-testing
Last synced: about 1 year ago
JSON representation
API stress test written in go
- Host: GitHub
- URL: https://github.com/arashrasoulzadeh/GoStreestTest
- Owner: arashrasoulzadeh
- Created: 2019-04-07T21:52:13.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-06T16:43:23.000Z (about 7 years ago)
- Last Synced: 2024-11-08T11:45:47.606Z (over 1 year ago)
- Topics: attack, ddos, go, stress-testing
- Language: Go
- Size: 21.5 KB
- Stars: 14
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## GO API Stress Test
Use this appication to stress test your api
Writeen by [Arash Rasoulzadeh]("http://twitter.com/x3n0b1a") , special thanks to [amiraliamhh](https://github.com/amiraliamhh)
## Example usage
#### Run with a single thread:
`go run main.go single`
#### Run using multiple threads:
*runs using 4 threads*
`go run main.go multiple 4`
#### Scenario
`go run composer.go`
This command runs the composer , composer reads the configuration from scenario.conf , you may see the example configuration file [here](https://github.com/arashrasoulzadeh/GoStreestTest/blob/master/scenario.yaml)
schema for configation file is :
```yaml
scenarios:
--
label: "light"
config: "config.yaml"
sleep: 1
--
label: "medium"
config: "config4.yaml"
sleep : 1
```
scenarios key is an array of
* label - its just a label
* config - is the config file name
* sleep - sleep in seconds after running this part
---
#### changelog
- readme fixed
- colorized labels in scenario
- scenario added
- fixed bugs in multi-threading