Use this appication to stress test your api
Writeen by Arash Rasoulzadeh , special thanks to amiraliamhh
go run main.go single
runs using 4 threads
go run main.go multiple 4
go run composer.go
This command runs the composer , composer reads the configuration from scenario.conf , you may see the example configuration file here
schema for configation file is :
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
- readme fixed
- colorized labels in scenario
- scenario added
- fixed bugs in multi-threading