load-testing - Load test Databricks Apps for maximum QPS
Creates and runs Locust load tests for Databricks Apps, measures QPS and latency, and generates dashboards with optional MLflow validation.
Tags
Updated: 2026-10-02Capabilities
What this skill does
- Create load test scripts
- Configure Locust ramp tests
- Test app endpoints
- Track streaming TTFT
- Measure QPS and latency
- Generate HTML dashboards
- Validate results with MLflow
Inputs
- Databricks App URLs
- Databricks workspace URL
- OAuth client ID
- OAuth client secret
- Compute sizes
- Worker configurations
- Maximum users
- Ramp step size
- Ramp step duration
- Run name
- Mocking preference
Outputs
- Load testing scripts
- Test result files
- Interactive HTML dashboard
- QPS measurements
- Latency measurements
- TTFT measurements
- Failure rates
- MLflow validation results
Requirements
- Databricks App exposing POST /invocations
- MLflow AgentServer streaming contract
- Python >=3.10
- Locust >=2.32 and <2.40
- uv
- Databricks authentication
- M2M OAuth for long tests
- MLflow >=3.0 for trace validation
