Minimalistic distributed load test system
import kotlin.time.Duration.Companion.milliseconds
val MyExecutionPlan = uzi {
repeat(10) {
http {
frequency { normal(mean = 1.seconds, deviation = 100.milliseconds) }
request {
uri = "https://google.com"
}
}
}
http {
frequency { monothone(every = 500.milliseconds) }
request {
uri = "https://google.com"
}
}
}
Controller evenly distributes work between agents
flowchart TD
controller --> agent-1
controller --> agent-2
controller --> agent-3