<!-- https://qasignoff.com/docs/core-features/runner/ -->
# Collection Runner

* **Platform Availability:** Windows App · VS Code Extension
* **Overview:** Run a whole collection or selected folders, watch the results, and export a report. You can also repeat a run for each row of a CSV or JSON file.

## Run a collection

1. Select the environment you want in the top bar, then switch to **Runner**.
2. Choose a collection. Keep **All**, or use **Select folders** to run only part of it.
3. Click **Review**.

![Choose a collection and folders to run](/docs/assets/screenshots/app/runner-select.webp)

4. In the execution plan, clear the checkbox for any request you want to skip.
5. Set the run options, then click **Run** or press **Ctrl+Enter**.

![Execution plan and run options](/docs/assets/screenshots/app/runner-plan.webp)

Options include iterations, delay, timeout, **Stop on first failure** and **Retry failed requests**. Click **Config** if the options are hidden. You can pause, resume, stop or restart a run.

## Read the results

The report opens when the run finishes. **Export HTML** and **Export PDF** both include every request in the run.

![Run report: 8 requests and 34 checks passed](/docs/assets/screenshots/app/runner-report.webp)

| Tab | Shows |
|-----|-------|
| Dashboard | Progress, pass and fail counts, and response times |
| Report | The full report, ready to export |
| Results | One line per request, or per request and data row |
| Inspector | Request and response details |

![Runner dashboard after all 8 requests passed](/docs/assets/screenshots/app/runner-dashboard.webp)

The **Reports** tab at the bottom can also save JSON, JUnit and CSV files. PDF export on Windows doesn't need a separate browser. VS Code and the command line use Edge or Chrome. If one doesn't produce a PDF, the next installed browser is tried. Set `SIGNOFF_CHROME_PATH` to use one specific browser.

## Repeat a run with a data file

1. Open **Config**.
2. Under **Test Data**, choose a CSV or JSON file.
3. Check the row count, then run the collection.

For example, this file runs the collection three times:

```text
city,team
Lima,platform
London,payments
Austin,search
```

Use the column names as variables, such as `{{city}}` and `{{team}}`.

![Data file with three rows attached to a run](/docs/assets/screenshots/app/runner-data-file.webp)

Each result shows its row number and values, so a failure in one row can't be hidden by another. The report and the HTML and PDF exports also show every row.

![Results labelled with their data row: 24 passed](/docs/assets/screenshots/app/runner-data-rows.webp)

- Runs with a data file are always sequential.
- If a file has an error, the message gives the line, column and reason. **Run** stays off until you attach a valid file.
- Files with no data rows can't be run.

## Control the order from scripts

Scripts can call `pm.execution.setNextRequest` and `pm.execution.skipRequest`. In Bruno scripts, `bru.runner.stopExecution()` ends the whole run. See [Tests & scripts](/docs/core-features/tests-scripts/).

## More in Runner

- **Load:** run a local load test. See [Load testing](/docs/core-features/load-testing/).
- **Monitors:** schedule collection runs. Schedules only run while SignOff Studio is open. See [Monitors & scheduler](/docs/core-features/monitors-scheduler/).
- **Start mock:** run a local mock of the collection. See [OpenAPI mocks](/docs/core-features/mocks-openapi/).
- **Keyboard shortcuts:** press **?** in Runner, or see [Shortcuts](/docs/shortcuts/).

![Runner keyboard shortcuts](/docs/assets/screenshots/app/runner-shortcuts.webp)

## Run from the command line

The command below uses the source package. See [MCP & CLI](/docs/core-features/mcp-and-cli/) for every option.

```bash
npm run runner -- run \
  -c ./signoff-studio-starter.signoff.json \
  -e ./signoff-studio-starter.httpbingo.signoff.env.json \
  --reporters json,html,junit \
  -o ./reports \
  --bail
```

| Exit code | Meaning |
|-----------|---------|
| `0` | Everything passed |
| `1` | A request or check failed |
| `2` | The run couldn't start because of its options or files, or the PDF couldn't be created |

JUnit reports list each failed check with its expected and actual values.

## Next

- [Tests & scripts](/docs/core-features/tests-scripts/)
- [Load testing](/docs/core-features/load-testing/)
- [Monitors & scheduler](/docs/core-features/monitors-scheduler/)
