https://github.com/fjudith/bookinfo-load-test
A load-test script & container for Istio Bookinfo
https://github.com/fjudith/bookinfo-load-test
Last synced: 2 months ago
JSON representation
A load-test script & container for Istio Bookinfo
- Host: GitHub
- URL: https://github.com/fjudith/bookinfo-load-test
- Owner: fjudith
- License: apache-2.0
- Created: 2018-12-03T10:38:55.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-14T15:34:31.000Z (over 4 years ago)
- Last Synced: 2025-02-15T01:28:27.429Z (4 months ago)
- Language: Shell
- Homepage:
- Size: 58.6 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://microbadger.com/images/fjudith/bookinfo-load-test "Get your own image badge on microbadger.com")
[](https://quay.io/repository/fjudith/bookinfo-load-test)
[](https://travis-ci.org/fjudith/bookinfo-load-test)# Load / Integration Tests
These tests simulate actual end user usage of the application. They are used to validate the overall functionality and can also be used to put simulated load on the system. The tests are written using [locust.io](http://locust.io)
### Parameters
* `[host]` - The hostname (and port if applicable) where the application is exposed. (Required)
* `[number of clients]` - The nuber of concurrent end users to simulate. (Optional: Default is 2)
* `[number of requests]` - The total number of requests to run before terminating the tests. (Optional: Default is 10)## Running locally
### Requirements
* locust `pip install locustio``./runLocust.sh -h [host] -c [number of clients] -r [number of requests]`
## Running in Docker Container
* Build `docker build -t bookinfo-load-test .`
* Run `docker run bookinfo-load-test -h [host] -c [number of clients] -r [number of requests]`