- Notifications
You must be signed in to change notification settings - Fork0
marselester/load-testing
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is demo of a load testing setup based onYandex Tank (plugin-based test runner)with the following plugins:
The system under test is a Go program that shows a list of books with random latencies up to 200ms.
$ git clone https://github.com/marselester/load-testing.git$cd ./load-testing$ go run ./cmd/server/main.go$ curl localhost:8000/v1/books{"books": [{"name":"The Adventures of Tom Sawyer"}]}
Install Yandex Tank
$ virtualenv venv$source ./venv/bin/activate$ pip install https://api.github.com/repos/yandex/yandex-tank/tarball/master
Install Pandora
$ go get github.com/yandex/pandora
Yandex Tank configuration is defined inload.yml.Test dataammo.json describes the HTTP requests a load generator will send to a Go program.In this case Pandora will start from sendingGET /v1/books
1 request per second and progress to100 requests per second for duration of 30 seconds.
Start testing:
$ yandex-tank -c load.yml
The results will be available athttps://overload.yandex.net(you'll need to sign in to get an API token and store it inoverload-token.txt
).
About
Load testing setup based on Yandex Tank, Pandora, Overload.
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.