litmus/proposals/locust-load-test.md

2.2 KiB

title authors creation-date last-updated
Adding a New Chaos Fault - Load Testing with locust @kwx4957 2024-11-21 2024-11-21

Adding a New Chaos Fault - Load Testing with locust

Summary

locust is an open-source load testing. LitmuChaos already supports k6 load testing, but only for the JavaScript language. On the other hand, locust supports writing scripts for Python code, giving users a wider choice.

Motivation

Locust is a load testing tool that supports Python code. It supports various protocols (HTTP, GRPC) and plugins. Having a wide range of choices when it comes to choosing a load test will help users a lot.

Goals

Non-Goals

Proposal

Use Cases

Detail the things that people will be able to do if this is implemented.

Use case 1

Implementation Details

This is a Locust Chaos Fault Scenario.

locust-fault-scenario

  1. Add scenario to the litmus-go repository
  2. Add a new Chaos Fault to the Litmus ChaosHub

Risks and Mitigations

We need to grant proper RBAC permissions to the runner container. Granting override permissions may affect other systems.

Upgrade / Downgrade Strategy

Drawbacks

Alternatives

References