Scenario File Format
Scenarios are defined in YAML format with a structured schema.
Basic Structure
yaml
name: "Scenario Name"
target: "ws://csms-host:port/path"
chargers:
count: 10
id_prefix: "CP"
model: "Model-X" # Optional
vendor: "VendorName" # Optional
client_cert: "/path/to/cert" # Optional (mTLS)
client_key: "/path/to/key" # Optional (mTLS)
root_ca: "/path/to/ca" # Optional (custom CA)
steps:
- action: bootNotification
- action: sleep
duration_ms: 1000
# ... more stepsTop-Level Fields
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Yes | Human-readable scenario name |
| target | string | Yes | WebSocket URL to CSMS (supports ws:// and wss://) |
| chargers | object | Yes | Configuration for virtual charge point fleet |
| steps | array | No | Sequence of actions to execute (defaults to empty) |
Related Topics
Was this page helpful?