Updated on 2025-04-25 GMT+08:00

Fault Injection

Fault injection allows you to inject faults into the system to check whether the system can tolerate and recover from faults. You can inject delay or specific errors to perform fault tests.

Take delay error injection as an example. Configure the YAML file as follows:

route:
    - destination:
        host: forecast
        subset: v2
    fault:
      delay:
        percentage:
          value: 1.5
        fixedDelay: 10s

You can configure the parameters based on the site requirements.