diff --git a/public/screenshots/send-request/rest/custom-http-methods.webp b/public/screenshots/send-request/rest/custom-http-methods.webp new file mode 100644 index 00000000..b1558b48 Binary files /dev/null and b/public/screenshots/send-request/rest/custom-http-methods.webp differ diff --git a/src/pages/bru-cli/commandOptions.mdx b/src/pages/bru-cli/commandOptions.mdx index 0c561215..1cdba667 100644 --- a/src/pages/bru-cli/commandOptions.mdx +++ b/src/pages/bru-cli/commandOptions.mdx @@ -47,6 +47,8 @@ bru run -h | `--bail` | Stop execution after a failure of a request, test, or assertion | | `--tags [string]` | Only run requests that have ALL of the specified tags (comma-separated) | | `--exclude-tags [string]` | Skip requests that have ANY of the specified tags (comma-separated) | +| `--parallel` | Run requests in parallel order | +| `--show-progress` | Display progress during collection execution | ### SSL & Security options diff --git a/src/pages/bru-cli/runCollection.mdx b/src/pages/bru-cli/runCollection.mdx index 41110a9b..77646053 100644 --- a/src/pages/bru-cli/runCollection.mdx +++ b/src/pages/bru-cli/runCollection.mdx @@ -144,3 +144,31 @@ You can combine include and exclude filters: ```bash copy bru run --tags=smoke,sanity --exclude-tags=skip,draft ``` + +## Parallel Execution and Progress Tracking + +Bruno CLI supports running requests in parallel and displaying real-time progress during collection execution. + +### Parallel Execution + +By default, Bruno CLI runs requests sequentially. You can enable parallel execution using the `--parallel` flag: + +```bash copy +bru run --iteration-count 2 --parallel +``` + + +### Progress Display + +To see real-time progress during collection execution, use the `--show-progress` flag: + +```bash copy +bru run --show-progress +``` + +This displays a formatted table showing: +- Request status (running, completed, failed) +- Response times +- Test results +- Overall progress + diff --git a/src/pages/send-requests/REST/rest-api.mdx b/src/pages/send-requests/REST/rest-api.mdx index 123f248c..21dd0d17 100644 --- a/src/pages/send-requests/REST/rest-api.mdx +++ b/src/pages/send-requests/REST/rest-api.mdx @@ -21,3 +21,16 @@ Once you create the new request, you can execute it by clicking the arrow button In Bruno, the **GET** method is set as the default HTTP method for new requests. However, you can select other HTTP methods (such as **POST**, **PUT**, **DELETE**, etc.) based on your API requirements to send data. ![various-http-method](/screenshots/send-request/rest/various-http-method.webp) + +## Custom HTTP Methods + +Bruno supports custom HTTP methods beyond the standard ones (GET, POST, PUT, DELETE, etc.). This is useful for APIs that use non-standard methods like Vault's LIST method or other custom protocols. + +### Adding a Custom HTTP Method + +1. **Expand the HTTP method dropdown** in the request pane +2. Click **"Add Custom"** from the dropdown options +3. **Type your custom method name** in the input field (e.g., `LIST`, `PATCH`, `SEARCH`) + +![custom-http-method](/screenshots/send-request/rest/custom-http-methods.webp) +