Load testing tool as a hobby project
Features:
- Load test to see how many users per second your API can handle
- CPU and memory usage monitoring
- Parse payload from JSON
Flags
- config : string, default "", JSON config file.
- vus : int, default 30, number of virtual users.
- duration : int, default 5, load testing duration.
- timeout : int, default 10, timeout limit.
- file : string, default "", file path containing http payload.
- port : int, default 8000, localhost port hosting the API.
Also check the examples folder. You can run in one terminal:
go run examples/server.goAnd in another run either of:
go run . -file examples/get.json -duration 10 -vus 100 -timeout 10 -port 8000
go run . -file examples/post.json -duration 10 -vus 100 -timeout 10 -port 8000TODO:
- Add golang interpreter to load test with golang function
- Add python interpreter to load test with python function
- Add other http methods