Replay Configuration
Customize how the replay is performed.
Speedscale's load generator relies upon a basic set of config items to determine how it will behave at runtime. You can get a list of these configs by running speedctl testconfig list and downloading a single one with a command like speedctl testconfig get standard .

Example Config

1
{
2
"id": "standard",
3
"asserters": [
4
{
5
"type": "http_statuscode"
6
},
7
{
8
"type": "http_headers"
9
},
10
{
11
"type": "http_response_cookies"
12
},
13
{
14
"type": "http_response_body"
15
}
16
],
17
"chaos": {},
18
"generator": {
19
"numReplicas": 1
20
},
21
"rules": [
22
{
23
"metricName": "passAssertPct",
24
"type": "TOO_LOW",
25
"value": 100,
26
"action": "ALERT"
27
}
28
]
29
}
30
Copied!

Configuration

Key
Description
id
Name of the configuration
asserters
List of the types of asserts that will be performed
chaos
Rules for how chaos can be configured for mock services
generator
Customization of how the generator will replay the snapshot
rules
List of rules for determining a successful replay

Last modified 7mo ago
Export as PDF
Copy link