Supported protocols
vegaload protocols prints this list. vegaload protocols NAME prints one
protocol, including its options. vegaload protocols -output json prints the
same data as JSON. Example paths are relative to a checkout of this repository.
A released binary does not include the examples folder.
- Scenarios.
vegaload new my-scenarioscaffoldsmy-scenario.vl.js(JavaScript by default;-pythonfor a.pyscenario shelling out to a localpython3). - Check a scenario.
validateruns the scenario once, with one user and one iteration, and says whether it works. - Data files. A scenario can read rows from a file and settings from the environment, so each virtual user can act on different data.
- Start from a browser recording. Record a real session in your browser (the network tab can save it as a HAR file), then turn it into a scenario:
- Thresholds. Add
-thresholdto make a run pass or fail on its own numbers, for example in CI: - Compare runs. After another run with
-out candidate.json: - Explain a run. Keep a run's JSON summary alongside its HTML report with
-out:
| Protocol | Since | URL schemes | Example |
|---|---|---|---|
| http1 | 0.1.0 | http, https | crud-flow.vl.js |
| http2 | 0.1.0 | https | crud-flow.vl.js |
| grpc | 0.1.0 | grpc, grpcs | (none yet) |
| websocket | 0.1.0 | ws, wss | http-ws-chain.vl.js |
| mqtt | 0.6.0 | mqtt, mqtts | mqtt-tcp.vl.js |
| kafka | 0.6.0 | kafka, kafkas | kafka-orders.vl.js |
| postgres | 0.7.0 | postgres, postgresql | postgres-orders.vl.js |
| mysql | 0.7.0 | mariadb, mysql | mysql-orders.vl.js |
| redis | 0.7.0 | redis, rediss | redis-cache.vl.js |
| rabbitmq | 0.7.0 | amqp, amqps | rabbitmq-orders.vl.js |
| ftp | 0.7.0 | ftp, ftps | ftp-transfer.vl.js |
| sftp | 0.9.0 | sftp | sftp-transfer.vl.js |
| tcp | 0.6.0 | tcp | (none yet) |
| udp | 0.6.0 | udp | (none yet) |