We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea49c0f commit f6e1d73Copy full SHA for f6e1d73
content/en/docs/measuring/usage-scenario.md
@@ -327,6 +327,16 @@ flow:
327
328
Here we can leverage the variable functionality to supply different durations without creating new usage scenarios all the time.
329
330
+Beware that it is often very helpful to put the whole command in quotes like this:
331
+
332
+```yml
333
+...
334
+command: "stress-ng -c 1 -t __GMT_VAR_DURATION__ -q"
335
336
+```
337
338
+The reason being that when your variable contains *YAML* control characters like a *:* you might get into parsing errors.
339
340
A run where we want the variable to be *1* as example can be started like this:
341
```bash
342
$ python3 runner.py --uri PATH_TO_SCENARIO --variables "__GMT_VAR_DURATION__=1"
0 commit comments