All Projects → peter-evans → locust-docker

peter-evans / locust-docker

Licence: MIT License
Docker image for the Locust load testing tool and sample Kubernetes configuration files for distributed deployment.

Programming Languages

shell
77523 projects
Dockerfile
14818 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to locust-docker

Httprunner
One-stop solution for HTTP(S) testing, written in Python.
Stars: ✭ 2,628 (+15358.82%)
Mutual labels:  load-testing, locust
apistress
Very simple stress testing tool for API
Stars: ✭ 22 (+29.41%)
Mutual labels:  load-testing, stress-testing
Tcpcopy
An online request replication tool, also a tcp stream replay tool, fit for real testing, performance testing, stability testing, stress testing, load testing, smoke testing, etc
Stars: ✭ 4,028 (+23594.12%)
Mutual labels:  load-testing, stress-testing
Locust
Scalable user load testing tool written in Python
Stars: ✭ 17,763 (+104388.24%)
Mutual labels:  load-testing, locust
ab-go
apache ab testing tool port in golang
Stars: ✭ 20 (+17.65%)
Mutual labels:  load-testing, stress-testing
eat
Json based scenario testing tool(which can have test for functional and non-functional)
Stars: ✭ 41 (+141.18%)
Mutual labels:  load-testing, stress-testing
jagtester
Express server load tester with middleware level data reporting
Stars: ✭ 57 (+235.29%)
Mutual labels:  load-testing, stress-testing
StressThing
a software testing platform to perform stress test on web of things
Stars: ✭ 12 (-29.41%)
Mutual labels:  load-testing, stress-testing
load-testing-toolkit
Collection of open-source tools for debugging, benchmarking, load and stress testing your code or services.
Stars: ✭ 65 (+282.35%)
Mutual labels:  load-testing, stress-testing
awesome-locust
A collection of resources covering different aspects of Locust load testing tool usage.
Stars: ✭ 40 (+135.29%)
Mutual labels:  load-testing, locust
jmeter-grpc-plugin
A JMeter plugin supports load test gRPC
Stars: ✭ 36 (+111.76%)
Mutual labels:  load-testing, stress-testing
LoadRunner
Load-testing framework for writing load/stress test scenarios in c#
Stars: ✭ 18 (+5.88%)
Mutual labels:  load-testing, stress-testing
dockerfiles
Skeleton for a Docker nginx / php / mysql / redis development stack. Everything in its own container!
Stars: ✭ 12 (-29.41%)
Mutual labels:  docker-image
bitnami-docker-dokuwiki
Bitnami Docker Image for DokuWiki
Stars: ✭ 98 (+476.47%)
Mutual labels:  docker-image
mongodb-replica-set
Docker setting for mongodb replica set
Stars: ✭ 21 (+23.53%)
Mutual labels:  docker-image
docker-debian-releases
Creates docker images of historic Debian-based distribution releases
Stars: ✭ 19 (+11.76%)
Mutual labels:  docker-image
OpenVAS-Docker
A Docker Image For the Open Vulnerability Assessment Scanner (OpenVAS)
Stars: ✭ 16 (-5.88%)
Mutual labels:  docker-image
k6-template-typescript
Template to use TypeScript with k6
Stars: ✭ 90 (+429.41%)
Mutual labels:  load-testing
docker-alpine-miniconda3
The smallest Docker image with Miniconda3 (Python 3.7) (~143MB)
Stars: ✭ 94 (+452.94%)
Mutual labels:  docker-image
docker-jmx-prometheus-exporter
Dockerized jmx-exporter for prometheus
Stars: ✭ 24 (+41.18%)
Mutual labels:  docker-image

Locust Docker

CircleCI

Docker image for the Locust load testing tool and sample Kubernetes configuration files for distributed deployment.

Supported tags and respective Dockerfile links

Usage

The Docker image can be run standalone by passing a URL to your locustfile:

docker run -d -p 8089:8089 \
-e LOCUST_LOCUSTFILE_URL='https://example.com/locustfile.py' \
-e LOCUST_TARGET_HOST='http://example.com' \
--name locust peterevans/locust:latest

Then point your web browser to http://localhost:8089/

Kubernetes Deployment

  1. Create a ConfigMap containing your locustfile.py and its dependencies. The command below creates a ConfigMap containing files placed in the local directory locust-tasks.

    kubectl create configmap locust-configmap --from-file=locust-tasks/
  2. Edit the deployment configuration files and set environment variable LOCUST_TARGET_HOST.

  3. Deploy the master and slave deployments.

    kubectl create -f ./locust-master.yaml
    kubectl create -f ./locust-slave.yaml

License

MIT License - see the LICENSE file for details

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].