add_csv_data_config
Add CSV Data Set Config to a JMeter .jmx file for data-driven testing, allowing you to specify CSV file, variable names, delimiter, sharing mode, and recycling options.
Instructions
Add a CSV Data Set Config for data-driven testing
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": {
"testfile": "<testfile>",
"filename": "<filename>",
"variableNames": "<variableNames>"
},
"name": "add_csv_data_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional name | |
| recycle | No | Recycle data at end | |
| filename | Yes | Path to the CSV file | |
| testfile | Yes | Path to the .jmx file | |
| delimiter | No | Field delimiter | , |
| stopThread | No | Stop thread at end of file | |
| sharingMode | No | How data is shared between threads | shareMode.all |
| variableNames | Yes | Comma-separated variable names (e.g., 'username,password') | |
| ignoreFirstLine | No | Skip header row |