import_traffic
Import HAR, OpenAPI, or Postman files into a normalized Flow for JMeter scripting. Auto-detects format by extension or content and returns flow JSON with request count.
Instructions
Import HAR, OpenAPI, or Postman traffic into a normalised Flow.
Use at the start of scripting. kind=auto detects by extension/content. Returns flow JSON plus request_count. Response headers/bodies are omitted unless include_response_detail=true.
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": {
"source_path": "<source_path>"
},
"name": "import_traffic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | auto | |
| base_url | No | ||
| source_path | Yes | ||
| include_static | No | ||
| include_response_detail | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||