Link Search Menu Expand Document Documentation Menu

test_procedures element

A test procedure is a single benchmarking scenario. Each test procedure wraps a schedule and adds properties such as a name and description. Use the test_procedures element when a workload defines multiple scenarios. When a workload defines only one scenario, specify schedule at the top level of workload.json instead and omit test_procedures.

A test procedure can reference all operations defined in the operations element. Each test procedure supports the following parameters.

Parameter Required Type Description
name Yes String The name of the test procedure. When naming the test procedure, do not use spaces; this ensures that the name can be easily entered on the command line.
description No String Describes the test procedure in a human-readable format.
user-info No String Outputs a message at the start of the test to notify you about important test-related information, for example, deprecations.
default No Boolean When set to true, selects the default test procedure if you did not specify a test procedure on the command line. If the workload only defines one test procedure, it is implicitly selected as the default. Otherwise, you must define "default": true on exactly one challenge.
schedule Yes Array Defines the order in which workload tasks are run.
350 characters left

Have a question? .

Want to contribute? or .