add_user_parameters
Add a User Parameters pre-processor to assign each thread a unique set of variable values, cycled by thread number; optionally re-apply values per iteration.
Instructions
Add a User Parameters pre-processor under a Thread Group, assigning each thread a different set of variable values (cycled by thread number), set once at thread start unless perIteration is true. Different from add_user_defined_variables, which sets the same values for every thread.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"planId": "<planId>",
"parentId": "<parentId>",
"variableNames": "<variableNames>",
"valueSets": "<valueSets>"
},
"name": "add_user_parameters"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | User Parameters | |
| planId | Yes | ||
| parentId | Yes | ||
| valueSets | Yes | One array per thread/user slot; each inner array must have exactly one value per variableNames entry, in order | |
| perIteration | No | Re-apply values every loop iteration instead of once at thread start | |
| variableNames | Yes |