Category | YAML script field | PTS API field |
chain | accessId | The ID of the protocol. |
beginStep | Specifies the initial number of virtual users on the session in the virtual user mode and the initial requests per second (RPS) on the API in the RPS mode. |
checkPoints | The checkpoints. |
endStep | Specifies the maximum number of virtual users on the session in the virtual user mode and the maximum RPS on the API in the RPS mode. |
headers | The HTTP header settings. |
method | The request method. Valid values: GET, POST, PUT, and DELETE. |
postActions | Post-testing actions: |
body | The request body. This field is available only for the POST or PUT method. contentType: the type. value: the body content.
|
preActions | Pre-texting actions: |
protocol | The protocol type. Default: http. |
redirectCountLimit | Specifies whether to redirect the requests. A value of 0 indicates that the requests are not redirected. A value of 10 indicates that the requests are redirected. |
timeoutInMilliSeconds | The timeout period. Unit: milliseconds. |
condition | defaultAction | The default action. Valid values: |
actions | The added condition. |
dam | type | The rendezvous point type. |
target | The load level. |
datalnit | definitions | The key-value pair structure, corresponding to custom parameters. |
references | The referenced file parameters. column: the name of the column. fileKey: the index of the file. FileName: the name of the file. useOnce: specifies whether to use the file parameters once. asBase: specifies whether to use the column as the base column. accessMethod: the access method. index: the index of the column.
|
dataDefine | definitions | The key-value pair structure. |
dataStore | dataSize | The data export level. |
dataConfig | The data export setting. type: The type. COOKIE: the cookie type. FILE: the file parameter type. PARAM: the output parameter type. INSTRUCTION: the data command type.
params: the parameters.
|
delay | duration | The delayed amount of time. Unit: milliseconds. |
ifBegin | ifEndNodeId | The ID of the end node of the condition-based command. |
operator | The operator. |
param | The expression. |
value | The comparison value. |
ifEnd | ifBeginNodeId | The ID of the start node of the condition-based command. |
repeatBegin | repeatEndNodeId | The ID of the end node of the looping command. |
repeatEnd | repeatBeginNodeId | The ID of the start node of the looping command. |
repeatCount | The repeated number of times. |
wait | type | FIXED: a constant value for the delay. NORMAL: a uniform distribution for the delay. UNIFORM: a normal distribution for the delay.
|
base | Specifies the constant delay value if type is set to FIXED, the baseline delay if type is set to NORMAL, and the average or mean delay if type is set to UNIFORM. |
scope | The field is irrelevant if type is set to FIXED, the variable range around the base if type is set to NORMAL, and the variance if type is set to UNIFORM. |