CPULoad
Run a CPU-Load test on the DUT. The DUT needs sudo and stress-ng. It also needs turbostat when expect is set, and taskset when cpus is set without args.
| Attribute | Type | Required | Default | Description |
|---|---|---|---|---|
cmd | const | Yes | cpuload | Command Name |
name | string | Yes | Name to uniquely identify the teststep. This name will show up in reports, logs and the WebUI | |
transport | TransportObject | No | Additional transport options | |
options | OptionsObject | No | Additional command options | |
parameters | CPULoadOptions | No | parameters | cpuload Options |
CPULoad Options
| Attribute | Type | Required | Default | Description |
|---|---|---|---|---|
args | []string | Yes | Array of strings with arguments passed into the cpuload tool. | |
cpus | []integer | Yes | Array of CPUs that should be put under load. | |
duration | string | Yes | Duration of the load. Format: ^((\\d+h)?(\\d+m)?(\\d+s)?)?$ | |
expect | CPUExpectOptions | Yes | Expected values |