https://github.com/liemle3893/heroku-vegeta
https://github.com/liemle3893/heroku-vegeta
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/liemle3893/heroku-vegeta
- Owner: liemle3893
- License: mit
- Created: 2020-08-14T18:56:56.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-14T18:57:15.000Z (almost 5 years ago)
- Last Synced: 2025-01-08T11:41:31.937Z (5 months ago)
- Language: Go
- Size: 3.69 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# heroku-vegeta
Run [vegeta](https://github.com/tsenart/vegeta) as a distributed load testing tool
on Heroku for free. This project has two goals: explore diffent ways to deploy
applications on heroku platform and provide a simple tool to easily run various
load testing scenarios.
## Usage
Clone repository:
```
git clone https://github.com/sosedoff/heroku-vegeta.git
cd heroku-vegeta
```Make sure your heroku cli is working:
```
heroku apps
```Copy example configuration file:
```
cp config.json.example config.json
```After you make changes to config file, run setup command:
```
./script/setup
```Once done, you can start the test:
```
./script/run
```Make sure to remove all test apps after you're done:
```
./script/teardown
```## Config
Example configuration for testing:
```
{
"nodes": 3,
"targets": "GET https://mywebsite.com",
"duration": "30s",
"rate": "50"
}
```Options:
- `nodes` - Number of heroku applications to spawn
- `targets` - List of URLS to hit
- `duration` - Test duration. `10s, 30s, 1m, 5m`, etc
- `rate` - Number of requests per second per node## License
The MIT License (MIT)
Copyright (c) 2017 Dan Sosedoff