> ## Documentation Index
> Fetch the complete documentation index at: https://docs.finventi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Testing

> The test environment and practices shared by every report.

Each report has its own testing guide with the scenarios to run. This page covers what they all share.

## Test environment

Use the development server for all testing:

```
https://api.rrc.dev.finventi.com
```

All calls need a bearer token. See the [authentication guide](/regulatory/rrc/authentication).

<Note>
  Once you complete the scenarios for your report, contact us to proceed with production deployment.
</Note>

## Best practices

<CardGroup cols={3}>
  <Card title="Handle partial success" icon="circle-half-stroke">
    On `HTTP 207`, check each item in the response array. The records that passed are saved; push only the failed ones again.
  </Card>

  <Card title="Retry safely" icon="rotate-right">
    Send an `Idempotency-Key` header on batch pushes. Retrying with the same key returns the original response instead of duplicating records.
  </Card>

  <Card title="Validate before sending" icon="check">
    Validate your data locally first. It reduces failed submissions and speeds up processing.
  </Card>
</CardGroup>

## Testing guides

<CardGroup cols={3}>
  <Card title="MMR-SASK" icon="https://mintcdn.com/inventi/rSfBaeOnB2AXkmJx/images/lt-flag.svg?fit=max&auto=format&n=rSfBaeOnB2AXkmJx&q=85&s=5cdf00a2be2c4c566470e0fe710318a6" href="/regulatory/rrc/mmr-sask/testing-guide" width="64" height="48" data-path="images/lt-flag.svg">
    Accounts, representatives, and beneficiaries
  </Card>

  <Card title="CESOP" icon="https://mintcdn.com/inventi/rSfBaeOnB2AXkmJx/images/eu-flag.svg?fit=max&auto=format&n=rSfBaeOnB2AXkmJx&q=85&s=b01917baac67111597e95e46583a34a8" href="/regulatory/rrc/cesop/testing-guide" width="64" height="48" data-path="images/eu-flag.svg">
    Payees and payments for a quarter
  </Card>

  <Card title="CRS" icon="https://mintcdn.com/inventi/rSfBaeOnB2AXkmJx/images/globe.svg?fit=max&auto=format&n=rSfBaeOnB2AXkmJx&q=85&s=d4731c9c0aa7bb395e5aca60a567d9da" href="/regulatory/rrc/crs/testing-guide" width="64" height="48" data-path="images/globe.svg">
    Reportable accounts for a year
  </Card>
</CardGroup>
