An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

[![](https://images.microbadger.com/badges/image/fjudith/bookinfo-load-test.svg)](https://microbadger.com/images/fjudith/bookinfo-load-test "Get your own image badge on microbadger.com")
[![Docker Repository on Quay](https://quay.io/repository/fjudith/bookinfo-load-test/status "Docker Repository on Quay")](https://quay.io/repository/fjudith/bookinfo-load-test)
[![Build Status](https://travis-ci.org/fjudith/bookinfo-load-test.svg?branch=master)](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]`