saveAs.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
url | string | Yes | Request URL. |
method | string | No | HTTP method. Defaults to GET. |
headers | Record<string, string> | No | Request headers. |
params | Record<string, string> | No | Query parameters. |
body | string | No | Request body. |
bodyType | string | No | Body encoding (e.g. JSON, form). |
timeout | number | No | Request timeout in milliseconds. |
saveAs | string | No | Variable to store this step’s return value on env.<name>. |
retries | number | No | Times to retry the step on failure before failing the test. |
skipped | boolean | No | Skip this step at execution time. |