Generate test dataset
generate_test_datasetCreates a JSON or CSV iteration-data file with positive, negative, and boundary-value test cases for a Postman or Newman collection, so you can run data-driven tests.
Instructions
Generates a --iteration-data file (.json or .csv) with positive, negative, and boundary-value cases.
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": {
"collectionSource": "<collectionSource>",
"outputPath": "<outputPath>"
},
"name": "generate_test_dataset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| overwrite | No | Allow replacing an existing file | |
| outputPath | Yes | Output path (must end in .json or .csv) | |
| scenarioCount | No | Number of rows | |
| targetItemName | No | Item to parameterize (if omitted, use all variables, max. 15) | |
| collectionSource | Yes | Collection (path, https URL, or Postman UID) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | ||
| format | Yes | ||
| columns | Yes | ||
| outputPath | Yes |