add_http_sampler
Add an HTTP request sampler to a JMeter test plan under a specified parent, setting method, domain, path, protocol, port, and raw JSON body.
Instructions
Add an HTTP Request sampler under the given parent node (usually a Thread Group).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| path | Yes | Request path, e.g. /v1/users | |
| port | No | ||
| domain | Yes | Host name, e.g. api.example.com | |
| method | Yes | ||
| planId | Yes | ||
| bodyJson | No | Raw JSON request body, if any | |
| parentId | Yes | ||
| protocol | No | https |